News for hackers. Stuff that matters.
Re:C++ Is the Next C++ by ephimetheus on Thursday November 03, 2022 @02:32AM (#33447773)
Running this on header-heavy or header-only code is still an unsolved problem however.
Re:C++ Is the Next C++ by account42 on Thursday November 03, 2022 @06:02AM (#33448992)
Can't you just pass your headers as "source files" to clang-tidy? Or create dummy source files that include them if your build system can't do that?
Re:C++ Is the Next C++ by ephimetheus on Thursday November 03, 2022 @06:28AM (#33449105)
Kind of, if you happen to have the right include paths and compiler flags, which even a compile command database from e.g. CMake doesn't give you (by default)