summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2015-08-19 21:33:54 +0000
committerRichard Trieu <rtrieu@google.com>2015-08-19 21:33:54 +0000
commit1cd076eb34980ae49cf11e5d2c21363269b8a117 (patch)
tree74c6ba7bb43d3624bf4f2029ddb0ca6f1a228806 /clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp
parent9e5927fdc3a91e2916fc6012a7abe69b894b7a4f (diff)
downloadbcm5719-llvm-1cd076eb34980ae49cf11e5d2c21363269b8a117.tar.gz
bcm5719-llvm-1cd076eb34980ae49cf11e5d2c21363269b8a117.zip
Fix -Wlogical-not-parentheses to work better with C code.
Remove the assumption of a Boolean type by checking if an expression is known to have a boolean value. Disable warning in two other tests. llvm-svn: 245507
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/modernize-use-nullptr-basic.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud