aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/ScopeInfo.cpp
diff options
context:
space:
mode:
authorCorentin Jabot <corentinjabot@gmail.com>2023-05-08 12:18:43 +0200
committerCorentin Jabot <corentinjabot@gmail.com>2023-06-07 20:45:36 +0200
commit467688527017efb611b09c0cbf92f2d3ecdd1724 (patch)
tree17431b11e4a5d89809ac2819549c077c73a5c5d3 /clang/lib/Sema/ScopeInfo.cpp
parentdd72b81334bb155e6e3511311f9137550aff915e (diff)
downloadllvm-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.cpp1
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();