[all-commits] [llvm/llvm-project] 59a5c1: [clang][Sema] Diagnose exceptions only in non-depe...
Rajveer Singh Bharadwaj via All-commits
all-commits at lists.llvm.org
Wed May 28 07:11:17 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 59a5c1f25f578bb1a4951a4610b4e683ee94a870
https://github.com/llvm/llvm-project/commit/59a5c1f25f578bb1a4951a4610b4e683ee94a870
Author: Rajveer Singh Bharadwaj <rajveer.developer at icloud.com>
Date: 2025-05-28 (Wed, 28 May 2025)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaStmt.cpp
M clang/lib/Sema/TreeTransform.h
M clang/test/SemaCXX/no-exceptions.cpp
Log Message:
-----------
[clang][Sema] Diagnose exceptions only in non-dependent context in discarded `try/catch/throw` blocks (#139859)
Resolves #138939
When enabling `--fno-exceptions` flag, discarded statements containing
`try/catch/throw` in an independent context can be avoided from being
rejected.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list