[clang] [analyzer] Avoid unnecessary super region invalidation in `CStringChecker` (PR #146212)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 3 06:47:13 PDT 2025
================
@@ -0,0 +1,106 @@
+// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
----------------
NagyDonat wrote:
Please ensure that (the relevant parts of) `CStringChecker` is actually enabled in this test file -- its sub-checkers are in the `unix.cstring` and `alpha.unix.cstring` packages, while this `RUN` line only enables `core`.
As a sanity check it would be nice to have a testcase that actually produces some diagnostics.
https://github.com/llvm/llvm-project/pull/146212
More information about the cfe-commits
mailing list