Skip to content

tidy: Fix some clang-tidy errors#12456

Closed
dio wants to merge 3 commits intoenvoyproxy:masterfrom
dio:tidy
Closed

tidy: Fix some clang-tidy errors#12456
dio wants to merge 3 commits intoenvoyproxy:masterfrom
dio:tidy

Conversation

@dio
Copy link
Copy Markdown
Member

@dio dio commented Aug 4, 2020

Commit Message: This fixes some clang-tidy errors (including clang-diagnostic-error).

Signed-off-by: Dhi Aurrahman dio@tetrate.io

Risk Level: Low
Testing: Manual, CI
Docs Changes: N/A
Release Notes: N/A

dio added 3 commits August 4, 2020 07:17
This makes sure we can run ./ci/run_clang_tidy.sh with RUN_FULL_CLANG_TIDY=1.

Signed-off-by: Dhi Aurrahman <dio@tetrate.io>
Signed-off-by: Dhi Aurrahman <dio@tetrate.io>
Signed-off-by: Dhi Aurrahman <dio@tetrate.io>
Comment thread .gitignore
BROWSE
/build
/build_*
*.bak
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

When running RUN_FULL_CLANG_TIDY=1 ./ci/run_clang_tidy.sh it produces bazelrc.bak.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

When merging #12458 this is not relevant.

deps = CODEC_LIB_DEPS + [
"//source/common/common:statusor_lib",
],
deps = CODEC_LIB_DEPS,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This fixes the confusing missing common/common/statusor.h.

@dio dio marked this pull request as ready for review August 4, 2020 09:46
@dio dio requested a review from lizan as a code owner August 4, 2020 09:46
@dio
Copy link
Copy Markdown
Member Author

dio commented Aug 4, 2020

Hum, will merge #12458 then.

@dio dio changed the title clang-tidy: Make sure RUN_FULL_CLANG_TIDY runs tidy: Fixes some clang-tidy errors Aug 4, 2020
@dio dio changed the title tidy: Fixes some clang-tidy errors tidy: Fix some clang-tidy errors Aug 4, 2020
@dio dio closed this Aug 4, 2020
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.

1 participant