File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -2343,20 +2343,11 @@ getStableSelfAccessKind(swift::SelfAccessKind MM) {
2343
2343
2344
2344
static uint8_t getRawStableMacroRole (swift::MacroRole context) {
2345
2345
switch (context) {
2346
- #define CASE (NAME ) \
2347
- case swift::MacroRole::NAME: \
2348
- return static_cast <uint8_t >(serialization::MacroRole::NAME);
2349
- CASE (Expression)
2350
- CASE (Declaration)
2351
- CASE (Accessor)
2352
- CASE (MemberAttribute)
2353
- CASE (Member)
2354
- CASE (Peer)
2355
- CASE (Conformance)
2356
- CASE (CodeItem)
2357
- CASE (Extension)
2346
+ #define MACRO_ROLE (Name, Description ) \
2347
+ case swift::MacroRole::Name: \
2348
+ return static_cast <uint8_t >(serialization::MacroRole::Name);
2349
+ #include " swift/Basic/MacroRoles.def"
2358
2350
}
2359
- #undef CASE
2360
2351
llvm_unreachable (" bad result declaration macro kind" );
2361
2352
}
2362
2353
You can’t perform that action at this time.
0 commit comments