Skip to content

Commit

Permalink
[clang][Interp][NFC] Make a local function static
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Jul 26, 2023
1 parent efa43d7 commit d913aa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clang/lib/AST/Interp/InterpBuiltin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
namespace clang {
namespace interp {

template <typename T> T getParam(const InterpFrame *Frame, unsigned Index) {
template <typename T>
static T getParam(const InterpFrame *Frame, unsigned Index) {
unsigned Offset = Frame->getFunction()->getParamOffset(Index);
return Frame->getParam<T>(Offset);
}
Expand Down

0 comments on commit d913aa6

Please sign in to comment.