diff options
author | Alan Zhao <ayzhao@google.com> | 2023-01-04 14:54:55 -0800 |
---|---|---|
committer | Alan Zhao <ayzhao@google.com> | 2023-01-04 15:09:36 -0800 |
commit | 4e02ff2303f8a69cc2459b77bbb879b248df6ca9 (patch) | |
tree | 9079c5c43a22c4c1fb4a6c52ac8a198cfe7c0f45 /clang/lib/Sema/SemaExceptionSpec.cpp | |
parent | 45f347270caffafe48146c6c7ed8301d91e492ad (diff) | |
download | llvm-4e02ff2303f8a69cc2459b77bbb879b248df6ca9.zip llvm-4e02ff2303f8a69cc2459b77bbb879b248df6ca9.tar.gz llvm-4e02ff2303f8a69cc2459b77bbb879b248df6ca9.tar.bz2 |
[clang] Revert parentesized aggregate initalization patches
This feature causes clang to crash when compiling Chrome - see
https://crbug.com/1405031 and
https://github.com/llvm/llvm-project/issues/59675
Revert "[clang] Fix a clang crash on invalid code in C++20 mode."
This reverts commit 32d7aae04fdb58e65a952f281ff2f2c3f396d98f.
Revert "[clang] Remove overly restrictive aggregate paren init logic"
This reverts commit c77a91bb7ba793ec3a6a5da3743ed55056291658.
Revert "[clang][C++20] P0960R3 and P1975R0: Allow initializing aggregates from a parenthesized list of values"
This reverts commit 40c52159d3ee337dbed14e4c73b5616ea354c337.
Diffstat (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExceptionSpec.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp index 1786f31..75ec180 100644 --- a/clang/lib/Sema/SemaExceptionSpec.cpp +++ b/clang/lib/Sema/SemaExceptionSpec.cpp @@ -1289,7 +1289,6 @@ CanThrowResult Sema::canThrow(const Stmt *S) { case Expr::StmtExprClass: case Expr::ConvertVectorExprClass: case Expr::VAArgExprClass: - case Expr::CXXParenListInitExprClass: return canSubStmtsThrow(*this, S); case Expr::CompoundLiteralExprClass: |