[PATCH] D106093: SubstTemplateTypeParmType can contain an 'auto' type in their replacement type
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 16 05:13:54 PDT 2021
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM aside from a style nit, thanks for the fix!
================
Comment at: clang/lib/AST/Type.cpp:1804
// Only these types can contain the desired 'auto' type.
+ Type *VisitSubstTemplateTypeParmType(SubstTemplateTypeParmType const *T) {
+ return Visit(T->getReplacementType());
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106093/new/
https://reviews.llvm.org/D106093
More information about the cfe-commits
mailing list