Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ephimetheus
· 4y ago · 0 comments
Running this on header-heavy or header-only code is still an unsolved problem however.
Comments
[–]
account42
4y ago
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?
[–]
ephimetheus
OP
4y ago
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)