chore(clang-format): Replace CPP_11(= delete) with FUNCTION_DELETE macro to help clang format#2885
Open
githubawn wants to merge 1 commit into
Open
Conversation
|
| Filename | Overview |
|---|---|
| Dependencies/Utility/Utility/CppMacros.h | Adds FUNCTION_DELETE with the same expansion behavior as the old CPP_11(= delete) pattern. |
| Core/GameEngine/Include/Common/INI.h | Updates the non-copyable INI declarations to use FUNCTION_DELETE. |
| Core/GameEngine/Include/GameNetwork/NetCommandMsg.h | Updates the non-copyable NetCommandDataChunk declarations to use FUNCTION_DELETE. |
| Core/Libraries/Source/WWVegas/WWMath/v3_rnd.h | Updates private randomizer assignment operators to use FUNCTION_DELETE. |
| Core/Libraries/Source/profile/internal.h | Updates non-copyable profiling lock declarations to use FUNCTION_DELETE. |
| Generals/Code/GameEngine/Include/GameLogic/Object.h | Updates the blocked deleteInstance(Object*) overload to use FUNCTION_DELETE. |
| GeneralsMD/Code/GameEngine/Include/GameLogic/Object.h | Updates the blocked Zero Hour deleteInstance(Object*) overload to use FUNCTION_DELETE. |
| Generals/Code/Libraries/Source/WWVegas/WW3D2/meshmdl.h | Updates the private GapFillerClass assignment operator to use FUNCTION_DELETE. |
| GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/meshmdl.h | Updates the mirrored Zero Hour GapFillerClass assignment operator to use FUNCTION_DELETE. |
Reviews (1): Last reviewed commit: "refactor(cpp): introduce FUNCTION_DELETE..." | Re-trigger Greptile
|
Can you elaborate on what problem this solves? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In preparation for the clang format PR. This introduces FUNCTION_DELETE macro to fix clang-format.