[PATCH] D53692: [analyzer] Evaluate all non-checker config options before analysis

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 6 14:26:18 PST 2018


Szelethus marked 2 inline comments as done.
Szelethus added inline comments.


================
Comment at: test/Analysis/analyzer-config.c:4-12
 void bar() {}
 void foo() {
   // Call bar 33 times so max-times-inline-large is met and
   // min-blocks-for-inline-large is checked
   for (int i = 0; i < 34; ++i) {
     bar();
   }
----------------
NoQ wrote:
> The code is no longer necessary, right? All options are now initialized eagerly and there's no need to analyze any code to get them initialized.
Correct :)


Repository:
  rC Clang

https://reviews.llvm.org/D53692





More information about the cfe-commits mailing list