[PATCH] D29944: libclang: Print namespaces for typedefs and type aliases
Michael via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 14 08:11:57 PST 2017
redm123 created this revision.
Printing typedefs or type aliases using clang_getTypeSpelling() is missing the namespace they are defined in. This is in contrast to other types that always yield the full typename including namespaces.
https://reviews.llvm.org/D29944
Files:
lib/AST/TypePrinter.cpp
test/CXX/basic/basic.lookup/basic.lookup.qual/class.qual/p2.cpp
test/CXX/drs/dr2xx.cpp
test/CXX/drs/dr5xx.cpp
test/Index/annotate-nested-name-specifier.cpp
test/Index/file-refs.cpp
test/Index/print-type.cpp
test/Index/recursive-cxx-member-calls.cpp
test/Layout/ms-x86-basic-layout.cpp
test/Misc/diag-template-diffing.cpp
test/SemaCXX/attr-noreturn.cpp
test/SemaCXX/calling-conv-compat.cpp
test/SemaCXX/coroutines.cpp
test/SemaCXX/cxx0x-initializer-aggregates.cpp
test/SemaCXX/cxx1y-contextual-conversion-tweaks.cpp
test/SemaCXX/enum-scoped.cpp
test/SemaCXX/nested-name-spec.cpp
test/SemaCXX/pseudo-destructors.cpp
test/SemaObjCXX/arc-templates.mm
test/SemaTemplate/member-access-ambig.cpp
test/SemaTemplate/typename-specifier.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29944.88376.patch
Type: text/x-patch
Size: 62605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170214/f8f702e0/attachment-0001.bin>
More information about the cfe-commits
mailing list