Merge pull request #40832 from etcwilde/ewilde/async-top-level

A first pass at concurrency in top-level code
This commit is contained in:
Evan Wilde
2022-01-21 13:24:51 -08:00
committed by GitHub
11 changed files with 130 additions and 40 deletions

View File

@@ -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;
}