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