Go to file
Alexander Kornienko c3acd2e9c0 [clang-tidy] Catch trivially true statements like a != 1 || a != 3
Catch trivially true statements of the form a != 1 || a != 3. Statements like
these are likely errors. They are particularly easy to miss when handling enums:

enum State {
RUNNING,
STOPPED,
STARTING,
ENDING
}

...
if (state != RUNNING || state != STARTING)
...

Patch by Blaise Watson!

Differential revision: https://reviews.llvm.org/D29858

llvm-svn: 298607
2017-03-23 15:13:54 +00:00
clang Publish RAIIObjectsForParser.h for external usage. 2017-03-23 15:11:07 +00:00
clang-tools-extra [clang-tidy] Catch trivially true statements like a != 1 || a != 3 2017-03-23 15:13:54 +00:00
compiler-rt Use lld-link /nopdb to suppress PDB generation when DWARF is required 2017-03-22 19:49:29 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx [libcxx] Improve code generation for vector::clear(). 2017-03-23 14:39:23 +00:00
libcxxabi Fully Reformat fallback_malloc.cpp 2017-03-04 03:23:15 +00:00
libunwind DarwinParser: include limits 2017-03-14 15:17:55 +00:00
lld [ELF] Print two more MIPS targets "supported" by LLD 2017-03-23 12:17:32 +00:00
lldb Fix warnings from clang build on macOS. 2017-03-23 09:52:26 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [SDAG] Fix zeroExtend assertion error 2017-03-23 15:01:50 +00:00
openmp GOMP compatibility: add missing OpenMP4.0 task deps handling code 2017-03-23 15:03:17 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Update to isl-0.18-402-ga30c537 2017-03-23 13:38:24 +00:00