[clang] [llvm] [alpha.webkit.NoUncheckedPtrMemberChecker] Introduce member variable checker for CheckedPtr/CheckedRef (PR #108352)

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 25 14:26:43 PDT 2024


================
@@ -0,0 +1,53 @@
+// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.webkit.NoUncheckedPtrMemberChecker -verify %s
+
+#include "mock-types.h"
+#include "mock-system-header.h"
----------------
haoNoQ wrote:

Do you need to include this one everywhere? Isn't it just a tiny test to confirm that some specific checker doesn't do something stupid in a system header?

https://github.com/llvm/llvm-project/pull/108352


More information about the cfe-commits mailing list