ilya-biryukov added inline comments.

================
Comment at: include/clang/Driver/Options.td:1745
     HelpText<"remap file source paths in debug info">;
+def fsuppress_non_errors_from_included_files : Flag<["-"], 
"fsuppress-non-errors-from-included-files">,
+  Group<f_Group>, Flags<[CC1Option]>;
----------------
Why would we ever want to suppress diagnostics from *all* included files in the 
compiler mode?

That seems more appropriate in the tooling mode (e.g. IDE integration, etc.). 
However, that could probably be done without modifications of core clang bits, 
e.g. by writing a DiagnosticsConsumer that ignores diagnostics coming from 
outside the main file.


https://reviews.llvm.org/D49794



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to