[cfe-dev] How to detect call expressions in macro declaration
YuvalShahar
yuval.shahar.007 at gmail.com
Tue Nov 12 00:36:17 PST 2013
Hello everyone,
I'm using RecursiveASTVisitor to traverse call expressions.
Is there a way to differentiate between calls inside a macro declaration and
other calls?
for example, in the following code I would like to know when I'm in
some_function() and when I'm in MACRO_CALL
void some_function();
#define MACRO_CALL some_function()
void main() {
some_function();
MACRO_CALL;
}
Thank you
--
View this message in context: http://clang-developers.42468.n3.nabble.com/How-to-detect-call-expressions-in-macro-declaration-tp4035948.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev
mailing list