Skip to content

Commit 7ee426d

Browse files
committed
Merge remote-tracking branch 'origin/main' into rebranch
2 parents 72a3501 + 062aaaa commit 7ee426d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IDE/SourceEntityWalker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ bool SemaAnnotator::handleCustomAttributes(Decl *D) {
728728

729729
ModuleDecl *MD = D->getModuleContext();
730730
for (auto *customAttr :
731-
D->getSemanticAttrs().getAttributes<CustomAttr, true>()) {
731+
D->getExpandedAttrs().getAttributes<CustomAttr, true>()) {
732732
SourceFile *SF =
733733
MD->getSourceFileContainingLocation(customAttr->getLocation());
734734
ASTNode expansion = SF ? SF->getMacroExpansion() : nullptr;

0 commit comments

Comments
 (0)