| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Part of rdar://11438360
llvm-svn: 156880
|
|
|
|
|
|
|
|
| |
more liberal in rewriting when the parameter is an enum constant.
Part of rdar://11438360
llvm-svn: 156873
|
|
|
|
|
|
|
|
|
|
|
| |
to use the @() boxing syntax.
It will also rewrite uses of stringWithCString:encoding: where the encoding that is
used is NSASCIIStringEncoding or NSUTF8StringEncoding.
rdar://11438360
llvm-svn: 156868
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
llvm-svn: 156844
|
|
|
|
|
|
|
|
| |
the receiver in parentheses when necessary.
Part of rdar://11438360
llvm-svn: 156789
|
|
|
|
|
|
|
|
| |
cast to 'id' for any argument that requires it.
Part of rdar://11438360.
llvm-svn: 156782
|
|
|
|
| |
llvm-svn: 152633
|
|
|
|
|
|
|
|
|
|
| |
(Lex to AST).
The member variable is always "LangOpts" and the member function is always "getLangOpts".
Reviewed by Chris Lattner
llvm-svn: 152536
|
|
the new Objective-C NSArray/NSDictionary/NSNumber literal syntax.
This introduces a new library, libEdit, which provides a new way to support
migration of code that improves on the original ARC migrator. We now believe
that most of its functionality can be refactored into the existing libraries,
and thus this new library may shortly disappear.
llvm-svn: 152141
|