[PATCH] D100860: [C++4OpenCL] Add missing OpenCL specific diagnostics in templates
Ole Strohm via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 21 04:09:47 PDT 2021
olestrohm updated this revision to Diff 339175.
olestrohm added a comment.
Inlined the `thread_local` check and moved `static clk_event_t` into the appropriate test.
I did not move the `thread_local` check since NewVD had the wrong value for `TSCS`, so D was required.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100860/new/
https://reviews.llvm.org/D100860
Files:
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaOpenCL/clk_event_t.cl
clang/test/SemaOpenCL/event_t.cl
clang/test/SemaOpenCL/sampler_t.cl
clang/test/SemaOpenCLCXX/template-diagnostics.clcpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100860.339175.patch
Type: text/x-patch
Size: 10165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210421/33148f7d/attachment-0001.bin>
More information about the cfe-commits
mailing list