summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-12 16:49:45 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-12 16:49:45 +0000
commit6051c8d344cc15d41bcabb49862d1bb3b92c2934 (patch)
treeda31f4f4e55fa24f98354ef7658d8d7c632b6121 /clang/lib/CodeGen/CodeGenModule.cpp
parenta70ad93f8a487fded82f334c34604b71a8dcff2d (diff)
downloadbcm5719-llvm-6051c8d344cc15d41bcabb49862d1bb3b92c2934.tar.gz
bcm5719-llvm-6051c8d344cc15d41bcabb49862d1bb3b92c2934.zip
Give CanQual<T> an implicit conversion to bool, so that it can be used
in "if" statements like: if (CanQual<ReferenceType> RefType = T.getAs<ReferenceType>()) Thanks to Clang for pointing out this mistake :) llvm-svn: 86995
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud