-
Notifications
You must be signed in to change notification settings - Fork 1
/
.cppcheck
32 lines (27 loc) · 1.62 KB
/
.cppcheck
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// The performance impact is irrelevant where deliberately used, but it affects readability
passedByValue
// cppcheck can't find the headers, but it's whatever since GCC checks macros anyway
unknownMacro:Runtime/luajit_repl.c
// Debug functions left in on purpose
unusedFunction:Runtime/LuaVirtualMachine.cpp
// Callback-based interface (hooks that will be called by RML)
unusedFunction:Runtime/Bindings/FFI/RmlUi_Renderer_WebGPU.cpp
// FFI exports used from Lua, which cppcheck can't see
unusedStructMember:Runtime/Bindings/FFI/cpp/cpp_exports.hpp
unusedStructMember:Runtime/Bindings/FFI/crypto/crypto_exports.hpp
unusedStructMember:Runtime/Bindings/FFI/glfw/glfw_exports.hpp
unusedStructMember:Runtime/Bindings/FFI/iconv/iconv_exports.hpp
unusedStructMember:Runtime/Bindings/FFI/interop/interop_exports.hpp
unusedStructMember:Runtime/Bindings/FFI/labsound/labsound_exports.hpp
unusedStructMember:Runtime/Bindings/FFI/rml/rml_exports.hpp
unusedStructMember:Runtime/Bindings/FFI/runtime/runtime_exports.hpp
unusedStructMember:Runtime/Bindings/FFI/stbi/stbi_exports.hpp
unusedStructMember:Runtime/Bindings/FFI/stduuid/stduuid_exports.hpp
unusedStructMember:Runtime/Bindings/FFI/uws/uws_exports.hpp
unusedStructMember:Runtime/Bindings/FFI/wgpu/wgpu_exports.hpp
// PerSocketData is actually used, but cppcheck can't see it
unusedStructMember:Runtime/Bindings/FFI/WebServer.hpp
// The internal types are used by miniz, of course...
unusedStructMember:Runtime/Bindings/lminiz.hpp
// Let's just hope we don't have to descent into the depths of Objective C hell ever again
cstyleCast:Runtime/Bindings/FFI/webview/webview_mac.hpp