[PATCH] D17861: [OpenCL] Accept __attribute__((nosvm))

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 9 10:32:42 PST 2016


aaron.ballman added a subscriber: aaron.ballman.
aaron.ballman added a reviewer: aaron.ballman.

================
Comment at: include/clang/Basic/Attr.td:701
@@ -699,1 +700,3 @@
 
+def OpenCLNoSVM : Attr {
+  let Spellings = [GNU<"nosvm">];
----------------
Since the attribute is ignored by clang, you should inherit from IgnoredAttr.


Repository:
  rL LLVM

http://reviews.llvm.org/D17861





More information about the cfe-commits mailing list