[cfe-dev] clang-tidy in the editor
Manuel Klimek via cfe-dev
cfe-dev at lists.llvm.org
Thu Dec 17 00:56:30 PST 2015
Exposing clang-tidy via libclang (or similar) to be able to integrate it
into editors is on our list of things to do in the first months of 2016.
On Thu, Dec 17, 2015 at 7:24 AM don hinton via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> Have you tried using the -header-filter option?
> On Dec 8, 2015 12:57 AM, "Mark Deggeller via cfe-dev" <
> cfe-dev at lists.llvm.org> wrote:
>> 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
>> I would appreciate any advice on speeding up clang-tidy so that
>> repeatedly reparsing a file doesn't need to reparse all the #included
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev