[PATCH] D131858: [clang] Track the templated entity in type substitution.

David Rector via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 7 21:03:07 PDT 2022


davrec added inline comments.


================
Comment at: clang/include/clang/AST/Type.h:5000
+
+  const TemplateTypeParmDecl *getReplacedParameter() const;
+
----------------
Another question worth raising: is it acceptable churn to change the return of `getReplacedParameter()` from a `TemplateTypeParmType` to a `TemplateTypeParmDecl`?  I have no opinion, but maybe others want to weigh in.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131858/new/

https://reviews.llvm.org/D131858



More information about the cfe-commits mailing list