]> granicus.if.org Git - clang/commit
Teach APValue printer to print boolean 0 and 1 as 'false' and 'true'. Fix up
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 23 Mar 2012 23:55:39 +0000 (23:55 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 23 Mar 2012 23:55:39 +0000 (23:55 +0000)
commitf602806965531ee06fd8664b9d7a8912c4af2870
tree66b36e40cf4f0571cd120ee1e6e9061677cc60b4
parente78ec3e8f7324e36ac9cf2268d5fe32997762940
Teach APValue printer to print boolean 0 and 1 as 'false' and 'true'. Fix up
some calling code to actually pass in a non-null type, to avoid a crash.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153358 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Overload.h
lib/AST/APValue.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/constexpr-printing.cpp