Variables qualified with the local or const address space may only be
declared in the outermost scope of a kernel.
Patch by Simon Perretta.
Paths
| Differential D34024
[OpenCL] Diagnose scoped address-space qualified variables ClosedPublic Authored by svenvh on Jun 8 2017, 2:34 AM.
Details Summary Variables qualified with the local or const address space may only be Patch by Simon Perretta.
Diff Detail
Event TimelineComment Actions LGTM! Small comment in the test can be addressed in commit!
This revision is now accepted and ready to land.Jun 19 2017, 10:16 AM Closed by commit rL305798: [OpenCL] Diagnose scoped address-space qualified variables (authored by stulova). · Explain WhyJun 20 2017, 7:51 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 103207 cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/lib/Sema/SemaDecl.cpp
cfe/trunk/test/SemaOpenCL/storageclass.cl
|