[clang] [Clang] Improve EmitClangAttrSpellingListIndex (PR #114899)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 7 08:12:57 PST 2024
================
@@ -153,12 +155,33 @@ std::string AttributeCommonInfo::getNormalizedFullName() const {
normalizeName(getAttrName(), getScopeName(), getSyntax()));
}
+const llvm::StringMap<AttributeCommonInfo::Scope> ScopeMap = {
----------------
arsenm wrote:
Avoid static constructor? Just make this a sorted list and use lower_bound or one of the other search functions?
https://github.com/llvm/llvm-project/pull/114899
More information about the cfe-commits
mailing list