We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 765204d + 0ad799d commit 062aaaaCopy full SHA for 062aaaa
lib/IDE/SourceEntityWalker.cpp
@@ -728,7 +728,7 @@ bool SemaAnnotator::handleCustomAttributes(Decl *D) {
728
729
ModuleDecl *MD = D->getModuleContext();
730
for (auto *customAttr :
731
- D->getSemanticAttrs().getAttributes<CustomAttr, true>()) {
+ D->getExpandedAttrs().getAttributes<CustomAttr, true>()) {
732
SourceFile *SF =
733
MD->getSourceFileContainingLocation(customAttr->getLocation());
734
ASTNode expansion = SF ? SF->getMacroExpansion() : nullptr;
0 commit comments