Allow all OpenCL types to be parsed in C++ mode.
I plan to enable more tests but they are currently failing for different reasons. This commit makes sure images can be used as they are reported in the bug.
Paths
| Differential D58179
[OpenCL][PR40707] Allow OpenCL C types in C++ mode ClosedPublic Authored by Anastasia on Feb 13 2019, 7:22 AM.
Details
Summary Allow all OpenCL types to be parsed in C++ mode. I plan to enable more tests but they are currently failing for different reasons. This commit makes sure images can be used as they are reported in the bug.
Diff Detail
Revision Contents
Diff 186655 include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/TokenKinds.def
lib/Parse/ParseDecl.cpp
lib/Parse/ParseExprCXX.cpp
lib/Parse/ParseTentative.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGenOpenCL/images.cl
test/SemaOpenCL/invalid-image.cl
test/SemaOpenCLCXX/restricted.cl
|