Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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:master
base:master
Choose a base branch
Loading
frommdeweerd:flow/pre-commit
Draft
Changes from1 commit
Commits
Show all changes
23 commits
Select commitHold shift + click to select a range
2127062
Qual: Setup pre-commit flow
mdeweerdApr 27, 2025
7ec1c60
Qual: Include-what-you-use (add missing includes only)
mdeweerdApr 27, 2025
fa5a635
Qual: remove whitespace after if condition
mdeweerdApr 27, 2025
bce7445
Qual: Include-what-you-use + *_cast<>() + const qualifiers
mdeweerdApr 27, 2025
9a16e7e
Qual: Include-what-you-use + static_cast<>()
mdeweerdApr 27, 2025
5ba5409
Qual: Include-what-you-use + static_cast<>()
mdeweerdApr 27, 2025
95e5df1
build: add missing cstdio include, remove unneeded virtual
mdeweerdApr 27, 2025
14073ed
refactor(language_names): use snprintf for string formatting
mdeweerdApr 27, 2025
6b0d31e
refactor(log_rules): use snprintf for safe string copying
mdeweerdApr 27, 2025
2c9c0bb
refactor: use snprintf instead of strcpy
mdeweerdApr 27, 2025
184250c
refactor(tokenizer): include deque, replace tabs with \t, static_cast
mdeweerdApr 27, 2025
ea80534
Qual: output.cpp - include-what-you-use
mdeweerdApr 27, 2025
06ba65f
Qual: output.cpp - static_cast<>()
mdeweerdApr 27, 2025
70c8068
Qual: output.cpp -static_cast<size_t|char>()
mdeweerdApr 27, 2025
e0d9438
refactor(uncrustify): use strncpy for buffer copying
mdeweerdApr 27, 2025
3003b2a
ci: update cpplint hook in pre-commit configuration
mdeweerdApr 27, 2025
7ab389d
Qual: output.cpp - static_cast<int>()
mdeweerdApr 27, 2025
925eaeb
Qual: Remove empty line after if for cpplint
mdeweerdApr 27, 2025
43c619a
Qual: Add includes (include-what-you-use)
mdeweerdApr 27, 2025
46c4190
Qual: include-what-you-use, const qualifiers, sizeof()
mdeweerdApr 27, 2025
a1263f3
refactor(uncrustify): improve buffer size handling in main function
mdeweerdApr 29, 2025
e36b212
refactor(option): update assignment operator to use const reference
mdeweerdApr 29, 2025
7c824d1
refactor(enum_flags): simplify flags constructor and operators
mdeweerdApr 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
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
@mdeweerd
mdeweerd committedApr 29, 2025
commit95e5df12af592cf5403959e8d38ae7a5e5e3e241
3 changes: 2 additions & 1 deletionsrc/option.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,6 +26,7 @@
#include <vector>

#include <cassert>
#include <cstdio>

#ifdef IGNORE // WinBase.h
#undef IGNORE
Expand DownExpand Up@@ -185,7 +186,7 @@ class Option : public GenericOption

//! resets option to its default value
//- currently only used by the emscripten interface
virtualvoid reset() override;
void reset() override;

bool read(const char *s) override;
std::string str() const override;
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp