Skip to content

Commit 49b42b4

Browse files
committed
Handle indexing of macros
1 parent 76e0d5e commit 49b42b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/SourceKit/lib/SwiftLang/SwiftLangSupport.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@ UIdent SwiftLangSupport::getUIDForSymbol(SymbolInfo sym, bool isRef) {
672672
SIMPLE_CASE(Protocol)
673673
SIMPLE_CASE(Constructor)
674674
SIMPLE_CASE(Destructor)
675+
SIMPLE_CASE(Macro)
675676

676677
case SymbolKind::EnumConstant:
677678
return UID_FOR(EnumElement);

0 commit comments

Comments
 (0)