[PATCH] D132831: [clang][Interp] Handle SubstNonTypeTemplateParmExprs
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 29 09:00:32 PDT 2022
erichkeane added inline comments.
================
Comment at: clang/lib/AST/Interp/ByteCodeExprGen.cpp:273
+ const SubstNonTypeTemplateParmExpr *E) {
+ return this->visit(E->getReplacement());
+}
----------------
Is there nothing special that has to happen when these are reference parameters? Can you at least add a test for that?
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