[PATCH] D50488: [Analyzer] Checker for non-determinism caused by sorting of pointer-like elements

Whisperity via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 6 08:08:17 PDT 2018


whisperity added a comment.

In https://reviews.llvm.org/D50488#1225064, @george.karpenkov wrote:

> Why explicitly skip C  projects? We would not be able to match `std::X` functions anyway.


Why spend time constructing matchers and running on the AST when we are sure that generating any result is impossible? Skipping the entire useless traversal of the tree can end up saving precious execution time that should not be overlooked.


https://reviews.llvm.org/D50488





More information about the cfe-commits mailing list