================
@@ -0,0 +1,65 @@
+// RUN: %clang_analyze_cc1 -xc %s \
+// RUN: -analyzer-checker=core,debug.ExprInspection,deadcode.DeadStores \
+// RUN: -verify
+// RUN: %clang_analyze_cc1 -xc++ %s \
+// RUN: -analyzer-checker=core,debug.ExprInspection,deadcode.DeadStores \
+// RUN: -verify -w
----------------
steakhal wrote:
You can use separate verify prefixes to differentiate the two expectations.
`-verify=c,common` and `-verify=cxx,common`, and have `// c-warning {{...}}`
and `// cxx-warning {{...}}` and when both RUN lines match, use `//
common-warning {{...}}`
https://github.com/llvm/llvm-project/pull/187530
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits