Skip to content

Commit

Permalink
[clang][Interp] Add a missing template keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Jul 5, 2024
1 parent 5d79110 commit 2f0700a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/AST/Interp/Compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3995,7 +3995,7 @@ bool Compiler<Emitter>::VisitCXXThisExpr(const CXXThisExpr *E) {
}

for (unsigned I = StartIndex, N = InitStack.size(); I != N; ++I) {
if (!InitStack[I].emit<Emitter>(this, E))
if (!InitStack[I].template emit<Emitter>(this, E))
return false;
}
return true;
Expand Down

0 comments on commit 2f0700a

Please sign in to comment.