Skip to content

[SYCL] Check return of Expected<T> when reading section size content #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 15, 2019

Conversation

mdtoguchi
Copy link
Contributor

Community pull down introduced Expected on the return of getContents. Apply
the needed check after return to satisfy.

From the llvm manual: All Error instances, whether success or failure, must be
either checked or moved from (via std::move or a return) before they are
destructed

Signed-off-by: Michael D Toguchi [email protected]

Community pull down introduced Expected<T> on the return of getContents.  Apply
the needed check after return to satisfy.

From the llvm manual: All Error instances, whether success or failure, must be
either checked or moved from (via std::move or a return) before they are
destructed

Signed-off-by: Michael D Toguchi <[email protected]>
@mdtoguchi mdtoguchi requested a review from bader June 14, 2019 14:38
@bader bader merged commit 9ceb9e2 into intel:sycl Jun 15, 2019
vmaksimo pushed a commit to vmaksimo/llvm that referenced this pull request Jun 28, 2021
Bring spirv.hpp in sync with f95c3b3 ("Merge pull request intel#219 from
cmarcelo/SPV_EXT_shader_atomic_float16_add", 2021-06-23) from
github.com/KhronosGroup/SPIRV-Headers .

Notably, this brings the SPV_KHR_integer_dot_product extension enum
values and CPP_for_OpenCL source language enum value, together with
other additions.  There are some reorderings too.

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@6847551
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants