[cfe-dev] diagnostics database for multi-file build?

Csaba Raduly rcsaba at gmail.com
Tue Feb 24 13:13:09 PST 2015


Hi Samuel,

What do you mean by "unique"? Do you mean something like

clang -Wall -pedantic -Wextra -c *.c | perl -pwle
's/^\S+?:(\d+:)?(\d+:)?\s*//'  | sort | uniq -c

On Tue, Feb 24, 2015 at 2:21 PM, Samuel Williams  wrote:
> I'm interested in a way to collect unique errors/diagnostics over multiple
> files in a single build. Does such a thing exist? e.g. some kind of database
> that could be shared between multiple concurrent instances of clang which
> would allow me to review all unique errors across an entire code base,
> ideally in real time but perhaps once the build completes would be okay to
> start with too. Thanks.

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds



More information about the cfe-dev mailing list