[clang] [analyzer] Avoid unnecessary super region invalidation in `CStringChecker` (PR #146212)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 30 07:42:08 PDT 2025
================
@@ -0,0 +1,107 @@
+// RUN: %clang_analyze_cc1 -analyzer-checker=core,debug.ExprInspection
+// -analyzer-config c++-inlining=constructors -verify %s
+
+// expected-no-diagnostics
+
+typedef unsigned int size_t;
----------------
steakhal wrote:
You can always define this as the result of `decltype(sizeof(int))`.
https://github.com/llvm/llvm-project/pull/146212
More information about the cfe-commits
mailing list