Add basic support for CUDA parsing
ClosedPublic

Authored by qi437103 on Mar 16 2017, 7:11 PM.

Details

Summary

Mostly based on Kevin's D4930 for OpenCL parsing.
LLVM has CUDA support since 3.9 [1], though not really good :/
Also added configuration UI for CUDA and OpenCL parser arguments.

[1] http://releases.llvm.org/3.9.1/docs/CompileCudaWithLLVM.html

Test Plan

Tested locally with a small CUDA project. It still can't parse perfectly, but at least won't mark everything as error. The language standard settings not actually work though.

Diff Detail

Repository
R32 KDevelop
Branch
cuda-parsing
Lint
No Linters Available
Unit
No Unit Test Coverage
qi437103 created this revision.Mar 16 2017, 7:11 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptMar 16 2017, 7:11 PM
kfunk accepted this revision.Mar 17 2017, 7:05 PM
kfunk added a subscriber: kfunk.

Nice! :)

This revision is now accepted and ready to land.Mar 17 2017, 7:05 PM
qi437103 updated this revision to Diff 12573.Mar 17 2017, 7:32 PM

Rebase on master

qi437103 closed this revision.Mar 17 2017, 7:33 PM