<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Feb 18, 2015 at 12:14 PM, victor <span dir="ltr"><<a href="mailto:pedretti_86@hotmail.com" target="_blank">pedretti_86@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hi,<br><br>I want to know if a method is marked as "<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionProtoType.html#ab97e6e11a5b6f6c33126e091d09d570e" target="_blank">hasNoexceptExceptionSpec</a>" in FunctionProtoType. To that end, I was trying to call getFunctionType() on the method, but:<br><br>"error: no member named '<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html#af10c59874fe7dd00793fc4722c449d86" target="_blank">getFunctionType</a>' in 'clang::CXXMethodDecl' "<br><br>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"?</div></div></blockquote><div><br></div><div>MD->getType()->castAs<FunctionProtoType>()->isNothrow(Ctx)</div></div></div></div>