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][task 56] enable modernize-raw-string-literal and fix existing linter errors #55675

Merged

Conversation

SigureMo
Copy link
Member

@SigureMo SigureMo commented Jul 24, 2023

PR types

Others

PR changes

Others

Description

apt install clang-tidy-10

python ./tools/codestyle/clang-tidy.py -p=build -j=10 -extra-arg=-Wno-unknown-warning-option \
-extra-arg=-Wno-pessimizing-move \
-extra-arg=-Wno-braced-scalar-init \
-extra-arg=-Wno-deprecated-copy \
-extra-arg=-Wno-dangling-gsl \
-extra-arg=-Wno-final-dtor-non-final-class \
-extra-arg=-Wno-implicit-int-float-conversion \
-extra-arg=-Wno-inconsistent-missing-override \
-extra-arg=-Wno-infinite-recursion \
-extra-arg=-Wno-mismatched-tags  \
-extra-arg=-Wno-self-assign \
-extra-arg=-Wno-sign-compare \
-extra-arg=-Wno-sometimes-uninitialized \
-extra-arg=-Wno-tautological-overlap-compare \
-extra-arg=-Wno-unused-const-variable \
-extra-arg=-Wno-unused-lambda-capture \
-extra-arg=-Wno-unused-private-field \
-extra-arg=-Wno-unused-value \
-extra-arg=-Wno-unused-variable  \
-extra-arg=-Wno-overloaded-virtual  \
-extra-arg=-Wno-defaulted-function-deleted  \
-extra-arg=-Wno-delete-non-abstract-non-virtual-dtor  \
-extra-arg=-Wno-return-type-c-linkage -j=10  > clang-tidy.log  2>&1

grep "modernize-raw-string-literal" clang-tidy.log

PCard-66962

@SigureMo SigureMo changed the title [clang-tidy] enable modernize-raw-string-literal and fix existing errors [clang-tidy][task 56] enable modernize-raw-string-literal and fix existing errors Jul 24, 2023
@SigureMo SigureMo changed the title [clang-tidy][task 56] enable modernize-raw-string-literal and fix existing errors [clang-tidy][task 56] enable modernize-raw-string-literal and fix existing linter errors Jul 24, 2023
@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Aug 3, 2023

Sorry to inform you that 463f831's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@luotao1
Copy link
Contributor

luotao1 commented Aug 22, 2023

merge下develop吧

@luotao1 luotao1 merged commit 241f97d into PaddlePaddle:develop Aug 29, 2023
BeingGod pushed a commit to BeingGod/Paddle that referenced this pull request Sep 9, 2023
@SigureMo SigureMo deleted the clang-tidy/modernize-raw-string-literal branch December 28, 2023 09:09
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.

4 participants