[cfe-dev] clang-tidy in the editor
Mark Deggeller via cfe-dev
cfe-dev at lists.llvm.org
Mon Dec 7 21:57:10 PST 2015
I have integrated clang-tidy into a text-editor project, re-running
clang-tidy as the user types. It works, but it can be slow to reparse
the entire file and #includes after every edit.
I've also experimented using libclang's precompiled preambles and
clang_reparseTranslationUnit(). This works great for reparse
performance, but I'm having trouble figuring out how to incorporate the
clang-tidy checkers.
I would appreciate any advice on speeding up clang-tidy so that
repeatedly reparsing a file doesn't need to reparse all the #included
headers.
Thanks!
More information about the cfe-dev
mailing list