From da113f3202bafb6ecb0a5e51c741e49b7681a91f Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 23 Nov 2018 15:02:33 +0000 Subject: Remove the optional dependency from libclang to clang-tidy/include-fixer clangd does a better job on both of these, so don't slow down everyone's build for a poorly working libclang feature. llvm-svn: 347496 --- .../test/include-fixer/yamldb_plugin.cpp | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 clang-tools-extra/test/include-fixer/yamldb_plugin.cpp (limited to 'clang-tools-extra/test/include-fixer/yamldb_plugin.cpp') diff --git a/clang-tools-extra/test/include-fixer/yamldb_plugin.cpp b/clang-tools-extra/test/include-fixer/yamldb_plugin.cpp deleted file mode 100644 index 5b6760a9cd8..00000000000 --- a/clang-tools-extra/test/include-fixer/yamldb_plugin.cpp +++ /dev/null @@ -1,25 +0,0 @@ -// REQUIRES: static-analyzer -// RUN: c-index-test -test-load-source-reparse 2 all %s -Xclang -add-plugin -Xclang clang-include-fixer -fspell-checking -Xclang -plugin-arg-clang-include-fixer -Xclang -input=%p/Inputs/fake_yaml_db.yaml 2>&1 | FileCheck %s - -foo f; -foo g; -unknown u; - -// CHECK: yamldb_plugin.cpp:4:1: error: unknown type name 'foo'; did you mean 'foo'? -// CHECK: Number FIX-ITs = 1 -// CHECK: FIX-IT: Replace [4:1 - 4:4] with "foo" -// CHECK: yamldb_plugin.cpp:4:1: note: Add '#include "foo.h"' to provide the missing declaration [clang-include-fixer] -// CHECK: Number FIX-ITs = 1 -// CHECK: FIX-IT: Insert "#include "foo.h" -// CHECK: yamldb_plugin.cpp:5:1: error: unknown type name 'foo'; did you mean 'foo'? -// CHECK: Number FIX-ITs = 1 -// CHECK: FIX-IT: Replace [5:1 - 5:4] with "foo" -// CHECK: yamldb_plugin.cpp:5:1: note: Add '#include "foo.h"' to provide the missing declaration [clang-include-fixer] -// CHECK: Number FIX-ITs = 1 -// CHECK: FIX-IT: Insert "#include "foo.h" -// CHECK: " at 4:1 -// CHECK: yamldb_plugin.cpp:6:1: -// CHECK: error: unknown type name 'unknown' -// CHECK: Number FIX-ITs = 0 -// CHECK-NOT: error -// CHECK-NOT: FIX-IT -- cgit v1.2.3