[PATCH] D66046: Add new tautological compare warning for bitwise-or with a non-zero constant
Richard Trieu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 18 17:57:08 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8b0d14a8f0cc: New tautological warning for bitwise-or with non-zero constant always true. (authored by rtrieu).
Herald added a project: clang.
Changed prior to commit:
https://reviews.llvm.org/D66046?vs=214733&id=225726#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66046/new/
https://reviews.llvm.org/D66046
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Analysis/CFG.h
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Analysis/CFG.cpp
clang/lib/Sema/AnalysisBasedWarnings.cpp
clang/test/Sema/warn-bitwise-compare.c
clang/test/SemaCXX/warn-bitwise-compare.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66046.225726.patch
Type: text/x-patch
Size: 10323 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191019/5fb398e0/attachment-0001.bin>
More information about the cfe-commits
mailing list