[cfe-dev] clang::MangleContext::shouldMangleDeclName
John McCall
rjmccall at apple.com
Wed Oct 24 14:07:12 PDT 2012
On Oct 24, 2012, at 2:03 PM, John McCall wrote:
> On Oct 24, 2012, at 2:20 AM, Vassil Vassilev wrote:
>> shouldMangleDeclName returns true for decls like EnumConstantDecl.
>> Is that expected behaviour? Am I missing something?
>
> It doesn't really return anything meaningful for declarations that
> obviously aren't mangled.
To clarify, that query is only meaningful for declarations that can be
directly referenced as global symbols. It's not meaningful for, say,
enum constants or classes or using declarations.
John.
More information about the cfe-dev
mailing list