diff options
Diffstat (limited to 'include/clang/Sema/ScopeInfo.h')
| -rw-r--r-- | include/clang/Sema/ScopeInfo.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Sema/ScopeInfo.h b/include/clang/Sema/ScopeInfo.h index 4487c7c2ccb6..4251fa649a82 100644 --- a/include/clang/Sema/ScopeInfo.h +++ b/include/clang/Sema/ScopeInfo.h @@ -388,6 +388,8 @@ public:            (HasBranchProtectedScope && HasBranchIntoScope));    } +  bool isCoroutine() const { return !FirstCoroutineStmtLoc.isInvalid(); } +    void setFirstCoroutineStmt(SourceLocation Loc, StringRef Keyword) {      assert(FirstCoroutineStmtLoc.isInvalid() &&                     "first coroutine statement location already set");  | 
