[cfe-dev] How can I get the SourceLocation?

Rambo hunanlwm at sina.cn
Sun Nov 18 23:29:23 PST 2012

   I want to get the SourceLocation for this example like it:
  for (i = 0; i < 5; i++)
Now I can get the SourceLocation about num[i],How can I get the
SourceLocation about the "printf"?Your response is my expected!

View this message in context: http://clang-developers.42468.n3.nabble.com/How-can-I-get-the-SourceLocation-tp4028351.html
Sent from the Clang Developers mailing list archive at Nabble.com.

More information about the cfe-dev mailing list