summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
diff options
context:
space:
mode:
authorZinovy Nis <zinovy.nis@gmail.com>2018-05-22 17:24:28 +0000
committerZinovy Nis <zinovy.nis@gmail.com>2018-05-22 17:24:28 +0000
commit9bfe932c541cdbe8978f399e79ec95bb61e94f71 (patch)
tree5bce27df82899cc575af169fd9a60c6ccadf1493 /llvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
parent65a91288fcbf128538bd1bd227de5f8bb29784b5 (diff)
downloadbcm5719-llvm-9bfe932c541cdbe8978f399e79ec95bb61e94f71.tar.gz
bcm5719-llvm-9bfe932c541cdbe8978f399e79ec95bb61e94f71.zip
[clang-tidy] SimplifyBoolenExpr doesn't add parens if unary negotiation is of ExprWithCleanups type
bool foo(A &S) { if (S != (A)S) return false; return true; } is fixed into (w/o this patch) ... return !S != (A)S; // negotiation affects first operand only } instead of (with this patch) ... return S == (A)S; // note == instead of != } Differential Revision: https://reviews.llvm.org/D47122 llvm-svn: 333003
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud