Objective-C ARC. Provide diagnostic and fix-it
when casting a retainable object to a objc_bridge_related CF type with the suggestion of applying the method specified in the bridging attribute to the object. // rdar://15932435 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211807 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Sema/Sema.h 2 additions, 0 deletionsinclude/clang/Sema/Sema.h
- lib/Sema/SemaExpr.cpp 3 additions, 1 deletionlib/Sema/SemaExpr.cpp
- lib/Sema/SemaExprObjC.cpp 23 additions, 0 deletionslib/Sema/SemaExprObjC.cpp
- test/FixIt/fixit-objc-bridge-related.m 43 additions, 0 deletionstest/FixIt/fixit-objc-bridge-related.m
Loading
Please register or sign in to comment