Let's assume I have a DeclRefExpr that is referenceing some variable that
is declared as "static const int var;". How can I determine the variable is
static? There is no isStaticLocal() or getStorageClass() call as there
would be for the VarDecl. Is there something within the QualType that gets
me that info?

Many thanks,
Robert
_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to