[cfe-dev] clang-tidy 3.6 - how to suppress caret diagnostics?
Richard
legalize at xmission.com
Wed Mar 11 16:00:37 PDT 2015
In article <CA+Acj4e9n7Y97T_jC4CMCkaVH+kVgBFfOfYB9JH+SLw0KemUeQ at mail.gmail.com>,
"Andrew C. Morrow" <andrew.c.morrow at gmail.com> writes:
> I asked this over on cfe-user last week, but got no response there:
>
> http://lists.cs.uiuc.edu/pipermail/cfe-users/2015-March/000662.html
>
> I have a need to parse the output of clang-tidy, and the presence of caret
> diagnostics makes this more difficult, so I'd like to turn them off.
If you're trying to feed the analysis of clang-tidy into another tool,
wouldn't it be more useful to have the output in JSON format or
something that is designed to be machine consumable instead of human
consumable?
If we have to change clang-tidy, I would think that generating machine
consumable output would be the better change instead of just
suppressing the caret diagnostics.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>
More information about the cfe-dev
mailing list