Skip to content
Commit 6051c8d3 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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
parent a70ad93f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment