[PATCH] D65012: Adds support for formatting NS_CLOSED_ENUM alongside NS_ENUM.

2019-07-19 Thread Hank Heijink via Phabricator via cfe-commits
heijink created this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D65012 Files: clang/lib/Format/FormatToken.h clang/lib/Format/UnwrappedLineParser.cpp clang/unittests/Format/FormatTest.cpp

[PATCH] D65012: Adds support for formatting NS_CLOSED_ENUM alongside NS_ENUM.

2019-07-22 Thread Hank Heijink via Phabricator via cfe-commits
heijink updated this revision to Diff 211065. heijink edited the summary of this revision. heijink added a comment. Also added support for formatting CF_CLOSED_ENUM. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D65012/new/ https://reviews.llvm.org/

[PATCH] D65012: Adds support for formatting NS_CLOSED_ENUM and CF_CLOSED_ENUM alongside NS_ENUM and CF_ENUM.

2019-07-22 Thread Hank Heijink via Phabricator via cfe-commits
heijink updated this revision to Diff 211135. heijink added a comment. Adds NS_CLOSED_ENUM to the keywords that cause LLVM to detect Objective-C. Changed NSInteger to int in the unit tests, because NSInteger also signals Objective-C. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST AC

[PATCH] D65012: Adds support for formatting NS_CLOSED_ENUM and CF_CLOSED_ENUM alongside NS_ENUM and CF_ENUM.

2019-07-22 Thread Hank Heijink via Phabricator via cfe-commits
heijink updated this revision to Diff 211137. heijink added a comment. Fixed formatting of Format.cpp. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D65012/new/ https://reviews.llvm.org/D65012 Files: clang/lib/Format/Format.cpp clang/lib/Format