NoQ added a comment.

Thanks, this makes a lot more sense to me!

Comment at: lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:691
@@ -690,1 +690,3 @@
+  // Ignore autosynthesized code.
+  if (Mgr->getAnalysisDeclContext(D)->isBodyAutosynthesized())
I think this can be moved above, to `HandleCode()`. Because not only we need to 
skip path-sensitive analysis for synthesized bodies, but also we should 
probably skip the callback for AST checkers (`runCheckersOnASTBody()`, which 
corresponds to `check::ASTCodeBody`), and then we should also skip the 
`-analyzer-display-progress` debug output (the `DisplayFunction()` thingy).


cfe-commits mailing list

Reply via email to