[clang] [clang][test] Split out staticanalyzer portion of Modules/specializations-lazy-load-parentmap-crash.cpp (PR #151259)

Michael Jabbour via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 1 03:38:44 PDT 2025


================
@@ -0,0 +1,98 @@
+// REQUIRES: staticanalyzer
+//
+// RUN: rm -rf %t
+// RUN: mkdir -p %t
+// RUN: split-file --leading-lines %s %t
+//
+// Prepare the BMIs.
+// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu -emit-module-interface -o %t/mod_a-part1.pcm %t/mod_a-part1.cppm
----------------
michael-jabbour-sonarsource wrote:

Just a small nitpick: I think that the triple argument can be removed from the commands in the ArrayBoundV2 test now that they are separate (they were only  needed for the sanitized build test).

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


More information about the cfe-commits mailing list