llvm-project/clang/lib/ARCMigrate
Jordan Rose 288c421b3d Insert a space if necessary when suggesting CFBridgingRetain/Release.
This was a problem for people who write 'return(result);'

Also fix ARCMT's corresponding code, though there's no test case for this
because implicit casts like this are rejected by the migrator for being
ambiguous, and explicit casts have no problem.

<rdar://problem/11577346>

llvm-svn: 158130
2012-06-07 01:10:31 +00:00
..
ARCMT.cpp Remove unused private member variables found by clang's new -Wunused-private-field. 2012-06-06 17:32:50 +00:00
ARCMTActions.cpp Extract the (InputKind, std::string) pair used to describe inputs to 2012-01-20 16:28:04 +00:00
CMakeLists.txt Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
FileRemapper.cpp Fix use of uninitialized variable caught by GCC's -Wmaybe-uninitialized. 2012-05-01 02:45:39 +00:00
Internals.h [arcmt] Use CFBridgingRetain/CFBridgingRelease instead of __bridge_retained/__bridge_transfer 2012-06-01 00:10:47 +00:00
Makefile
ObjCMT.cpp [objcmt] Warn when modern objc migrator does not convert a NSNumber message because it requires a cast. 2012-05-24 16:48:23 +00:00
PlistReporter.cpp Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00
TransAPIUses.cpp [arcmt] Revert r135382, there's a different approach in r135764. rdar://9821111. 2011-07-27 05:28:22 +00:00
TransARCAssign.cpp [arcmt] Fix an assertion hit in rdar://10336125; a bit too complicated to reduce. 2011-11-05 00:02:26 +00:00
TransAutoreleasePool.cpp [arcmt] At an unbridged cast error, if we're returning a load-of-ivar from a +0 method, 2012-06-07 00:44:06 +00:00
TransBlockObjCVariable.cpp Remove the last dead private member in clang. 2012-06-06 20:15:08 +00:00
TransEmptyStatementsAndDealloc.cpp Remove the ref/value inconsistency in filter_decl_iterator. 2012-04-30 02:36:29 +00:00
TransGCAttrs.cpp Remove ref/value inconsistency in redecl_iterator. 2012-05-01 00:48:43 +00:00
TransGCCalls.cpp Remove unused private member variables found by clang's new -Wunused-private-field. 2012-06-06 17:32:50 +00:00
TransProperties.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00
TransRetainReleaseDealloc.cpp [arcmt] At an unbridged cast error, if we're returning a load-of-ivar from a +0 method, 2012-06-07 00:44:06 +00:00
TransUnbridgedCasts.cpp Insert a space if necessary when suggesting CFBridgingRetain/Release. 2012-06-07 01:10:31 +00:00
TransUnusedInitDelegate.cpp [arcmt] At an unbridged cast error, if we're returning a load-of-ivar from a +0 method, 2012-06-07 00:44:06 +00:00
TransZeroOutPropsInDealloc.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00
TransformActions.cpp arc migrator: Provide infrastructure to add options 2012-01-25 00:20:29 +00:00
Transforms.cpp [arcmt] Use CFBridgingRetain/CFBridgingRelease instead of __bridge_retained/__bridge_transfer 2012-06-01 00:10:47 +00:00
Transforms.h [arcmt] At an unbridged cast error, if we're returning a load-of-ivar from a +0 method, 2012-06-07 00:44:06 +00:00