[PATCH] D28670: [ObjC] Disallow vector parameters and return values in Objective-C methods on older X86 targets

Bruno Cardoso Lopes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 12 16:42:08 PDT 2017


bruno added inline comments.


================
Comment at: lib/Sema/SemaDeclObjC.cpp:4309
+                                          const ObjCMethodDecl *Method) {
+  SourceLocation Loc;
+  QualType T;
----------------
Maybe add an assert for `Triple.getArch() == llvm::Triple::x86)` here?


Repository:
  rL LLVM

https://reviews.llvm.org/D28670





More information about the cfe-commits mailing list