-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clang-tidy fixes for Common++ #1639
Merged
Merged
Changes from 10 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
fbafcd8
apply fixes for Common++
egecetin f890e2c
Merge remote-tracking branch 'upstream/dev' into clang-tidy
egecetin 4fc7a1c
minor fixes
egecetin b5c720e
fix last issues
egecetin 5727149
define a thread safe strerror
egecetin c645a6c
include array
egecetin da67602
format
egecetin 2da1d0b
not use scripts until all repo updated
egecetin 53b7080
revert unnecessary change
egecetin f951e47
mark executable
egecetin 12e7606
add newline
egecetin b02481f
rename getErrorString
egecetin 8270a39
deprecate multiplatformsleep
egecetin a245c83
format
egecetin b4ad4a5
fix some weird struct braces
egecetin cd15bc7
replace all multiplatformsleep calls
egecetin 59b14fb
include thread for dpdk tests
egecetin 8df0870
include thread lib
egecetin 3b55f05
format
egecetin 70a5233
fix braces for clang-format 19+
egecetin a8779e0
Merge branch 'dev' into clang-tidy
tigercosmos 270a3ca
Merge remote-tracking branch 'upstream/dev' into clang-tidy
egecetin cb70c50
Merge branch 'dev' into clang-tidy
egecetin 74adea5
fix new issues
a4c4d6d
fix comment
10daefd
fix issues
3ec344e
fix for comment
cbe3a03
oops one more
e5d28d6
format
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used this configuration to fix issues. Since all of directories are not fixed this file not used for now in CI