Author: Haojian Wu
Date: 2023-06-05T13:57:01+02:00
New Revision: fc4a8bf7da7d3837d371fda24d3f2c0f9ef54a5b

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

LOG: [clang-tidy] Move the misc system header dir to Inputs subdir, NFC.

Follows the existing patterns, and makes life easier for bazel build
system.

Added: 
    clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/system/string.h
    clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/system/vector.h

Modified: 
    clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp

Removed: 
    clang-tools-extra/test/clang-tidy/checkers/misc/system/string.h
    clang-tools-extra/test/clang-tidy/checkers/misc/system/vector.h


################################################################################
diff  --git a/clang-tools-extra/test/clang-tidy/checkers/misc/system/string.h 
b/clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/system/string.h
similarity index 100%
rename from clang-tools-extra/test/clang-tidy/checkers/misc/system/string.h
rename to clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/system/string.h

diff  --git a/clang-tools-extra/test/clang-tidy/checkers/misc/system/vector.h 
b/clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/system/vector.h
similarity index 100%
rename from clang-tools-extra/test/clang-tidy/checkers/misc/system/vector.h
rename to clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/system/vector.h

diff  --git 
a/clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp 
b/clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp
index 0f4c7a8f4ad1c..ed12600d96911 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp
@@ -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"


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to