summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Köppe <tkoeppe@google.com>2024-03-29 08:11:05 +0000
committerGitHub <noreply@github.com>2024-03-29 09:11:05 +0100
commitaa04f12fa9f086f62f81841f159085723c255245 (patch)
treecdc5a09256e7c82fe383339735301c9b62199544
parentaeab2bb55e0a4d5f0f13e238e8a2fb9030c48b6f (diff)
Add missing declarations of explicit template instantiations. (#86964)
Found with -Wundefined-func-template.
-rw-r--r--clang/lib/AST/Interp/ByteCodeStmtGen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/Interp/ByteCodeStmtGen.h b/clang/lib/AST/Interp/ByteCodeStmtGen.h
index ab7a591fb798..d7e6e5042c27 100644
--- a/clang/lib/AST/Interp/ByteCodeStmtGen.h
+++ b/clang/lib/AST/Interp/ByteCodeStmtGen.h
@@ -82,6 +82,7 @@ private:
OptLabelTy DefaultLabel;
};
+extern template class ByteCodeStmtGen<ByteCodeEmitter>;
extern template class ByteCodeExprGen<EvalEmitter>;
} // namespace interp