[PATCH] D54401: [analyzer] Prefer returns values to out-params in CheckerRegistry.cpp

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 12 12:01:25 PST 2018


NoQ added inline comments.


================
Comment at: include/clang/Basic/DiagnosticFrontendKinds.td:177
     "no analyzer checkers are associated with '%0'">;
-def note_suggest_disabling_all_checkers : Note<
-    "use -analyzer-disable-all-checks to disable all static analyzer checkers">;
----------------
george.karpenkov wrote:
> @NoQ what does this option even do? Can you think of some legitimate uses?
rC216763 is the commit in which it was added and the commit message sounds useful. I never understood how exactly are people using it, but it sounds as if they are trying to skip analysis of certain files by appending a flag that disables checkers to the build(?!) command of those files.


Repository:
  rC Clang

https://reviews.llvm.org/D54401





More information about the cfe-commits mailing list