Skip to content

Commit 99637ba

Browse files
committed
tools: move clang-tidy-plugin to scripts directory
1 parent 18b3192 commit 99637ba

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

tools/clang-tidy-plugin/GeneralsGameCodeTidyModule.cpp renamed to scripts/clang-tidy-plugin/GeneralsGameCodeTidyModule.cpp

File renamed without changes.
File renamed without changes.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (!str.Is_Empty()) { ... }
3333
This plugin requires LLVM and Clang to be installed. Build it with CMake:
3434
3535
```bash
36-
cd tools/clang-tidy-plugin
36+
cd scripts/clang-tidy-plugin
3737
mkdir build && cd build
3838
cmake .. -DLLVM_DIR=/path/to/llvm/lib/cmake/llvm -DClang_DIR=/path/to/clang/lib/cmake/clang
3939
make
@@ -58,7 +58,7 @@ This creates `build/clang-tidy/compile_commands.json` which tells clang-tidy how
5858
```bash
5959
clang-tidy -p build/clang-tidy \
6060
--checks='-*,generals-use-is-empty' \
61-
-load tools/clang-tidy-plugin/build/lib/libGeneralsGameCodeClangTidyPlugin.so \
61+
-load scripts/clang-tidy-plugin/build/lib/libGeneralsGameCodeClangTidyPlugin.so \
6262
file.cpp
6363
```
6464

@@ -67,7 +67,7 @@ clang-tidy -p build/clang-tidy \
6767
```bash
6868
clang-tidy -p build/clang-tidy \
6969
--checks='-*,generals-use-is-empty' \
70-
-load tools/clang-tidy-plugin/build/lib/libGeneralsGameCodeClangTidyPlugin.so \
70+
-load scripts/clang-tidy-plugin/build/lib/libGeneralsGameCodeClangTidyPlugin.so \
7171
-fix-errors \
7272
file.cpp
7373
```
@@ -78,7 +78,7 @@ clang-tidy -p build/clang-tidy \
7878
find Core -name "*.cpp" -type f -exec clang-tidy \
7979
-p build/clang-tidy \
8080
--checks='-*,generals-use-is-empty' \
81-
-load tools/clang-tidy-plugin/build/lib/libGeneralsGameCodeClangTidyPlugin.so \
81+
-load scripts/clang-tidy-plugin/build/lib/libGeneralsGameCodeClangTidyPlugin.so \
8282
-fix-errors {} \;
8383
```
8484

tools/clang-tidy-plugin/readability/UseIsEmptyCheck.cpp renamed to scripts/clang-tidy-plugin/readability/UseIsEmptyCheck.cpp

File renamed without changes.

tools/clang-tidy-plugin/readability/UseIsEmptyCheck.h renamed to scripts/clang-tidy-plugin/readability/UseIsEmptyCheck.h

File renamed without changes.

0 commit comments

Comments
 (0)