[clang] [Clang] Unify interface for accessing template arguments as written for class/variable template specializations (PR #81642)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 13 12:18:24 PST 2024
================
@@ -2596,23 +2582,24 @@ class VarTemplateSpecializationDecl : public VarDecl,
llvm::PointerUnion<VarTemplateDecl *, SpecializedPartialSpecialization *>
SpecializedTemplate;
- /// Further info for explicit template specialization/instantiation.
- struct ExplicitSpecializationInfo {
- /// The type-as-written.
- TypeSourceInfo *TypeAsWritten = nullptr;
+ struct ExplicitInstantiationInfo {
----------------
erichkeane wrote:
This is the 2nd struct here that has the same structure. Should we instead extract this to a 'details' NS and reuse it for all of them?
https://github.com/llvm/llvm-project/pull/81642
More information about the cfe-commits
mailing list