================
@@ -3,6 +3,16 @@
 
 // RUN: clang-doc --format=html --output=%t/docs --executor=all-TUs 
%t/build/compile_commands.json
 // RUN: FileCheck %s -input-file=%t/docs/index_json.js -check-prefix=JSON-INDEX
+// RUN: FileCheck %s -input-file=%t/docs/GlobalNamespace/Shape.html 
-check-prefix=HTML-SHAPE
+// RUN: FileCheck %s -input-file=%t/docs/GlobalNamespace/Calculator.html 
-check-prefix=HTML-CALC
+// RUN: FileCheck %s -input-file=%t/docs/GlobalNamespace/Rectangle.html 
-check-prefix=HTML-RECTANGLE
+// RUN: FileCheck %s -input-file=%t/docs/GlobalNamespace/Circle.html 
-check-prefix=HTML-CIRCLE
+// RUN: clang-doc --format=html --output=%t/docs-with-prefix 
--executor=all-TUs %t/build/compile_commands.json 
--repository=https://repository.com --repository-line-prefix=L
+// RUN: FileCheck %s 
-input-file=%t/docs-with-prefix/GlobalNamespace/Shape.html 
-check-prefix=HTML-SHAPE-PREFIX
----------------
ilovepi wrote:

```suggestion
// RUN: FileCheck %s -input-file=%t/docs-with-prefix/GlobalNamespace/Shape.html 
-check-prefix=HTML-SHAPE-LINE-PREFIX
```
Although verbose, this is probably a better prefix name.

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

Reply via email to