[cfe-dev] HOWTO: use a CXCursor referring a Typedef

Stefan Seefeld seefeld at sympatico.ca
Tue Jan 25 06:00:24 PST 2011


On 2011-01-24 20:23, Douglas Gregor wrote:
>
> CXType doesn't fully expose the Clang type system, although it could. 
> I'd support the addition of APIs to extract more information from CXTypes.

The attached patch adds two new functions clang_isConstQualifiedType and 
clang_isVolatileQualifiedType. It works fine in the context I tried it in.
How does that look ?

Thanks,
         Stefan


-- 

       ...ich hab' noch einen Koffer in Berlin...

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110125/0868cbb4/attachment.ksh>


More information about the cfe-dev mailing list