[clang-tools-extra] 7c640d1 - [clangd] Fix directory separators in `infinite-instatiation.test`
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Tue May 21 07:12:41 PDT 2024
Author: Vlad Serebrennikov
Date: 2024-05-21T17:12:35+03:00
New Revision: 7c640d1d43d7a151100e92c678757e0ce897bcc2
URL: https://github.com/llvm/llvm-project/commit/7c640d1d43d7a151100e92c678757e0ce897bcc2
DIFF: https://github.com/llvm/llvm-project/commit/7c640d1d43d7a151100e92c678757e0ce897bcc2.diff
LOG: [clangd] Fix directory separators in `infinite-instatiation.test`
Another take at fixing https://lab.llvm.org/buildbot/#/builders/123/builds/26920 and https://lab.llvm.org/buildbot/#/builders/123/builds/26913 caused by #92888
Added:
Modified:
clang-tools-extra/clangd/test/infinite-instantiation.test
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/test/infinite-instantiation.test b/clang-tools-extra/clangd/test/infinite-instantiation.test
index da1a294142429..d379a9c2d523e 100644
--- a/clang-tools-extra/clangd/test/infinite-instantiation.test
+++ b/clang-tools-extra/clangd/test/infinite-instantiation.test
@@ -1,5 +1,5 @@
// RUN: rm -rf %t.dir && mkdir -p %t.dir
-// RUN: echo '[{"directory": "%t.dir", "command": "clang -ftemplate-depth=100 -x c++ %s", "file": "%s"}]' > %t.dir/compile_commands.json
+// RUN: echo '[{"directory": "%/t.dir", "command": "clang -ftemplate-depth=100 -x c++ %s", "file": "%/s"}]' > %t.dir/compile_commands.json
// RUN: not clangd --compile-commands-dir=%t.dir -check=%s 2>&1 | FileCheck -strict-whitespace %s
// CHECK: [template_recursion_depth_exceeded]
More information about the cfe-commits
mailing list