- Notifications
You must be signed in to change notification settings - Fork585
Qual: Add pre-commit configuration & ci#4494
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Draft
mdeweerd wants to merge23 commits intouncrustify:masterChoose a base branch frommdeweerd:flow/pre-commit
base:master
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.
Uh oh!
There was an error while loading.Please reload this page.
Draft
Changes from1 commit
Commits
Show all changes
23 commits Select commitHold shift + click to select a range
2127062
Qual: Setup pre-commit flow
mdeweerd7ec1c60
Qual: Include-what-you-use (add missing includes only)
mdeweerdfa5a635
Qual: remove whitespace after if condition
mdeweerdbce7445
Qual: Include-what-you-use + *_cast<>() + const qualifiers
mdeweerd9a16e7e
Qual: Include-what-you-use + static_cast<>()
mdeweerd5ba5409
Qual: Include-what-you-use + static_cast<>()
mdeweerd95e5df1
build: add missing cstdio include, remove unneeded virtual
mdeweerd14073ed
refactor(language_names): use snprintf for string formatting
mdeweerd6b0d31e
refactor(log_rules): use snprintf for safe string copying
mdeweerd2c9c0bb
refactor: use snprintf instead of strcpy
mdeweerd184250c
refactor(tokenizer): include deque, replace tabs with \t, static_cast
mdeweerdea80534
Qual: output.cpp - include-what-you-use
mdeweerd06ba65f
Qual: output.cpp - static_cast<>()
mdeweerd70c8068
Qual: output.cpp -static_cast<size_t|char>()
mdeweerde0d9438
refactor(uncrustify): use strncpy for buffer copying
mdeweerd3003b2a
ci: update cpplint hook in pre-commit configuration
mdeweerd7ab389d
Qual: output.cpp - static_cast<int>()
mdeweerd925eaeb
Qual: Remove empty line after if for cpplint
mdeweerd43c619a
Qual: Add includes (include-what-you-use)
mdeweerd46c4190
Qual: include-what-you-use, const qualifiers, sizeof()
mdeweerda1263f3
refactor(uncrustify): improve buffer size handling in main function
mdeweerde36b212
refactor(option): update assignment operator to use const reference
mdeweerd7c824d1
refactor(enum_flags): simplify flags constructor and operators
mdeweerdFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
build: add missing cstdio include, remove unneeded virtual
The `cstdio` header is required for the `reset` method implementation.Remove virtual, already implied by override.
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit95e5df12af592cf5403959e8d38ae7a5e5e3e241
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
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.