Allow -cl-std and other standard -cl- options from cc1 to driver.
Added a test for the options moved.
Paths
| Differential D21031
[OpenCL] Allow -cl-std and other standard -cl- options in driver ClosedPublic Authored by ashi1 on Jun 6 2016, 10:29 AM.
Details Summary Allow -cl-std and other standard -cl- options from cc1 to driver. Added a test for the options moved.
Diff Detail
Event Timeline
ashi1 marked 2 inline comments as done. Comment ActionsRevised with Anastasia's comments. Please take a look at the diagnostic to see if it is what we want.
ashi1 marked 2 inline comments as done. Comment ActionsRevised based on Anastasia's comments. Also clang-test run passes, the testcases should be working correctly.
This revision is now accepted and ready to land.Jun 23 2016, 3:35 AM Closed by commit rL274150: [OpenCL] Allow -cl-std and other standard -cl- options in driver (authored by yaxunl). · Explain WhyJun 29 2016, 12:46 PM This revision was automatically updated to reflect the committed changes. ashi1 added inline comments.
Revision Contents
Diff 62267 cfe/trunk/include/clang/Basic/DiagnosticFrontendKinds.td
cfe/trunk/include/clang/Driver/CC1Options.td
cfe/trunk/include/clang/Driver/Options.td
cfe/trunk/lib/Driver/Tools.cpp
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
cfe/trunk/test/Driver/opencl.cl
|
It'd be nice if you added cl-no-signed-zeros since it's mentioned here