-
Notifications
You must be signed in to change notification settings - Fork 683
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clang-tidy fixes for Common++ (#1639)
* apply fixes for Common++ * minor fixes * fix last issues * define a thread safe strerror * include array * format * not use scripts until all repo updated * revert unnecessary change * mark executable * add newline * rename getErrorString * deprecate multiplatformsleep * format * fix some weird struct braces * replace all multiplatformsleep calls * include thread for dpdk tests * include thread lib * format * fix braces for clang-format 19+ * fix new issues * fix comment * fix issues * fix for comment * oops one more * format --------- Co-authored-by: Liu, An-Chi <[email protected]>
- Loading branch information
1 parent
bc5c08d
commit d60c699
Showing
35 changed files
with
423 additions
and
241 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Checks: 'cert-*, | ||
clang-analyzer-*, | ||
concurrency-*, | ||
cppcoreguidelines-*, | ||
misc-*, | ||
modernize-*, | ||
performance-*, | ||
portability-*, | ||
readability-*, | ||
-cert-env33-c, | ||
-cert-err58-cpp, | ||
-clang-analyzer-optin.cplusplus.VirtualCall, | ||
-cppcoreguidelines-avoid-c-arrays, | ||
-cppcoreguidelines-avoid-do-while, | ||
-cppcoreguidelines-avoid-magic-numbers, | ||
-cppcoreguidelines-avoid-non-const-global-variables, | ||
-cppcoreguidelines-macro-usage, | ||
-cppcoreguidelines-owning-memory, | ||
-cppcoreguidelines-pro-bounds-array-to-pointer-decay, | ||
-cppcoreguidelines-pro-bounds-constant-array-index, | ||
-cppcoreguidelines-pro-bounds-pointer-arithmetic, | ||
-cppcoreguidelines-pro-type-reinterpret-cast, | ||
-cppcoreguidelines-pro-type-const-cast, | ||
-cppcoreguidelines-pro-type-vararg, | ||
-cppcoreguidelines-special-member-functions, | ||
-modernize-avoid-c-arrays, | ||
-modernize-use-trailing-return-type, | ||
-misc-header-include-cycle, | ||
-misc-include-cleaner, | ||
-misc-no-recursion, | ||
-misc-non-private-member-variables-in-classes, | ||
-misc-use-anonymous-namespace, | ||
-readability-function-cognitive-complexity, | ||
-readability-magic-numbers' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <stdint.h> | ||
#include <cstdint> | ||
#include <type_traits> | ||
|
||
/// @file | ||
|
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.