-
Notifications
You must be signed in to change notification settings - Fork 23
Add clang-tidy support #97
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
Open
alan-george-lk
wants to merge
47
commits into
main
Choose a base branch
from
feature/clang-tidy
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
5e5a41b
Add clang-tidy in GHA CI
alan-george-lk 5e2268f
Potential fix for pull request finding 'CodeQL / Workflow does not co…
alan-george-lk a584b27
Remove compile commands
alan-george-lk 918a2c0
Possibly fix pathing
alan-george-lk e65e8ab
Rebase and optimize build for debugging
alan-george-lk 99081ab
Debugging clang stage
alan-george-lk 36e9110
Remove debug output
alan-george-lk 85caa49
Try cpplinter stage instead
alan-george-lk cce7d8b
Hopefully fix clang issue
alan-george-lk cccbc74
Add github token
alan-george-lk 72c2fe4
Turn files changed only off
alan-george-lk 8aa951d
New clang-tidy error list for the critical stuff
alan-george-lk 65d923e
Adjustments to clang-tidy checks
alan-george-lk 45b9e5b
Fix one introduce another
alan-george-lk 357b85f
Cleanup clang file
alan-george-lk be4d8a4
Revert bridge_audio_track change that induced clang-tidy
alan-george-lk 13e9948
Modernize namespaces
alan-george-lk 3fbacd1
Merge branch 'main' of github.com:livekit/client-sdk-cpp into feature…
alan-george-lk 695a242
Fix two clang issues
alan-george-lk d55804a
Use all possible cores on clang-tidy
alan-george-lk 808f781
Use Node24 versions of things
alan-george-lk 648f4b0
build improvements: *-all build configs, ccache, configure stage to o…
alan-george-lk afba69d
Attempt to fix diagnostic clang errors
alan-george-lk f242a9d
Cleaner compile database
alan-george-lk 9561293
Some bugprone fixes
alan-george-lk a9ff299
Additional fixes
alan-george-lk c977e81
Hopefully cleaner run
alan-george-lk 2512840
Ignore tests folder
alan-george-lk f3be562
Turn on all stages again
alan-george-lk 67a990b
Undo ccache, additional clang-tidy fixes
alan-george-lk eff8b69
Fix exception catching
alan-george-lk 1723bc8
Update windows build args
alan-george-lk b7776e0
Maybe fix catch
alan-george-lk 5a83949
Additional fixes
alan-george-lk 3bc0acb
Fix empty catch
alan-george-lk 5abfda7
Try latest clang folder paths for diagnostic issues
alan-george-lk 4edfe8e
Merge branch 'main' of github.com:livekit/client-sdk-cpp into feature…
alan-george-lk ccc021f
Additional clang-tidy checks
alan-george-lk 8bcea38
Additional clang-tidy changes
alan-george-lk 724e1af
Additional clang-tidy fixes
alan-george-lk 8c62f8d
Merge branch 'main' of github.com:livekit/client-sdk-cpp into feature…
alan-george-lk 6ec2a43
Additional clang-tidy fixes, 0 warning threshold
alan-george-lk b5cee08
More fixes
alan-george-lk a20e07e
Merge branch 'main' of github.com:livekit/client-sdk-cpp into feature…
alan-george-lk 8747546
Remove separate configure stage
alan-george-lk 0bdfb3e
Add readme on clang tools
alan-george-lk 10b5216
PR feedback and integration test updates for env var
alan-george-lk 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 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| Checks: > | ||
| -*, | ||
| bugprone-*, | ||
| performance-*, | ||
| modernize-*, | ||
| readability-misleading-indentation, | ||
| readability-redundant-smartptr-get, | ||
| -bugprone-easily-swappable-parameters, | ||
| -modernize-use-trailing-return-type, | ||
| -modernize-avoid-c-arrays, | ||
| -modernize-use-auto, | ||
| -modernize-use-nodiscard, | ||
| -performance-enum-size, | ||
| -readability-braces-around-statements, | ||
|
|
||
| # These warnings have determined to be critical and are as such treated as errors | ||
| WarningsAsErrors: > | ||
| clang-analyzer-*, | ||
| bugprone-use-after-move, | ||
| bugprone-dangling-handle, | ||
| bugprone-infinite-loop, | ||
| bugprone-narrowing-conversions, | ||
| bugprone-undefined-memory-manipulation, | ||
| bugprone-move-forwarding-reference, | ||
| bugprone-incorrect-roundings, | ||
| bugprone-sizeof-expression, | ||
| bugprone-string-literal-with-embedded-nul, | ||
| bugprone-suspicious-memset-usage, | ||
|
|
||
| HeaderFilterRegex: '(include/livekit|src|bridge/(include|src)|examples)' | ||
|
|
||
| FormatStyle: file | ||
|
|
||
| CheckOptions: | ||
| - key: modernize-use-nullptr.NullMacros | ||
| value: 'NULL' |
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
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
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
|
stephen-derosa marked this conversation as resolved.
|
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
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
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.
holy deps of clang, im surprised there isnt a clanh-tidy ez unstall
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 might be able to clean this up -- standby