]> granicus.if.org Git - clang/commit
Extend -Wtautological-undefined-compare and -Wundefined-bool-conversion to
authorRichard Trieu <rtrieu@google.com>
Sat, 28 Jun 2014 23:25:37 +0000 (23:25 +0000)
committerRichard Trieu <rtrieu@google.com>
Sat, 28 Jun 2014 23:25:37 +0000 (23:25 +0000)
commit00fb59690f98ef46666c640db5f7cd79ea4f5178
tree25364008dcef78c909306e660833012e127fd959
parent8a905545a533f4fd355c3b3768fb07f287ae1072
Extend -Wtautological-undefined-compare and -Wundefined-bool-conversion to
trigger on taking the address of a reference that is returned from a function
call.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211989 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaChecking.cpp
test/SemaCXX/warn-tautological-undefined-compare.cpp
test/SemaCXX/warn-undefined-bool-conversion.cpp