yaxunl marked 7 inline comments as done.

================
Comment at: include/clang/Basic/Attr.td:701
@@ -699,1 +700,3 @@
 
+def OpenCLNoSVM : Attr {
+  let Spellings = [GNU<"nosvm">];
----------------
aaron.ballman wrote:
> Since the attribute is ignored by clang, you should inherit from IgnoredAttr.
I tried that from beginning. If I inherit from IgnoredAttr, it seems to be 
ignored by the parser and won't reach the sema check part, and I cannot emit 
error msg based on OpenCL version.

Repository:
  rL LLVM

http://reviews.llvm.org/D17861



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to