Skip to content

Commit df231fd

Browse files
committed
add missing undef in metaprogramming
1 parent a744664 commit df231fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/AST/ASTContext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ llvm::StringRef swift::getProtocolName(KnownProtocolKind kind) {
100100
#include "swift/AST/KnownProtocols.def"
101101
}
102102
llvm_unreachable("bad KnownProtocolKind");
103+
#undef PROTOCOL_WITH_NAME
103104
}
104105

105106
namespace {

0 commit comments

Comments
 (0)