ccls icon indicating copy to clipboard operation
ccls copied to clipboard

C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting

Results 159 ccls issues
Sort by recently updated
recently updated
newest added

### Observed behavior It fails to find references to the variable "i". ``` int main() { int i=0; // line 2 return [captureVar=i](){ return captureVar; }(); // line 3 }...

### Observed behavior When the cursor is on Child::joe definition, xref-find-references finds nothing. It should have found the call to joe in main(). ``` template struct Parent { virtual void...

I am trying to build this project on RPI3 (raspberry pi os 32bit). Compiling was successfull, but I've got linker error: ``` /usr/bin/ld: CMakeFiles/ccls.dir/src/pipeline.cc.o: undefined reference to symbol '__atomic_load_8@@LIBATOMIC_1.0' /usr/bin/ld:...

Here are some things you should try before filing a bug report: + For client issues related to [emacs-ccls](https://github.com/MaskRay/emacs-ccls) or [vscode-ccls](https://github.com/MaskRay/vscode-ccls), report in their own repository. + For build problems,...

### Observed behavior When a project uses out of tree builds like in a _./build/._ directory inside the project folder compile_commands.json are not in the project folder but in that...

Hi, I'm working with on a project, this project uses PlatformIO and is targeted to an ESP32, as a recomendation from [this](https://docs.platformio.org/en/latest/integration/ide/vim.html) website I installed and compiled `ccls` version "0.20230717"...

CCLS detects my C headers as C++ headers. ### Steps to reproduce 1. Create a C project. 2. Create a header file which doesn't have an associated C file. 3....

After I've setup environment for platformio core in emacs, ccls shows following errors ![Screenshot from 2024-01-30 15-30-17](https://github.com/MaskRay/ccls/assets/1529102/e2f94ede-919d-4ac3-8ff2-0499e3449b63) The project can be compiled without error ![Screenshot from 2024-01-30 15-36-34](https://github.com/MaskRay/ccls/assets/1529102/8a443cd5-5826-4fde-8fa0-4ed87b551554) ### Steps...

* ccls version (`git describe --tags --long`): * clang version: * OS: ![image](https://github.com/MaskRay/ccls/assets/44012914/976014e4-2ba5-4a2c-b9f4-82c0a9dae055) * Editor: NVIM v0.10.0-dev-2175+gc8a27bae3 This is my configuration file ![image](https://github.com/MaskRay/ccls/assets/44012914/5cb9dc60-f607-4564-a61a-85b735066b53) after a few minutes ![image](https://github.com/MaskRay/ccls/assets/44012914/5ade48c7-7aab-41a3-bef5-1295eda1c547)

My work machine is an AMD Epyc 9634 with 166 threads. While indexing an LLVM build with clang and mlir enabled and ~10k items to be indexed, ccls often hovers...