Author: Thomas Köppe Date: 2024-03-29T09:11:05+01:00 New Revision: aa04f12fa9f086f62f81841f159085723c255245
URL: https://github.com/llvm/llvm-project/commit/aa04f12fa9f086f62f81841f159085723c255245 DIFF: https://github.com/llvm/llvm-project/commit/aa04f12fa9f086f62f81841f159085723c255245.diff LOG: Add missing declarations of explicit template instantiations. (#86964) Found with -Wundefined-func-template. Added: Modified: clang/lib/AST/Interp/ByteCodeStmtGen.h Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/ByteCodeStmtGen.h b/clang/lib/AST/Interp/ByteCodeStmtGen.h index ab7a591fb798ee..d7e6e5042c2740 100644 --- a/clang/lib/AST/Interp/ByteCodeStmtGen.h +++ b/clang/lib/AST/Interp/ByteCodeStmtGen.h @@ -82,6 +82,7 @@ class ByteCodeStmtGen final : public ByteCodeExprGen<Emitter> { OptLabelTy DefaultLabel; }; +extern template class ByteCodeStmtGen<ByteCodeEmitter>; extern template class ByteCodeExprGen<EvalEmitter>; } // namespace interp _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits