[llvm-branch-commits] [clang-doc][NFC] Avoid unnecessary operations in the template test (PR #119812)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Dec 12 20:27:34 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang-tools-extra

Author: Paul Kirth (ilovepi)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/119812.diff


1 Files Affected:

- (modified) clang-tools-extra/test/clang-doc/templates.cpp (+1-4) 


``````````diff
diff --git a/clang-tools-extra/test/clang-doc/templates.cpp b/clang-tools-extra/test/clang-doc/templates.cpp
index 1adfbe0cf18282..05a3dab71f48a1 100644
--- a/clang-tools-extra/test/clang-doc/templates.cpp
+++ b/clang-tools-extra/test/clang-doc/templates.cpp
@@ -1,10 +1,7 @@
 // RUN: rm -rf %t
 // RUN: mkdir %t
-// RUN: echo "" > %t/compile_flags.txt
-// RUN: cp "%s" "%t/test.cpp"
-// RUN: clang-doc --doxygen --executor=standalone -p %t %t/test.cpp -output=%t/docs
+// RUN: clang-doc --doxygen --executor=standalone %s -output=%t/docs
 // RUN: cat %t/docs/index.yaml | FileCheck %s --check-prefix=YAML
-// RUN: rm -rf %t
 
 // YAML: ---
 // YAML-NEXT: USR:             '{{([0-9A-F]{40})}}'

``````````

</details>


https://github.com/llvm/llvm-project/pull/119812


More information about the llvm-branch-commits mailing list