summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCValue.cpp
diff options
context:
space:
mode:
authorGabor Horvath <xazax.hun@gmail.com>2017-12-20 12:22:16 +0000
committerGabor Horvath <xazax.hun@gmail.com>2017-12-20 12:22:16 +0000
commit91c6671a71449fbd51a6f6214bca43aa7ce690c5 (patch)
tree31a7b5170a55ad673e906f2a7b69d2601e541a28 /llvm/lib/MC/MCValue.cpp
parentbf8519b5c9aa2c381b5f4725c21601a99b1b37c2 (diff)
downloadbcm5719-llvm-91c6671a71449fbd51a6f6214bca43aa7ce690c5.tar.gz
bcm5719-llvm-91c6671a71449fbd51a6f6214bca43aa7ce690c5.zip
[clang-tidy] Misc redundant expression checker updated for ineffective bitwise operator expressions
Examples: * Always evaluates to 0: ``` int X; if (0 & X) return; ``` * Always evaluates to ~0: ``` int Y; if (Y | ~0) return; ``` * The symbol is unmodified: ``` int Z; Z &= ~0; ``` Patch by: Lilla Barancsuk! Differential Revision: https://reviews.llvm.org/D39285 llvm-svn: 321168
Diffstat (limited to 'llvm/lib/MC/MCValue.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud