]> granicus.if.org Git - clang/commit
When applying ARC __weak to a non-objc pointer, do not give error that
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 7 Nov 2011 18:40:21 +0000 (18:40 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 7 Nov 2011 18:40:21 +0000 (18:40 +0000)
commit5cad82236ecc0a2eeed2edd75e119f6069a99f4c
tree6de61a6e283091ddc2403cf8040e007fb07fdc00
parent8cacea57b6cd288f7578200e4884ab56bafc1a32
When applying ARC __weak to a non-objc pointer, do not give error that
__weak is unsupported by the deployment target, since it is going to be
ignored anyway.

Makes it easier for incremental migration from GC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143975 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp
test/SemaObjC/arc-no-runtime.m