This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix LLVM include order check policy
ClosedPublic

Authored by kadircet on Feb 3 2022, 8:29 AM.

Details

Summary

Clang-format LLVM style has a custom include category for gtest/ and
gmock/ headers between regular includes and angled includes. Do the same here.

Fixes https://github.com/llvm/llvm-project/issues/53525.

Diff Detail

Event Timeline

kadircet created this revision.Feb 3 2022, 8:29 AM
kadircet requested review of this revision.Feb 3 2022, 8:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2022, 8:29 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
sammccall accepted this revision.Feb 3 2022, 8:31 AM

Thank you!
Seems strange to me that we have both forms of test here, but I'm sure there's a reason...

This revision is now accepted and ready to land.Feb 3 2022, 8:31 AM
This revision was landed with ongoing or failed builds.Feb 3 2022, 8:33 AM
This revision was automatically updated to reflect the committed changes.