aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-02-06 06:20:11 +0000
committerNico Weber <nicolasweber@gmx.de>2013-02-06 06:20:11 +0000
commite8a97985f72b4e11435ff2107c0f11e925fb6d96 (patch)
tree4f3ebff0126960f8c599a1b7d755268c332fdae9 /lib/Format/Format.cpp
parentce6a10eaadd152f05103dfffe22ac20ef2c04615 (diff)
Formatter: No space after & and * in front of ObjC message expressions.
1. let determineStarAmp() check of unary operators before checking for "is next '['". That check was added in r173150, and the test from that revision passes either way. 2. change determineStarAmp() to categorize '*' and '&' after '=' as unary operator. 3. don't let parseSquare() overwrite the type of a '*' or '&' before the start of an objc message expression if has the role of unary operator. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions