Add basic support for parsing OpenCL
ClosedPublic

Authored by kfunk on Mar 4 2017, 12:47 AM.

Details

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kfunk created this revision.Mar 4 2017, 12:47 AM
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptMar 4 2017, 12:47 AM
kfunk edited the summary of this revision. (Show Details)Mar 4 2017, 12:47 AM
kfunk added a reviewer: KDevelop.

Note: There's no such thing as OpenCL mime type in shared-mime-info yet.

Proposed a patch upstream: https://bugs.freedesktop.org/show_bug.cgi?id=99654

kfunk updated this revision to Diff 12151.Mar 4 2017, 12:50 AM

Coding style fixes

kfunk added a comment.Mar 5 2017, 2:42 PM

Bump?

I'd actually like to get this into 5.1 branch so we have the OpenCL support as part of the 5.1.0 release. This patch is super trivial and doesn't change any existing behavior (e.g. in the C/C++/ObjC support parts).

brauch added a subscriber: brauch.Mar 5 2017, 5:26 PM

LGTM but I know nothing about neither clang nor opencl :/

mwolff accepted this revision.Mar 5 2017, 7:26 PM
mwolff added a subscriber: mwolff.

nice!

languages/plugins/custom-definesandincludes/compilerprovider/settingsmanager.cpp
85

keep the { on the next line please, or at least add a whitespace in front

This revision is now accepted and ready to land.Mar 5 2017, 7:26 PM
This revision was automatically updated to reflect the committed changes.