Skip to content

[build] Fix clang-tidy errors in the LinkedObject::moveIntoList* methods#12378

Merged
yanavlasov merged 2 commits intoenvoyproxy:masterfrom
yanavlasov:clang-tidy
Jul 30, 2020
Merged

[build] Fix clang-tidy errors in the LinkedObject::moveIntoList* methods#12378
yanavlasov merged 2 commits intoenvoyproxy:masterfrom
yanavlasov:clang-tidy

Conversation

@yanavlasov
Copy link
Copy Markdown
Contributor

Commit Message:
Fix clang-tidy errors in the LinkedObject::moveIntoList* methods

Additional Description:
There is no real problem as the actual move happens inside the method, but it is cleaner.

Risk Level: Low
Testing: Unit Tests
Docs Changes: N/A
Release Notes: N/A
Fixes #11691

Signed-off-by: Yan Avlasov yavlasov@google.com

Signed-off-by: Yan Avlasov <yavlasov@google.com>
Signed-off-by: Yan Avlasov <yavlasov@google.com>
Copy link
Copy Markdown
Contributor

@alyssawilk alyssawilk left a comment

Choose a reason for hiding this comment

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

LGTM overall, though can these be static functions in the existing class rather than having their own namesapce?

@alyssawilk alyssawilk self-assigned this Jul 30, 2020
@yanavlasov yanavlasov merged commit 9b07ee8 into envoyproxy:master Jul 30, 2020
chaoqin-li1123 pushed a commit to chaoqin-li1123/envoy that referenced this pull request Aug 7, 2020
…oyproxy#12378)

Fix clang-tidy errors in the LinkedObject::moveIntoList* methods
Signed-off-by: Yan Avlasov <yavlasov@google.com>
chaoqin-li1123 pushed a commit to chaoqin-li1123/envoy that referenced this pull request Aug 7, 2020
…oyproxy#12378)

Fix clang-tidy errors in the LinkedObject::moveIntoList* methods
Signed-off-by: Yan Avlasov <yavlasov@google.com>
Signed-off-by: chaoqinli <chaoqinli@google.com>
PiotrSikora pushed a commit to PiotrSikora/envoy that referenced this pull request Aug 7, 2020
…oyproxy#12378)

Fix clang-tidy errors in the LinkedObject::moveIntoList* methods
Signed-off-by: Yan Avlasov <yavlasov@google.com>
@yanavlasov yanavlasov deleted the clang-tidy branch August 19, 2020 14:05
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.

The LinkedObject::moveIntoList usage is unsafe

2 participants