[cfe-dev] How to check if a Decl is static
Ilya Mirsky
ilya.mirsky at gmail.com
Sat Mar 12 00:49:42 PST 2011
Hi all,
I need to check if a given Decl, and more specifically a FunctionDecl, is
declared static.
Currently I'm manually looking for the static token using
SourceManager::getCharcterData.
Is there more elegant way?
Thanks in advance,
--
Ilya Mirsky
www.cs.bgu.ac.il/~mirskyil <http://www.cs.bgu.ac.il/%7Emirskyil>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110312/d31d8f1e/attachment.html>
More information about the cfe-dev
mailing list