[cfe-commits] r77626 - /cfe/trunk/lib/CodeGen/CGCXX.cpp

Anders Carlsson andersca at mac.com
Thu Jul 30 14:50:17 PDT 2009


30 jul 2009 kl. 14.47 skrev Mike Stump:
>
> +  // FIXME: It isn't just virtual as written, but all virtual  
> functions.
> +  if (MD->isVirtualAsWritten()) {
> +    ErrorUnsupported(CE, "virtual dispatch");
> +  }

You can just use isVirtual here, that will catch both "inherited"  
virtual and written virtual.

Anders
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090730/219b7175/attachment.html>


More information about the cfe-commits mailing list