This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Improve ObjC headers detection.
ClosedPublic

Authored by jolesiak on Dec 12 2017, 4:13 AM.

Details

Summary

This patch improves detection of ObjC header files.
Right now many ObjC headers, especially short ones, are categorized as C/C++.

Way of filtering still isn't the best, as most likely it should be token-based.

Diff Detail

Event Timeline

jolesiak created this revision.Dec 12 2017, 4:13 AM
krasimir accepted this revision.Dec 12 2017, 5:43 AM

Thank you! I'll go ahead and commit this for you!

This revision is now accepted and ready to land.Dec 12 2017, 5:43 AM