[PATCH] D36610: [Tooling] Add option to getFullyQualifiedName using a custom PritingPolicy
Mikhail Ramalho via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 11 05:55:36 PDT 2017
mikhail.ramalho created this revision.
Herald added a subscriber: klimek.
In our user case, we need to generate unique names for every tag, including anonymous structs/unions.
This adds a custom PrintingPolicy option to getFullyQualifiedName and the test case shows that different names are generated for different anonymous unions/structs.
https://reviews.llvm.org/D36610
Files:
include/clang/Tooling/Core/QualTypeNames.h
lib/Tooling/Core/QualTypeNames.cpp
unittests/Tooling/QualTypeNamesTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36610.110701.patch
Type: text/x-patch
Size: 4461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170811/7aa70c40/attachment.bin>
More information about the cfe-commits
mailing list