[clang-tools-extra] [clang-doc] switched from using relative to absolute paths (PR #93281)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 24 16:32:25 PDT 2024
================
@@ -0,0 +1,7 @@
+// RUN: rm -rf %t && mkdir %t
+// RUN: cp "%s" "%t/test.cpp"
+// RUN: clang-doc --format=html --executor=standalone -p %s --output=%t
+// RUN: FileCheck %s -input-file=%t/index_json.js -check-prefix=JSON-INDEX
+// RUN: rm -rf %t
+
+// JSON-INDEX: var RootPath = "{{.*}}";
----------------
ilovepi wrote:
Is there a way to make this check more meaningful? Can we match nothing in the path itself?
https://github.com/llvm/llvm-project/pull/93281
More information about the cfe-commits
mailing list