D5072: Add basic support for CUDA parsing
Aetf
noreply at phabricator.kde.org
Thu Mar 16 19:11:34 UTC 2017
qi437103 created this revision.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
Mostly based on Kevin's https://phabricator.kde.org/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.
REPOSITORY
R32 KDevelop
BRANCH
cuda-parsing
REVISION DETAIL
https://phabricator.kde.org/D5072
AFFECTED FILES
languages/clang/duchain/parsesession.cpp
languages/clang/kdevclangsupport.json
languages/clang/tests/files/cuda.cu
languages/clang/tests/test_files.cpp
languages/plugins/custom-definesandincludes/compilerprovider/settingsmanager.cpp
languages/plugins/custom-definesandincludes/compilerprovider/settingsmanager.h
languages/plugins/custom-definesandincludes/definesandincludesmanager.cpp
languages/plugins/custom-definesandincludes/kcm_widget/parserwidget.cpp
languages/plugins/custom-definesandincludes/kcm_widget/parserwidget.h
languages/plugins/custom-definesandincludes/kcm_widget/parserwidget.ui
To: qi437103, mwolff
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170316/3fcfda89/attachment.html>
More information about the KDevelop-devel
mailing list