llvm
a20c57dc - [SYCL] Add Noexcept to clang SPIR-V builtin declaration (#17435)

Commit
361 days ago
[SYCL] Add Noexcept to clang SPIR-V builtin declaration (#17435) This fixes following error when SYCL header declares a SPIR-V builtin with noexcept specifier and the builtin is also declared in clang/lib/Sema/SPIRVBuiltins.td: "exception specification in declaration does not match previous declaration" For instance, __spirv_ControlBarrier declaration in clang/test/CodeGenSYCL/Inputs/sycl.hpp has the build error.
Author
Parents
Loading