diff options
author | Corentin Jabot <corentinjabot@gmail.com> | 2023-05-08 12:18:43 +0200 |
---|---|---|
committer | Corentin Jabot <corentinjabot@gmail.com> | 2023-06-07 20:45:36 +0200 |
commit | 467688527017efb611b09c0cbf92f2d3ecdd1724 (patch) | |
tree | 17431b11e4a5d89809ac2819549c077c73a5c5d3 /clang/lib/Sema/ScopeInfo.cpp | |
parent | dd72b81334bb155e6e3511311f9137550aff915e (diff) | |
download | llvm-467688527017efb611b09c0cbf92f2d3ecdd1724.zip llvm-467688527017efb611b09c0cbf92f2d3ecdd1724.tar.gz llvm-467688527017efb611b09c0cbf92f2d3ecdd1724.tar.bz2 |
[clang] Implement P2564 "consteval must propagate up"
Reviewed By: aaron.ballman, #clang-language-wg
Differential Revision: https://reviews.llvm.org/D151094
Diffstat (limited to 'clang/lib/Sema/ScopeInfo.cpp')
-rw-r--r-- | clang/lib/Sema/ScopeInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/ScopeInfo.cpp b/clang/lib/Sema/ScopeInfo.cpp index e313052..92ce513 100644 --- a/clang/lib/Sema/ScopeInfo.cpp +++ b/clang/lib/Sema/ScopeInfo.cpp @@ -39,6 +39,7 @@ void FunctionScopeInfo::Clear() { FirstReturnLoc = SourceLocation(); FirstCXXOrObjCTryLoc = SourceLocation(); FirstSEHTryLoc = SourceLocation(); + FoundImmediateEscalatingExpression = false; // Coroutine state FirstCoroutineStmtLoc = SourceLocation(); |