[PATCH] D59798: [analyzer] Add analyzer option to limit the number of imported TUs
Kristóf Umann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 3 03:38:12 PDT 2019
Szelethus added inline comments.
================
Comment at: test/Analysis/ctu-import-threshold.c:1-5
+// Ensure analyzer option 'ctu-import-threshold' is a recognized option.
+//
+// RUN: %clang_cc1 -analyze -analyzer-config ctu-import-threshold=30 -verify %s
+//
+// expected-no-diagnostics
----------------
There's no need for such validation, AnalyzerOptions' interface is very well guarded against misuse.
If you insist, prefer modifying `clang/test/Analysis/invalid-analyzer-config-value.c`.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59798/new/
https://reviews.llvm.org/D59798
More information about the cfe-commits
mailing list