[cfe-dev] Link between clang::FunctionType and clang::FunctionDecl

Sebastian Redl sebastian.redl at getdesigned.at
Sun Jun 2 05:01:40 PDT 2013


On 02.06.2013, at 13:39, Vassil Vassilev wrote:

> Hi,
>  Maybe a silly question, but why I cannot get the FunctionDecl for a given FunctionType?

Because

void f();
void g();
void h();

all have the same FunctionType. Which decl do you want?





More information about the cfe-dev mailing list