mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Macros] Miscellaneous build fixes for macros.
This commit is contained in:
@@ -1217,6 +1217,7 @@ static Optional<AccessLevel> inferAccessSyntactically(const ValueDecl *D) {
|
||||
return AccessLevel::Private;
|
||||
case DeclContextKind::Module:
|
||||
case DeclContextKind::FileUnit:
|
||||
case DeclContextKind::MacroDecl:
|
||||
return AccessLevel::Internal;
|
||||
case DeclContextKind::GenericTypeDecl: {
|
||||
auto generic = cast<GenericTypeDecl>(DC);
|
||||
|
||||
Reference in New Issue
Block a user