mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #40832 from etcwilde/ewilde/async-top-level
A first pass at concurrency in top-level code
This commit is contained in:
@@ -2015,6 +2015,9 @@ public:
|
||||
SourceLoc getStartLoc() const;
|
||||
SourceRange getSourceRange() const;
|
||||
|
||||
LLVM_READONLY
|
||||
ASTContext &getASTContext() const { return DeclContext::getASTContext(); }
|
||||
|
||||
static bool classof(const Decl *D) {
|
||||
return D->getKind() == DeclKind::TopLevelCode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user