Juan Manuel Martinez =?utf-8?q?Caamaño?= <[email protected]>, Juan Manuel Martinez =?utf-8?q?Caamaño?= <[email protected]>, Juan Manuel Martinez =?utf-8?q?Caamaño?= <[email protected]> Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
================ @@ -0,0 +1,98 @@ +// RUN: %clang_cc1 %s -triple amdgcn-unknown-unknown -verify -pedantic -Wconversion -Werror -fsyntax-only -cl-std=CL -finclude-default-header %s +// RUN: %clang_cc1 %s -triple amdgcn-unknown-unknown -verify -pedantic -Wconversion -Werror -fsyntax-only -cl-std=CL -finclude-default-header -fdeclare-opencl-builtins %s +// expected-no-diagnostics + ---------------- svenvh wrote: If this extension only adds new builtin functions without altering parsing, you [shouldn't need any pragmas](https://clang.llvm.org/docs/OpenCLSupport.html#opencl-extensions-and-features). I suppose the extension is enabled for the chosen triple already. https://github.com/llvm/llvm-project/pull/143507 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits