Skip to content

Commit

Permalink
Merge pull request #322 from Mr-Auto/formatting
Browse files Browse the repository at this point in the history
Formatting
  • Loading branch information
Dregu authored Sep 8, 2023
2 parents 676f8d6 + 5dba188 commit 6a4b9b5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ AllowShortFunctionsOnASingleLine: None
PointerAlignment: Left
RequiresClausePosition: OwnLine
IndentRequiresClause: false
InsertNewlineAtEOF: true
8 changes: 4 additions & 4 deletions .github/workflows/clang_format_verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.15
- uses: DoozyX/clang-format-lint-action@v0.16.2
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.do_formatting != 'true' }}
with:
source: "src"
extensions: "inl,h,hpp,cpp"
exclude: "./src/game_api/lua_libs"
clangFormatVersion: 15
clangFormatVersion: 16

- uses: DoozyX/clang-format-lint-action@v0.15
- uses: DoozyX/clang-format-lint-action@v0.16.2
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.do_formatting == 'true' }}
with:
source: "src"
extensions: "inl,h,hpp,cpp"
exclude: "./src/game_api/lua_libs"
clangFormatVersion: 15
clangFormatVersion: 16
inplace: true
- uses: EndBug/add-and-commit@v4
if: ${{ success() && github.event_name == 'workflow_dispatch' && github.event.inputs.do_formatting == 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ out
docs/slate
docs/.db
*.pyc

/CMakeSettings.json
2 changes: 1 addition & 1 deletion src/injector/injector.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ struct Process
void inject_dll(const Process& proc, const std::string& name);
LPTHREAD_START_ROUTINE find_function(const Process& proc, const std::string& library, const std::string& function);
void call(const Process& proc, LPTHREAD_START_ROUTINE addr, LPVOID args);
std::optional<Process> find_process(std::string name);
std::optional<Process> find_process(std::string name);

0 comments on commit 6a4b9b5

Please sign in to comment.