Add Tooling functionality to get a name for a QualType that can be used to name
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 9 Feb 2016 21:04:04 +0000 (21:04 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 9 Feb 2016 21:04:04 +0000 (21:04 +0000)
commit0dd191a5c4bf27cc8a2b6033436b00f0cbdc4ce7
tree8f518b9e048582602ebaf3fc03867cfdab3aa6c4
parent85b927f7f6177ac27b4f7a82c4b0051a6ec57703
Add Tooling functionality to get a name for a QualType that can be used to name
that type from the global scope.

Patch by Sterling Augustine, derived (with permission) from code from Cling by
Vassil Vassilev and Philippe Canal.

llvm-svn: 260278
clang/include/clang/Tooling/Core/QualTypeNames.h [new file with mode: 0644]
clang/lib/Tooling/Core/CMakeLists.txt
clang/lib/Tooling/Core/QualTypeNames.cpp [new file with mode: 0644]
clang/unittests/Tooling/CMakeLists.txt
clang/unittests/Tooling/QualTypeNamesTest.cpp [new file with mode: 0644]