summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-11-23 14:27:27 +0000
committerDaniel Jasper <djasper@google.com>2013-11-23 14:27:27 +0000
commit6a6a31d1e3b860cfeb4efc7c4e6c0173fc592986 (patch)
tree2b81c721c582e107bd750ee4c93857ef19e95a17 /lib/CodeGen/CGExprComplex.cpp
parentfd39a7dd3a9e9b9a6a1653fe90d3e667dd777f66 (diff)
downloadclang-6a6a31d1e3b860cfeb4efc7c4e6c0173fc592986.tar.gz
clang-6a6a31d1e3b860cfeb4efc7c4e6c0173fc592986.tar.bz2
clang-6a6a31d1e3b860cfeb4efc7c4e6c0173fc592986.tar.xz
clang-format: Fix bug in ObjC method declaration formatting.
Also disallow breaking between "@" and "{" or "[". Before: - (NSAttributedString *)attributedStringForSegment:(NSUInteger)segment index:(NSUInteger)index attributes:(NSDictionary *)attributes nonDigitAttributes:(NSDictionary *) nonDigitAttributes; [mailComposeViewController setToRecipients:@ [ NSBundle.mainBundle.infoDictionary[@"ABBFeedbackEmail"] ]]; After: - (NSAttributedString *)attributedStringForSegment:(NSUInteger)segment index:(NSUInteger)index attributes:(NSDictionary *)attributes nonDigitAttributes: (NSDictionary *)nonDigitAttributes; [mailComposeViewController setToRecipients: @[ NSBundle.mainBundle.infoDictionary[@"ABBFeedbackEmail"] ]]; This fixes llvm.org/PR18030. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions