[clang] [Clang] Improve EmitClangAttrSpellingListIndex (PR #114899)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 5 06:17:04 PST 2024
================
@@ -153,12 +153,35 @@ std::string AttributeCommonInfo::getNormalizedFullName() const {
normalizeName(getAttrName(), getScopeName(), getSyntax()));
}
+const std::map<StringRef, AttributeCommonInfo::Scope> ScopeMap = {
----------------
erichkeane wrote:
use `llvm::StringMap`? Worst case, probably should/could use `std::unordered_map`.
https://github.com/llvm/llvm-project/pull/114899
More information about the cfe-commits
mailing list