Update IncludeSorter/IncludeInserter to support objective-c google style (part 1):
- Correctly consider .mm/.m extensions
- Correctly categorize category headers.
- Add support for generated files to go in a separate section of imports
Paths
| Differential D89276
Support ObjC in IncludeInserter ClosedPublic Authored by compositeprimes on Oct 12 2020, 2:58 PM.
Details
Summary Update IncludeSorter/IncludeInserter to support objective-c google style (part 1):
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 13 2020, 7:00 AM Comment Actions clang-format is complaining about my ordering of headers in my test case in IncludeInserterTest (but that's correct objc formatting). Not sure if there's a way to disable that on those lines This revision was landed with ongoing or failed builds.Oct 15 2020, 7:15 PM Closed by commit rGcc175c2cc8e6: Support ObjC in IncludeInserter (authored by alexfh). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 297728 clang-tools-extra/clang-tidy/utils/IncludeSorter.h
clang-tools-extra/clang-tidy/utils/IncludeSorter.cpp
clang-tools-extra/unittests/clang-tidy/IncludeInserterTest.cpp
|