diff options
author | Timm Baeder <tbaeder@redhat.com> | 2025-07-28 15:57:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-28 15:57:49 +0200 |
commit | 904de95e713b09fa0ba86c53bf62a195e5036c00 (patch) | |
tree | 8618ab3577794597096296bc4cedfcb0fa381a16 /clang/lib/AST/ByteCode/Interp.cpp | |
parent | 01d4b8e9a6aea5decfac07a81b40b7db29e8bd8f (diff) | |
download | llvm-904de95e713b09fa0ba86c53bf62a195e5036c00.zip llvm-904de95e713b09fa0ba86c53bf62a195e5036c00.tar.gz llvm-904de95e713b09fa0ba86c53bf62a195e5036c00.tar.bz2 |
[clang][bytecode][NFC] Fix a few clang-tidy complaints (#150940)
Diffstat (limited to 'clang/lib/AST/ByteCode/Interp.cpp')
-rw-r--r-- | clang/lib/AST/ByteCode/Interp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ByteCode/Interp.cpp b/clang/lib/AST/ByteCode/Interp.cpp index 5463aec..224d65c 100644 --- a/clang/lib/AST/ByteCode/Interp.cpp +++ b/clang/lib/AST/ByteCode/Interp.cpp @@ -845,7 +845,7 @@ bool CheckInit(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { return true; } -bool CheckCallable(InterpState &S, CodePtr OpPC, const Function *F) { +static bool CheckCallable(InterpState &S, CodePtr OpPC, const Function *F) { if (F->isVirtual() && !S.getLangOpts().CPlusPlus20) { const SourceLocation &Loc = S.Current->getLocation(OpPC); |