Landing: 2b21250729a3

Project / Subsystem

gcc / gccrs

Date

2026-08-14

Author

Owen Avery

Commit

2b21250729a38ffec3b21c6082921b89eee88d64

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
2b21250729a38ffec3b21c6082921b89eee88d64
source_type
github
headline
gccrs: Improve AST::LlvmInlineAsm handling
tldr
gccrs refactors AST handling for LLVM inline assembly.
author
Owen Avery
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • compiler
  • • AST
  • • LLVM
discussion_id_link
—
bugzilla_pr
—
date
2026-08-14T00:00:00.000Z

This commit refactors the Abstract Syntax Tree (AST) representation for LLVM inline assembly in gccrs. It simplifies AST::LlvmInlineAsm to store a single template string and adjusts related visitor functions and parsing logic accordingly. This change improves the accuracy of token collection and ensures proper handling of outer attributes.