This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove _Ptr(_Const) typedefs (#2847)
Removes these typedefs because pointers should be handled with care. Having them visually stand out in the code helps us avoid common pitfalls, such as accidentally using `Ptr` instead of `Obj`. This change has been automatically generated using the following command: ```bash find src \( -name '*.cpp' -o -name '*.hpp' \) -exec sed -i \ '/typedef.*_Ptr[_;]/d;'\ 's/\([A-Za-z_]*\)_Ptr_Const/const \1*/g;'\ 's/\([A-Za-z_]*\)_Ptr/\1*/g;'\ 's/\([a-z]\)##\*/\1*/g' '{}' \+ ``` Fixes #2785
- Loading branch information
Showing
69 changed files
with
1,439 additions
and
1,595 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.