[clang] [HLSL] Rewrite semantics parsing (PR #152537)
Chris B via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 8 10:41:08 PDT 2025
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/152537 at github.com>
================
@@ -3054,6 +3057,9 @@ static void emitAttributes(const RecordKeeper &Records, raw_ostream &OS,
<< (R.getValueAsBit("InheritEvenIfAlreadyPresent") ? "true"
: "false");
}
+ if (HLSLSemantic) {
+ OS << ", " << (R.getValueAsBit("SemanticIndexable") ? "true" : "false");
+ }
----------------
llvm-beanz wrote:
```suggestion
if (HLSLSemantic)
OS << ", " << (R.getValueAsBit("SemanticIndexable") ? "true" : "false");
```
https://github.com/llvm/llvm-project/pull/152537
More information about the cfe-commits
mailing list