diff options
author | Ben Hamilton <benhamilton@google.com> | 2018-04-12 15:11:53 +0000 |
---|---|---|
committer | Ben Hamilton <benhamilton@google.com> | 2018-04-12 15:11:53 +0000 |
commit | b1a7919e4cd0175ec08a3efb3c183913e21628ba (patch) | |
tree | ab97db7fdf2e944b8d15c8088a4d7b1690058fe5 /llvm/lib/CodeGen/GlobalMerge.cpp | |
parent | df72e9851a33d137de1d323c06feea3faf16deb3 (diff) | |
download | bcm5719-llvm-b1a7919e4cd0175ec08a3efb3c183913e21628ba.tar.gz bcm5719-llvm-b1a7919e4cd0175ec08a3efb3c183913e21628ba.zip |
[clang-format] Improve ObjC guessing heuristic by supporting all @keywords
Summary:
This diff improves the Objective-C guessing heuristic by
replacing the hard-coded list of a subset of Objective-C @keywords
with a general check which supports all @keywords.
I also added a few more Foundation keywords which were missing from
the heuristic.
Test Plan: Unit tests updated. Ran tests with:
% make -j16 FormatTests && ./tools/clang/unittests/Format/FormatTests
Reviewers: djasper, jolesiak
Reviewed By: djasper
Subscribers: klimek, cfe-commits
Differential Revision: https://reviews.llvm.org/D45521
llvm-svn: 329918
Diffstat (limited to 'llvm/lib/CodeGen/GlobalMerge.cpp')
0 files changed, 0 insertions, 0 deletions