diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-09 01:02:11 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-09 01:02:11 +0200 |
commit | 44a6e0230002ae8a55167453a3ff3283a59b1859 (patch) | |
tree | a6e4f8eff0f4b2f3723a9ae097d4f242a78fd278 /NorthstarDLL/clientchathooks.cpp | |
parent | d2907aa522d56a4baacec1c17426f7d6f1fae3a2 (diff) | |
download | NorthstarLauncher-refactor-format-ignore-autohook.tar.gz NorthstarLauncher-refactor-format-ignore-autohook.zip |
Add clang-format ignores for AUTOHOOKrefactor-format-ignore-autohook
The proper solution would be to have some way in clang-format config
file that specifies that our `AUTOHOOK` formatting should be considered
correct but that takes more investigation and simply ignoring formatting
in AUTOHOOK macros is the lower hanging fruit.
Diffstat (limited to 'NorthstarDLL/clientchathooks.cpp')
-rw-r--r-- | NorthstarDLL/clientchathooks.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDLL/clientchathooks.cpp b/NorthstarDLL/clientchathooks.cpp index 647e67f1..c9fa0879 100644 --- a/NorthstarDLL/clientchathooks.cpp +++ b/NorthstarDLL/clientchathooks.cpp @@ -7,8 +7,10 @@ AUTOHOOK_INIT() +// clang-format off AUTOHOOK(CHudChat__AddGameLine, client.dll + 0x22E580, void,, (void* self, const char* message, int inboxId, bool isTeam, bool isDead)) +// clang-format on { // This hook is called for each HUD, but we only want our logic to run once. if (self != *CHudChat::allHuds) |