[clang-tidy] Move the misc system header dir to Inputs subdir, NFC.
authorHaojian Wu <hokein.wu@gmail.com>
Mon, 5 Jun 2023 11:52:15 +0000 (13:52 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Mon, 5 Jun 2023 11:57:01 +0000 (13:57 +0200)
Follows the existing patterns, and makes life easier for bazel build
system.

clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/system/string.h [moved from clang-tools-extra/test/clang-tidy/checkers/misc/system/string.h with 100% similarity]
clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/system/vector.h [moved from clang-tools-extra/test/clang-tidy/checkers/misc/system/vector.h with 100% similarity]
clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp

index 0f4c7a8..ed12600 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy %s misc-include-cleaner %t -- -- -I%S/Inputs -isystem%S/system
+// RUN: %check_clang_tidy %s misc-include-cleaner %t -- -- -I%S/Inputs -isystem%S/Inputs/system
 #include "bar.h"
 // CHECK-FIXES: {{^}}#include "baz.h"{{$}}
 #include "foo.h"