jvesely added inline comments.

================
Comment at: test/SemaOpenCL/extension-version.cl:11
@@ +10,3 @@
+#endif
+#pragma OPENCL EXTENSION cl_clang_storage_class_specifiers: enable
+
----------------
Anastasia wrote:
> Could you use standard diagnostic check please:
>   expected-warning{{unknown OpenCL extension ...
> 
> Similarly to SemaOpenCL/extensions.cl
not sure I follow, the test does not trigger any diagnostics (by design).
are you saying that I should introduce negative checks to make sure extensions 
are not available outside of their respective context?
Is there a way to filter verifier tags based on clang invocation? (something 
like FileCheck prefix)


Repository:
  rL LLVM

http://reviews.llvm.org/D20447



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

Reply via email to