[PATCH] D53276: [analyzer][NFC] Fix some incorrect uses of -analyzer-config options

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 20 13:27:40 PDT 2018


Szelethus added inline comments.


================
Comment at: lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp:1401-1402
   checker->IsAggressive =
-      mgr.getAnalyzerOptions().getBooleanOption("AggressiveReport", false);
+      mgr.getAnalyzerOptions().getBooleanOption("AggressiveReport", false,
+                                                checker);
 }
----------------
NoQ wrote:
> Nice :)
> 
> I'll poke Devin about this, please wait on me before committing.
I added a similar change to `RetainCountChecker`, it takes its `"leak-diagnostics-reference-allocation"` as a checker option. Mention that too I guess.


https://reviews.llvm.org/D53276





More information about the cfe-commits mailing list