llvm-project/clang/test
Richard Trieu 6a6af52ba6 Extend -Wtautological-overlap-compare to more cases.
Previously, -Wtautological-overlap-compare did not warn on cases where the
boolean expression was in an assignment or return statement.  This patch
should cause all boolean statements to be passed to the tautological compare
checks in the CFG analysis.

This is one of the issues from PR13101

llvm-svn: 290920
2017-01-04 00:46:30 +00:00
..
ARCMT [test/objcmt] Add a follow-up test case for r275600. 2016-07-15 20:40:24 +00:00
ASTMerge Fixed layout of test/ASTMerge. 2016-11-16 18:21:00 +00:00
Analysis Fix for PR15623 (corrected r290413 reverted at 290415). The patch eliminates unwanted ProgramState checker data propagation from an operand of the logical operation to operation result. 2016-12-25 00:57:51 +00:00
CXX Revert "DR1391: Check for implicit conversion sequences for non-dependent function template parameters between deduction and substitution. The idea is to accept as many cases as possible, on the basis that substitution failure outside the immediate context is much more common during substitution than during implicit conversion sequence formation." 2017-01-02 11:15:42 +00:00
CodeCompletion Fix heuristics skipping invalid ctor-initializers with C++11 2016-11-03 07:36:17 +00:00
CodeGen Re-add objectsize function/incomplete type checks. 2017-01-03 23:35:19 +00:00
CodeGenCUDA [CUDA] Improve target attribute checking for function templates. 2016-12-07 19:27:16 +00:00
CodeGenCXX DebugInfo: Don't include size/alignment on class declarations 2016-12-27 22:05:35 +00:00
CodeGenCoroutines [coroutines] Add allocation and deallocation substatements. 2016-10-27 16:28:31 +00:00
CodeGenObjC Cleanup the handling of noinline function attributes, -fno-inline, 2016-12-23 01:24:49 +00:00
CodeGenObjCXX Cleanup the handling of noinline function attributes, -fno-inline, 2016-12-23 01:24:49 +00:00
CodeGenOpenCL [OpenCL] Align fake address space map with the SPIR target maps. 2016-12-23 16:11:25 +00:00
Coverage Handle StaticAssertDecl in DeclContextPrinter 2017-01-03 12:16:02 +00:00
CoverageMapping [Coverage] Support for C++17 if initializers 2016-10-14 23:38:16 +00:00
Driver Add -plugin-opt=sample-profile for thinLTO build. 2017-01-04 00:33:23 +00:00
FixIt Make some diagnostic tests C++11 clean. 2016-12-21 18:33:17 +00:00
Format Make clang-format remove duplicate headers when sorting #includes. 2016-08-10 09:32:23 +00:00
Frontend [Frontend] Fix an issue where a quoted search path is incorrectly 2016-12-02 09:51:51 +00:00
Headers Revert "[Headers] Add #include_next for tgmath.h on Darwin" 2016-12-12 23:06:58 +00:00
Import Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
Index [CodeCompletion] Autocomplete NS_DESIGNATED_INITIALIZER in initializers 2017-01-03 11:56:40 +00:00
Integration
Layout
Lexer Add __cpp_structured_bindings feature test macro for structured bindings, per 2016-12-19 04:21:36 +00:00
Misc Revert "DR1391: Check for implicit conversion sequences for non-dependent function template parameters between deduction and substitution. The idea is to accept as many cases as possible, on the basis that substitution failure outside the immediate context is much more common during substitution than during implicit conversion sequence formation." 2017-01-02 11:15:42 +00:00
Modules When producing a name of a partial specialization in a diagnostic, use the 2016-12-24 04:09:05 +00:00
OpenMP [OPENMP] Private, firstprivate, and lastprivate clauses for distribute, host code generation 2017-01-03 18:24:42 +00:00
PCH Cleanup the handling of noinline function attributes, -fno-inline, 2016-12-23 01:24:49 +00:00
Parser Make some diagnostic tests C++11 clean. 2016-12-21 18:33:17 +00:00
Preprocessor ARM: define a macro for the FPv5 FPU in ARM mode. 2016-12-21 20:49:43 +00:00
Profile Make '-disable-llvm-optzns' an alias for '-disable-llvm-passes'. 2016-12-23 00:23:01 +00:00
Rewriter Specify -std=gnu++98 on some Rewriter tests. NFC. 2016-12-09 01:20:40 +00:00
Sema Extend -Wtautological-overlap-compare to more cases. 2017-01-04 00:46:30 +00:00
SemaCUDA [CUDA] Ignore implicit target attributes during function template instantiation. 2016-12-08 19:38:13 +00:00
SemaCXX Revert "DR1391: Check for implicit conversion sequences for non-dependent function template parameters between deduction and substitution. The idea is to accept as many cases as possible, on the basis that substitution failure outside the immediate context is much more common during substitution than during implicit conversion sequence formation." 2017-01-02 11:15:42 +00:00
SemaObjC Fix printf specifier handling: invalid specifier should not be marked as "consuming data arguments" 2016-12-15 18:54:00 +00:00
SemaObjCXX Add fix-it notes to the nullability consistency warning. 2016-12-19 20:58:20 +00:00
SemaOpenCL [OpenCL] Align fake address space map with the SPIR target maps. 2016-12-23 16:11:25 +00:00
SemaTemplate Add testcase for the regression introduced in r290808. 2017-01-02 23:00:32 +00:00
TableGen
Tooling
Unit [test] Extend llvm_shlib_dir fix to unittests 2016-12-15 20:31:08 +00:00
VFS Don't diagnose non-modular includes when we are not compiling a module. 2016-08-26 17:16:46 +00:00
.clang-format
CMakeLists.txt Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg [test] Correctly include build llvm_shlib_dir in stand-alone builds 2016-11-15 12:54:10 +00:00
lit.site.cfg.in XFAIL Driver/darwin-stdlib.cpp if CLANG_DEFAULT_CXX_STDLIB is set 2016-09-29 07:43:08 +00:00
make_test_dirs.pl