================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits