[clang-tools-extra] 7d764db - [clang-doc][NFC] Avoid unnecessary operations in the template test (#119812)

via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 13 09:49:36 PST 2024


Author: Paul Kirth
Date: 2024-12-13T09:49:32-08:00
New Revision: 7d764db9bed1659cfcb2ab18e1d966388c1b5041

URL: https://github.com/llvm/llvm-project/commit/7d764db9bed1659cfcb2ab18e1d966388c1b5041
DIFF: https://github.com/llvm/llvm-project/commit/7d764db9bed1659cfcb2ab18e1d966388c1b5041.diff

LOG: [clang-doc][NFC] Avoid unnecessary operations in the template test (#119812)

Added: 
    

Modified: 
    clang-tools-extra/test/clang-doc/templates.cpp

Removed: 
    


################################################################################
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})}}'


        


More information about the cfe-commits mailing list