On Tue, Feb 17, 2015 at 05:56:04PM +0100, Lukas Slebodnik wrote:
On (17/02/15 17:37), Jakub Hrozek wrote:
>On Tue, Feb 17, 2015 at 04:43:45PM +0100, Lukas Slebodnik wrote:
>> ehlo,
>>
>> Attached patch should simplify analysis of log files.
>> It should be applied to 1-12 branch. I will generate another version for master
>> after merging all pending big patchsets.
>>
>> LS
>
>I'm curious how did you generate the patch?
>
>Could a check like this be part of CI?
The patch was generated by clang based tool,
but it requires JSON Compilation Database[1] and I would need to automate
generation of that file (or convert it to clang plugin)
BTW The new lines were added by my tool and then I just slightly modified
formatting of some debug messages.
LS
http://clang.llvm.org/docs/JSONCompilationDatabase.html
Ah, awesome. Could you share how to generate the database? I'm a heavy
user of YouCompleteMe:
https://github.com/Valloric/YouCompleteMe#c-family-semantic-completion-en...
Which works much better when the database is in place, which is normally
the case for CMake-based projects.