[PATCH] D154366: [clang][ExprConstant] Print template arguments when describing stack frame
Takuya Shimizu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 6 10:15:42 PDT 2023
hazohelet added a comment.
`FunctionDecll::getNameForDiagnostic` yields almost the same result and I should use it here.
This function internal avoids printing template args that match the defaults, but it doesn't seem to have other techniques to reduce the size of printing.
Link: https://github.com/llvm/llvm-project/blob/03125e6894f82f9aa6f4e8d8036d0c833dd7d761/clang/lib/AST/TypePrinter.cpp#L2163-L2229
BTW, Line2171-2173 in the link seems to be dead code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154366/new/
https://reviews.llvm.org/D154366
More information about the cfe-commits
mailing list