[cfe-dev] libTooling Questions

Philip Craig philipjcraig at gmail.com
Wed Aug 15 14:26:34 PDT 2012


On Thu, Aug 16, 2012 at 6:26 AM, Manuel Klimek <klimek at google.com> wrote:
> On Mon, Aug 13, 2012 at 3:12 AM, Philip Craig <philipjcraig at gmail.com> wrote:
>> On Mon, Aug 13, 2012 at 6:42 AM, Jens Weller <JensWeller at gmx.de> wrote:
>>> Referring to the example:
>>> http://clang.llvm.org/docs/RAVFrontendAction.html
>>>
>>> Lets say I add a nother visiting method, for methoddeclaration.
>>> How to match in the invocation of the methodhandler, which class this one belongs to?
>>> Do I get a fully qualified name (e.g. myclass::foo) or just foo.
>>
>> For the following code, only the second declaration of foo will have
>> the 'A::' NestedNameSpecifier.
>
> I'm not sure what you're referring to here...

I was referring to getQualifier(), but your other reply is a better
answer to the question.



More information about the cfe-dev mailing list