[PATCH] D134453: Disambiguate type names when printing NTTP types
Nenad Mikša via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 19 05:33:01 PDT 2022
DoDoENT updated this revision to Diff 468881.
DoDoENT retitled this revision from "Introduce the `AlwaysIncludeTypeForNonTypeTemplateArgument` into printing policy" to "Disambiguate type names when printing NTTP types".
DoDoENT edited the summary of this revision.
DoDoENT added a comment.
Implemented changes requested in the review:
- type name of NTTP is now always printed, as C++ requires
- keep full NTTP type printing behind a policy, for those that want/need that
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134453/new/
https://reviews.llvm.org/D134453
Files:
clang/include/clang/AST/PrettyPrinter.h
clang/lib/AST/APValue.cpp
clang/lib/AST/TemplateBase.cpp
clang/test/CodeGenCXX/debug-info-template.cpp
clang/test/SemaCXX/cxx2a-nttp-printing.cpp
clang/test/SemaTemplate/temp_arg_nontype_cxx20.cpp
clang/test/SemaTemplate/temp_arg_string_printing.cpp
clang/unittests/AST/TypePrinterTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134453.468881.patch
Type: text/x-patch
Size: 18963 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221019/fde14158/attachment-0001.bin>
More information about the cfe-commits
mailing list