================
@@ -1,3 +1,5 @@
+// RUN: %clang_cc1 -verify %s
+// RUN: diff %s %s.expected
----------------
nhaehnle wrote:

I still think those new invocations of `diff` should be in `lit-plugin.test`.

Those `diff` lines attempt to check that this file (or rather its temporarily 
copied version) was overwritten correctly.

It isn't sound to have the code to check whether a file was correctly 
overwritten in the file that is overwritten.

https://github.com/llvm/llvm-project/pull/108425
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to