diff options
author | Julie Hockett <juliehockett@google.com> | 2018-05-11 20:03:22 +0000 |
---|---|---|
committer | Julie Hockett <juliehockett@google.com> | 2018-05-11 20:03:22 +0000 |
commit | b262a0489b095a3e4470a6503ca3071390b3c60c (patch) | |
tree | e10ce14454a06d7dfcff9687dab67fab4f6ece3c /clang-tools-extra/test/clang-tidy/fuchsia-restrict-system-includes.cpp | |
parent | eedb0c95a453ca7f84294032926de52db77e8abc (diff) | |
download | bcm5719-llvm-b262a0489b095a3e4470a6503ca3071390b3c60c.tar.gz bcm5719-llvm-b262a0489b095a3e4470a6503ca3071390b3c60c.zip |
Revert "[clang-tidy] Adding RestrictSystemIncludes check to Fuchsia module"
This reverts commit r332125 for a failing test.
llvm-svn: 332131
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/fuchsia-restrict-system-includes.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/fuchsia-restrict-system-includes.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/clang-tools-extra/test/clang-tidy/fuchsia-restrict-system-includes.cpp b/clang-tools-extra/test/clang-tidy/fuchsia-restrict-system-includes.cpp deleted file mode 100644 index e2ba71060c3..00000000000 --- a/clang-tools-extra/test/clang-tidy/fuchsia-restrict-system-includes.cpp +++ /dev/null @@ -1,25 +0,0 @@ -// RUN: %check_clang_tidy %s fuchsia-restrict-system-includes %t \ -// RUN: -- -config="{CheckOptions: [{key: fuchsia-restrict-system-includes.Includes, value: 's.h'}]}" \ -// RUN: -- -std=c++11 -I %S/Inputs/fuchsia-restrict-system-includes -isystem %S/Inputs/fuchsia-restrict-system-includes/system - -#include "a.h" - -#include <s.h> -#include <t.h> -// CHECK-MESSAGES: :[[@LINE-1]]:1: warning: system include t.h not allowed -// CHECK-FIXES-NOT: #include <t.h> - -#include "s.h" -#include "t.h" -// CHECK-MESSAGES: :[[@LINE-1]]:1: warning: system include t.h not allowed -// CHECK-FIXES-NOT: #include "t.h" - -#define foo <j.h> - -#include foo -// CHECK-MESSAGES: :[[@LINE-1]]:1: warning: system include j.h not allowed -// CHECK-FIXES-NOT: #include foo - -#/* comment */ include /* comment */ foo -// CHECK-MESSAGES: :[[@LINE-1]]:1: warning: system include j.h not allowed -// CHECK-FIXES-NOT: # /* comment */ include /* comment */ foo |