[PATCH] D116597: [analyzer] Don't track function calls as control dependencies

2022-04-08 Thread Kristóf Umann via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Szelethus marked an inline comment as done. Closed by commit rGfd8e5762f86f: [analyzer] Don't track function calls as control dependencies (authored by Szelethus). Changed prior to commit: https://reviews.llvm.org/D116597

[PATCH] D116597: [analyzer] Don't track function calls as control dependencies

2022-03-30 Thread Balázs Benics via Phabricator via cfe-commits
steakhal accepted this revision. steakhal added a comment. This revision is now accepted and ready to land. I'm convinced! Comment at: clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1968 +static const Expr *peelOffOuterExpr(const Expr *Ex, const ExplodedNode *N) { + E

[PATCH] D116597: [analyzer] Don't track function calls as control dependencies

2022-03-30 Thread Kristóf Umann via Phabricator via cfe-commits
Szelethus marked 2 inline comments as done. Szelethus added inline comments. Comment at: clang/lib/Analysis/CFG.cpp:5908-5909 +void CFG::dump(bool ShowColors) const { dump(LangOptions{}, ShowColors); } + /// print - A simple pretty printer of a CFG that outputs to an ostream.

[PATCH] D116597: [analyzer] Don't track function calls as control dependencies

2022-03-30 Thread Kristóf Umann via Phabricator via cfe-commits
Szelethus updated this revision to Diff 419132. Szelethus marked an inline comment as done. Szelethus added a comment. Herald added a project: All. Fixes according to reviewer comments. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D116597/new/ https://reviews.llvm.org/D116597 Files:

[PATCH] D116597: [analyzer] Don't track function calls as control dependencies

2022-02-07 Thread Balázs Benics via Phabricator via cfe-commits
steakhal added a comment. Looks great! Thanks for your hard work on this topic @Szelethus. Comment at: clang/lib/Analysis/CFG.cpp:5908-5909 +void CFG::dump(bool ShowColors) const { dump(LangOptions{}, ShowColors); } + /// print - A simple pretty printer of a CFG that outputs

[PATCH] D116597: [analyzer] Don't track function calls as control dependencies

2022-02-01 Thread Kristóf Umann via Phabricator via cfe-commits
Szelethus added a comment. Ping ^-^ CHANGES SINCE LAST ACTION https://reviews.llvm.org/D116597/new/ https://reviews.llvm.org/D116597 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D116597: [analyzer] Don't track function calls as control dependencies

2022-01-24 Thread Kristóf Umann via Phabricator via cfe-commits
Szelethus updated this revision to Diff 402549. Szelethus added a comment. Fix tests, mention that this is purely a heuristic. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D116597/new/ https://reviews.llvm.org/D116597 Files: clang/include/clang/Analysis/CFG.h clang/lib/Analysis/CFG

[PATCH] D116597: [analyzer] Don't track function calls as control dependencies

2022-01-05 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ added a comment. Interesting. Might it be that in this scenario in order to be of interest to the user the condition value has to be trackable back to the current stack frame? > the popular feedback we hear from some of our users, namely that they can > never have too much information The

[PATCH] D116597: [analyzer] Don't track function calls as control dependencies

2022-01-04 Thread Kristóf Umann via Phabricator via cfe-commits
Szelethus created this revision. Szelethus added reviewers: dkrupp, NoQ, steakhal, gamesh411, martong, balazske. Szelethus added a project: clang. Herald added subscribers: manas, ASDenysPetrov, donat.nagy, mikhail.ramalho, a.sidorin, rnkovacs, szepet, baloghadamsoftware, kristof.beyls, xazax.hun.