aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-05-15 19:17:49 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-05-15 19:17:49 +0000
commit0d578a6f873697309e6dd027352fa0716e29986f (patch)
tree8ddba9c7f9494d535c511bcf1b882311f971eb22 /lib/Driver/Tools.cpp
parentf5343ff93a9549c49469dee366733e1e31ab836e (diff)
[objcmt] Rewrite [NSNumber numberWith*] messages to the new @() boxing syntax.
There are some caveats: -If an implicit cast (e.g. int -> float for numberWithFloat:) was required, the message will not get rewritten -If the message was with numberWithInteger:/numberWithUnsignedInteger:, which are very commonly used, be more liberal and allow the boxing syntax if the underlying type has same signedness and will not lose precision. Part of rdar://11438360 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions