[cfe-dev] clang omits a part of the code
Peter Collingbourne
peter at pcc.me.uk
Thu Mar 24 09:50:06 PDT 2011
On Thu, Mar 24, 2011 at 01:38:52PM +0000, Nir Pluderman wrote:
> Does anyone have any idea what I'm doing wrong?
Most likely one of your header files is causing an error diagnostic
to be emitted. If a malformed input file is provided then Clang will
try to build as complete an AST as possible.
> diags->setSuppressAllDiagnostics(true);
If you remove this line then you should be able to see the
diagnostic(s).
Thanks,
--
Peter
More information about the cfe-dev
mailing list