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.
Paths
| Differential D41108
[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. Way of filtering still isn't the best, as most likely it should be token-based.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 12 2017, 5:43 AM
Revision Contents
Diff 126526 lib/Format/Format.cpp
unittests/Format/FormatTestObjC.cpp
|