-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove remaining Linux C-style casts & fix const correctness (#3079)
* Remove remaining Linux C-style casts & fix const correctness Many C style casts remain after 181f076 ("clang-tidy: Apply fixes "google-readability-casting" (#3034)"). The reason they were not updated is typically because they are casting away const qualifiers. Fix these cases or add a const_cast<> if appropriate. * Write ReadN(T*&) in terms of ReadN(const T*&) * Fix timer epochs * Remove casts around inet_ntop * Simplify casts around free * Simplify IPAddress * Remove casts around setsockopt * Remove cast from Spake2p "G" * Document cast around AES_CCM_decrypt * Add back const_cast around inet_ntop * Duplicate argv in TestCHIPArgParser * Revert "Duplicate argv in TestCHIPArgParser" This reverts commit ec2c119. * Restyle * Revert "Revert "Duplicate argv in TestCHIPArgParser"" This reverts commit 8defda3. * restyle * Add missing semicolon * Fix v4 conversions
- Loading branch information
Showing
37 changed files
with
329 additions
and
236 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
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
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.