diff options
author | Alexander Kornienko <alexfh@google.com> | 2015-12-28 13:21:22 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2015-12-28 13:21:22 +0000 |
commit | 4f74ec0dd8828aa80130a2c709239607f6316b8c (patch) | |
tree | 0bc25b1616cf6637fffd132bc11b41442c6fd943 /clang/lib/CodeGen/CGStmtOpenMP.cpp | |
parent | 9c10490efe30ed75d52810c26e83189a96c04926 (diff) | |
download | bcm5719-llvm-4f74ec0dd8828aa80130a2c709239607f6316b8c.tar.gz bcm5719-llvm-4f74ec0dd8828aa80130a2c709239607f6316b8c.zip |
[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
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions