Skip to content

Commit aa04f12

Browse files
authored
Add missing declarations of explicit template instantiations. (#86964)
Found with -Wundefined-func-template.
1 parent aeab2bb commit aa04f12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/AST/Interp/ByteCodeStmtGen.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class ByteCodeStmtGen final : public ByteCodeExprGen<Emitter> {
8282
OptLabelTy DefaultLabel;
8383
};
8484

85+
extern template class ByteCodeStmtGen<ByteCodeEmitter>;
8586
extern template class ByteCodeExprGen<EvalEmitter>;
8687

8788
} // namespace interp

0 commit comments

Comments
 (0)