]> granicus.if.org Git - clang/commit
Conversions to bool count as integer conversions for the purposes of
authorJeffrey Yasskin <jyasskin@google.com>
Fri, 12 Aug 2011 20:56:43 +0000 (20:56 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Fri, 12 Aug 2011 20:56:43 +0000 (20:56 +0000)
commit6d0ee8d77b6d37fa0dec1d55aa13429a6608e7a9
tree50fd1d447fbf2b14a4dcc63066942e391bad55fa
parent3a02b44e3948f7762dbfba94b7961281ca29d022
Conversions to bool count as integer conversions for the purposes of
the C++0x narrowing error.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137512 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.list/p7-0x.cpp