[all-commits] [llvm/llvm-project] acb4ff: [NFC] Fix GCC warning on enum/non-enum ternary tha...
Erich Keane via All-commits
all-commits at lists.llvm.org
Mon Jul 7 06:59:59 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: acb4fff866f95762b53560bcf7b3a3667e7a41fd
https://github.com/llvm/llvm-project/commit/acb4fff866f95762b53560bcf7b3a3667e7a41fd
Author: erichkeane <ekeane at nvidia.com>
Date: 2025-07-07 (Mon, 07 Jul 2025)
Changed paths:
M clang/include/clang/Sema/Scope.h
Log Message:
-----------
[NFC] Fix GCC warning on enum/non-enum ternary thanks to 438863a0
On the above patch (https://github.com/llvm/llvm-project/commit/438863a09e2d907c36c4114228ef1eeee130e16b#commitcomment-161519239)
it was brought up that the commit 'caused' a GCC warning. The Hueristic
for the GCC warning is a little strange, but the fix is easy enough, so
this patch should fix it by making sure both sides of the ternary are
the same type.
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