[PATCH] D147844: Emit warning when implicit cast to bool happens in an conditional operator expression when used inside an overloaded shift operator expression
NagaChaitanya Vellanki via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 20 09:50:28 PDT 2023
chaitanyav updated this revision to Diff 515367.
chaitanyav added a comment.
Update SemaCXX tests to use parentheses around conditional operator
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147844/new/
https://reviews.llvm.org/D147844
Files:
clang/docs/ReleaseNotes.rst
clang/lib/Sema/SemaExpr.cpp
clang/test/Sema/integer-overflow.c
clang/test/Sema/parentheses.c
clang/test/Sema/parentheses.cpp
clang/test/SemaCXX/array-bounds.cpp
clang/test/SemaCXX/integer-overflow.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147844.515367.patch
Type: text/x-patch
Size: 7013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230420/e585240c/attachment.bin>
More information about the cfe-commits
mailing list