[clang] [Clang][docs] Modify generator for HLSL semantics documentation (PR #157841)
Nathan Gauër via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 10 09:21:27 PDT 2025
================
@@ -5209,6 +5209,14 @@ class SpellingList {
Other.Spellings[Kind].end());
}
}
+
+ unsigned getSpellingCount() const {
+ unsigned Count = 0;
----------------
Keenuts wrote:
Still kept a loop as we have a C-array of vectors, so no proper iterators.
Might be able to use llvm's range with raw pointers, but a loop should be fine.
Changed to `hasSpelling` as suggested still 😊
https://github.com/llvm/llvm-project/pull/157841
More information about the cfe-commits
mailing list