================ @@ -203,10 +221,47 @@ unsigned AttributeCommonInfo::calculateAttributeSpellingListIndex() const { // attribute spell list index matching code. auto Syntax = static_cast<AttributeCommonInfo::Syntax>(getSyntax()); StringRef ScopeName = normalizeAttrScopeName(getScopeName(), Syntax); - StringRef Name = normalizeAttrName(getAttrName(), ScopeName, Syntax); - + StringRef Name = + normalizeAttrName(getAttrName()->getName(), ScopeName, Syntax); AttributeCommonInfo::Scope ComputedScope = getScopeFromNormalizedScopeName(ScopeName); #include "clang/Sema/AttrSpellingListIndex.inc" } + +#include "clang/Basic/AttributeSpellingList.inc" ---------------- a-tarasyuk wrote:
Thanks for the feedback. I've changed to use _general approach_ https://github.com/llvm/llvm-project/pull/140629 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits