Skip to content

Commit

Permalink
Add missing declarations of explicit template instantiations. (#86964)
Browse files Browse the repository at this point in the history
Found with -Wundefined-func-template.
  • Loading branch information
tkoeppe committed Mar 29, 2024
1 parent aeab2bb commit aa04f12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/AST/Interp/ByteCodeStmtGen.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class ByteCodeStmtGen final : public ByteCodeExprGen<Emitter> {
OptLabelTy DefaultLabel;
};

extern template class ByteCodeStmtGen<ByteCodeEmitter>;
extern template class ByteCodeExprGen<EvalEmitter>;

} // namespace interp
Expand Down

0 comments on commit aa04f12

Please sign in to comment.