[PATCH] D23712: [OpenCL] Override supported OpenCL extensions with -cl-ext option

Andrew Savonichev via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 22 01:40:48 PDT 2016


asavonic marked 3 inline comments as done.

================
Comment at: include/clang/Basic/OpenCLOptions.h:39
@@ +38,3 @@
+
+  void set(llvm::StringRef Ext, bool Enable = true) {
+    assert(!Ext.empty() && "Extension is empty.");
----------------
yaxunl wrote:
> It seems Enable should be a local variable.
This argument is used when `Ext` is not prefixed by '+' or '-'.


https://reviews.llvm.org/D23712





More information about the cfe-commits mailing list