mitigated -Wunused-function Clang warnings with code added by matchcompiler#7810
mitigated -Wunused-function Clang warnings with code added by matchcompiler#7810firewave merged 1 commit intodanmar:mainfrom
-Wunused-function Clang warnings with code added by matchcompiler#7810Conversation
firewave
commented
Sep 9, 2025
…compiler
```
/home/user/CLionProjects/cppcheck/cmake-build-relwithdebinfo-clang/lib/build/mc_checkinternal.cpp:7:20: warning: unused function 'match1' [-Wunused-function]
7 | static inline bool match1(const Token* tok) {
| ^~~~~~
```
|
|
Using |
so we are damned if we use it and damned if we don't.. it's not preferable to use it then is it? |
Not at all since I went for the standards attribute. So if we ever switch to C++17 we can just enable this unconditionally - and use the |


