[cfe-dev] getFunctionType in CXXMethodDecl

victor pedretti_86 at hotmail.com
Wed Feb 18 12:14:03 PST 2015


Hi,

I want to know if a method is marked as "hasNoexceptExceptionSpec" in FunctionProtoType. To that end, I was trying to call getFunctionType() on the method, but:

"error: no member named 'getFunctionType' in 'clang::CXXMethodDecl' "

I'm using clang 3.4, is this method missing in this version? Is there another simpler way to know if a function is "noexcept"?

Regards.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150218/b87f9121/attachment.html>


More information about the cfe-dev mailing list