Skip to content
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 rein0925 #86

Merged
merged 6 commits into from
Mar 31, 2024
Merged

Clang tidy rein0925 #86

merged 6 commits into from
Mar 31, 2024

Conversation

rein0925
Copy link
Contributor

特に問題なさそうなのでpio checkに引っかからないようにしました

@rein0925 rein0925 requested a review from H1rono March 31, 2024 14:47
Comment on lines 212 to 213
// Silence all checks for all lines between the BEGIN and END
// NOLINTBEGIN
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

こういうつもりでした...
あと、NOLINTBEGINの前に空白2つ入ってるのが気になる

    // ↓にNOLINTBEGINを書く理由の説明がここに入る
    // NOLINTBEGIN

Copy link
Member

@H1rono H1rono left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@H1rono H1rono merged commit afaef05 into main Mar 31, 2024
5 of 6 checks passed
@H1rono H1rono deleted the clang-tidy-rein0925 branch March 31, 2024 15:25
@H1rono H1rono mentioned this pull request Mar 31, 2024
@rein0925
Copy link
Contributor Author

rein0925 commented Apr 7, 2024

ちなみに,件のswitch文は以下のようにすれば引っかかりませんでした.

switch (num) {
case 1:
    this->led1 = !this->led1;
    break;
case 2:
    this->led2 = !this->led2;
        break;
case 3:
    this->led3 = !this->led3;
    break;
default:
    break;
}

@H1rono
Copy link
Member

H1rono commented Apr 7, 2024

じゃそれでもっかいPR出してください
NOLINTのコメントは極力消したいので

@rein0925
Copy link
Contributor Author

rein0925 commented Apr 7, 2024

ただこれをclang formatがそれを許してくれないんですが大丈夫ですかね??

@H1rono
Copy link
Member

H1rono commented Apr 7, 2024

じゃあとりあえず放置か...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants