[clang-tools-extra] e6b14b6 - [clangd] Fix directory separators in `infinite-instantiation.test`

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Tue May 21 11:01:27 PDT 2024


Author: Vlad Serebrennikov
Date: 2024-05-21T21:01:21+03:00
New Revision: e6b14b6f8bfeeea8d24c8dccb17053ba491d5879

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

LOG: [clangd] Fix directory separators in `infinite-instantiation.test`

Fixing https://lab.llvm.org/buildbot/#/builders/123/builds/26934 caused by #92888. Third time the charm!

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 d379a9c2d523e..a9c787c77027c 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