================
@@ -0,0 +1,2 @@
+// RUN: clang-doc --format=html --executor=standalone %s -output=%t/docs | 
FileCheck %s
+// CHECK: Using default asset: {{.*}}%{pathsep}share%{pathsep}clang
----------------
ilovepi wrote:

The regular expression doesn't look right to me. I assume that `pathsep` will 
match eagerly after the `.*`. could be something else, though. I'm guessing you 
probably still need the `..`.

An alternate way to write the check is like this
```suggestion
// CHECK: Using default asset: 
// CHECK-SAME: %{pathsep}share%{pathsep}clang
```


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

Reply via email to