Go to file
Alexander Kornienko 4f74ec0dd8 [clang-tidy] Preserve comments and preprocessor directives when simplifying boolean expressions
This changeset still emits the diagnostic that the expression could be simplified, but it doesn't generate any fix-its that would lose comments or preprocessor directives within the text that would be replaced.

Fixes PR25842

Reviewers: alexfh

Subscribers: xazax.hun, cfe-commits

Patch by Richard Thomson! (+a naming style fix)

Differential Revision: http://reviews.llvm.org/D15737

llvm-svn: 256492
2015-12-28 13:21:22 +00:00
clang Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Checkers 2015-12-28 13:06:58 +00:00
clang-tools-extra [clang-tidy] Preserve comments and preprocessor directives when simplifying boolean expressions 2015-12-28 13:21:22 +00:00
compiler-rt [power] Fix test case target checks 2015-12-24 20:21:36 +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 AMDGPU: Add aliases for all VI targets 2015-12-15 18:37:04 +00:00
libcxx [libcxx] Fix LWG Issue #2367 - Fixing std::tuple and std::pair's default constructors. 2015-12-23 08:20:26 +00:00
libcxxabi Add new tests for throwing incomplete pointer types 2015-12-23 07:04:32 +00:00
libunwind Replace cmake check for printf with a check for fopen. 2015-12-10 00:47:08 +00:00
lld Split Writer::assignAddresses. NFC. 2015-12-26 10:52:26 +00:00
lldb Update LLDB to account for Clang r256463 2015-12-27 07:16:55 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm [X86][AVX512] Lower broadcast sub vector to vector inrtrinsics 2015-12-28 08:26:26 +00:00
openmp test omp_threadprivate_for.c fixed 2015-12-27 18:14:40 +00:00
polly Do not store scalar accesses in InstructionToAccess 2015-12-22 23:25:11 +00:00