[cfe-dev] [libclang] Get type fully-qualified spelling

Victor Kuznetsov via cfe-dev cfe-dev at lists.llvm.org
Mon Jul 5 12:04:02 PDT 2021


Hi,

Fully-qualified spelling of a type can be obtained via
clang::TypeName::getFullyQualifiedName() (
https://github.com/llvm/llvm-project/blob/5db826e4ce63a4d45a4695e5486841d08b86cd24/clang/lib/AST/QualTypeNames.cpp#L471),
but it does not seem to be exposed via libclang API.

Is there a way to do this via libclang API that I'm missing?
And if not, is it ok to expand it?
I've got a patch ready that will add a new API function.

-- 
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210705/56f60570/attachment.html>


More information about the cfe-dev mailing list