aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2023-01-15 03:37:09 +0000
committerMichael Buch <michaelbuch12@gmail.com>2023-01-27 02:24:33 +0000
commit3d7dcec5db2f86bd8b9142d180716725a8fc0b0f (patch)
treef9f45b09b96e8c4b988bd85e58f37df82a1aa786 /llvm/lib/CodeGen/StackProtector.cpp
parent8b4279b66fc2f535184642b739b573ead1733711 (diff)
downloadllvm-3d7dcec5db2f86bd8b9142d180716725a8fc0b0f.zip
llvm-3d7dcec5db2f86bd8b9142d180716725a8fc0b0f.tar.gz
llvm-3d7dcec5db2f86bd8b9142d180716725a8fc0b0f.tar.bz2
[clang][TypePrinter] Test TemplateArgument::IsDefaulted when omitting default arguments
**Summary** This patch allows clients who can't properly construct a `ClassTemplateDecl` to still benefit from the `clang::TypePrinter`s ability to skip printing defaulted template arguments. The clients simply have to call `TemplateArgument::setIsDefaulted` in advance. See discussion in https://reviews.llvm.org/D140423 Differential Revision: https://reviews.llvm.org/D141827
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions