[PATCH] D140423: [WIP][clang] Add PrintingPolicy callback for identifying default template arguments
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 13 14:26:58 PST 2023
dblaikie added a comment.
In D140423#4052540 <https://reviews.llvm.org/D140423#4052540>, @erichkeane wrote:
> A Class template instantiation SHOULD have its link back to the class template, and should be able to calculate whether the template argument is defaulted, right?
For a normal/clang-built AST, yes. But as mentioned in this review description, for LLDB, DWARF doesn't encode enough information to make the class template properly. So it only knows if a given class template specialization's argument is defaulted.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140423/new/
https://reviews.llvm.org/D140423
More information about the cfe-commits
mailing list