[all-commits] [llvm/llvm-project] b608b2: [Clang] [Sema] Ensure noexcept(typeid(E)) checks i...
Mital Ashok via All-commits
all-commits at lists.llvm.org
Thu Jun 20 06:43:35 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b608b223ab152bb84c8f28a4a1184f9033c99560
https://github.com/llvm/llvm-project/commit/b608b223ab152bb84c8f28a4a1184f9033c99560
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/test/SemaCXX/cxx0x-noexcept-expression.cpp
Log Message:
-----------
[Clang] [Sema] Ensure noexcept(typeid(E)) checks if E throws when needed (#95846)
3ad31e12ccfc7db25f3cbedc4ee966e7099ac78f changed it so that not all
potentially-evaluated `typeid`s were marked as potentially-throwing, but
I forgot to check the subexpression if the null check of the `typeid`
didn't potentially-throw. This adds that check.
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