[cfe-dev] Qualifiers of a function (was: SourceLocation of FunctionDecl)

Jan Bierbaum s3306700 at inf.tu-dresden.de
Fri Nov 5 05:49:12 PDT 2010


Hi!


Nimrod Partush meinte am 03.11.2010 10:24:
> When asking for the qualifiers of:
> 
> const int f();
> 
> I get null. Am i doing something wrong?

Well, you don't say how you do it... ;-)

Probably you're making the same mistake I did some time ago. What you
want is not the qualifiers of the function (it has none) but those of
its return type.


Regards, Jan.




More information about the cfe-dev mailing list