]> granicus.if.org Git - clang/commit
[ObjC] Don't disallow vector parameters/return values in methods
authorAlex Lorenz <arphaman@gmail.com>
Fri, 5 May 2017 16:15:17 +0000 (16:15 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 5 May 2017 16:15:17 +0000 (16:15 +0000)
commite9b6eb5833703a281f3da4a96b9c3a8674f02829
treeea24a6826412b30dbe07ad897602ef81434e94d1
parentdc1f3e5a2b9639e3ceb052cd291b3cd58e7c17ae
[ObjC] Don't disallow vector parameters/return values in methods
whose introduced version is lower than the allowed version.

We should just rely on the target version as this introduced version can lead
to false positives (e.g. deprecated declarations).

rdar://31964333

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302250 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclObjC.cpp
test/SemaObjC/x86-method-vector-values.m