diff options
author | Harald van Dijk <harald.vandijk@codeplay.com> | 2025-09-24 14:23:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-24 14:23:39 +0100 |
commit | d2ac21d328a4233567de079278b7f8af497101a1 (patch) | |
tree | 1368ccbb93b9e3769ee6bd89b373c1b2a18b1aa7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 077a796c0da6c32d5d43af9945b4c2728f43633f (diff) | |
download | llvm-d2ac21d328a4233567de079278b7f8af497101a1.zip llvm-d2ac21d328a4233567de079278b7f8af497101a1.tar.gz llvm-d2ac21d328a4233567de079278b7f8af497101a1.tar.bz2 |
[RecursiveASTVisitor] Assert we skip implicit instantiations. (#110899)
In DEF_TRAVERSE_TMPL_SPEC_DECL, we attempt to skip implicit
instantiations by detecting that D->getTemplateArgsAsWritten() returns
nullptr. Previously, this was not reliable. To ensure we do not regress,
add an assertion and a test.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions