OpenCilk / opencilk-project

Monorepo for the OpenCilk compiler. Forked from llvm/llvm-project and based on Tapir/LLVM.
Other
93 stars 29 forks source link

clangd support for Cilk #246

Closed neboat closed 4 months ago

neboat commented 4 months ago

This PR adds support to clangd for Cilk parallel-control-flow keywords, cilk_for, cilk_spawn, cilk_scope, and cilk_sync. The changes allow features of modern IDEs, including VS Code and others that use clangd, to work properly around these Cilk keywords.

Documentation on how to configure VS Code to use OpenCilk's version of clangd can be found here: https://github.com/neboat/vscode-opencilk.