[cfe-dev] Unique identifier for NamedDecls

Stephen Pegoraro via cfe-dev cfe-dev at lists.llvm.org
Mon Nov 20 20:01:53 PST 2017


Hi there,

I am migrating a libclang based tool to LibTooling and am a bit stumped on
how to uniquely identify a named declaration when traversing the AST. Using
libclang I could use clang_getCursorUSR to obtain the unified symbol but my
digging through the docs for LibTooling so far has only turned up
IdentifierInfo which doesn't give anything unique between function
overloads.

Could someone please point me in the right direction?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20171121/11cbb15b/attachment.html>


More information about the cfe-dev mailing list