Skip to content

Commit 42c5e71

Browse files
committed
disable clang-tidy
1 parent ac614ac commit 42c5e71

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

clang-tools-extra/clangd/test/Inputs/path-mappings/server/.clang-tidy

Lines changed: 0 additions & 1 deletion
This file was deleted.

clang-tools-extra/clangd/test/path-mappings.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# RUN: rm -rf %t
33
# RUN: cp -r %S/Inputs/path-mappings %t
44
#
5-
# RUN: clangd --path-mappings 'C:\client=%t/server' -lit-test < %s | FileCheck -strict-whitespace %s
5+
# RUN: clangd --clang-tidy=false --path-mappings 'C:\client=%t/server' -lit-test < %s | FileCheck -strict-whitespace %s
66
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
77
---
88
{

clang-tools-extra/clangd/test/system-include-extractor.test

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232
# RUN: echo 'printf "End of search list.\r\n" >&2' >> %t.dir/bin/my_driver.sh
3333
# RUN: chmod +x %t.dir/bin/my_driver.sh
3434

35-
# Create fake clang-tidy config to ensure sandbox
36-
# RUN: echo 'InheritParentConfig: false' >> %t.dir/.clang-tidy
37-
3835
# Create header files my/dir/a.h and my/dir2/b.h
3936
# RUN: mkdir -p %t.dir/my/dir
4037
# RUN: touch %t.dir/my/dir/a.h
@@ -55,7 +52,7 @@
5552
# Bless the mock driver we've just created so that clangd can execute it.
5653
# Note: include clangd's stderr in the FileCheck input with "2>&1" so that we
5754
# can match output lines like "ASTWorker building file"
58-
# RUN: clangd -lit-test -query-driver="**.test,**.sh" < %t.test 2>&1 | FileCheck -strict-whitespace %t.test
55+
# RUN: clangd --clang-tidy=false -lit-test -query-driver="**.test,**.sh" < %t.test 2>&1 | FileCheck -strict-whitespace %t.test
5956
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{}}
6057
---
6158
{
@@ -91,4 +88,4 @@
9188

9289
# Run clangd a second time, to make sure it picks up the driver name from the config file
9390
# Note, we need to pass -enable-config because -lit-test otherwise disables it
94-
# RUN: clangd -lit-test -enable-config -query-driver="**.test,**.sh" < %t.test 2>&1 | FileCheck -strict-whitespace %t.test
91+
# RUN: clangd --clang-tidy=false -lit-test -enable-config -query-driver="**.test,**.sh" < %t.test 2>&1 | FileCheck -strict-whitespace %t.test

0 commit comments

Comments
 (0)