[PATCH] D132831: [clang][Interp] Handle SubstNonTypeTemplateParmExprs

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 29 09:15:11 PDT 2022


tbaeder added inline comments.


================
Comment at: clang/lib/AST/Interp/ByteCodeExprGen.cpp:273
+    const SubstNonTypeTemplateParmExpr *E) {
+  return this->visit(E->getReplacement());
+}
----------------
erichkeane wrote:
> Is there nothing special that has to happen when these are reference parameters?  Can you at least add a test for that?
Umm, I don't really do references yet (I haven't tested them at all and I don't think they are implemented).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132831



More information about the cfe-commits mailing list