Nathan Ridge
Nathan Ridge
Nothing obvious jumps out at me from the logs. In particular, we see the system include extractor succeeding with: > I[02:30:12.172] System includes extractor: successfully executed /opt/homebrew/bin/gcc-13 got includes: "/opt/homebrew/Cellar/gcc/13.2.0/bin/../lib/gcc/current/gcc/aarch64-apple-darwin23/13/../../../../../../include/c++/13,...
> is it any exists vscode-clangd release docs for developer refers? I hope i can found some spase time to do some contribute on it vscode-clangd give much help on...
I agree that there is a legitimate bug here. (I don't have a guess about a concrete diagnosis, but presumably it's related to the interaction between clangd's preamble optimization and...
> I guess the reason is that gcc implementation of `expected` requires `__cpp_concepts >= 202002L`, while clang has `#define __cpp_concepts 201907L`. Correct. Not much we can do about this on...
In my experience, this usually happens when the index is out of date, for example when you have pulled the code from upstream while clangd is running. Restating clangd to...
> Log: [log.txt](https://github.com/clangd/vscode-clangd/files/12297819/log.txt) What this log is showing is that go-to-definition is invoked in DecimalComparison.h line 99, and the target is Block.cpp line 183. Does this match the behaviour you...
Which file and line is the expected result?
Is there something in Block.cpp that clangd might confuse for the definition you're looking for, like a function with the same name, or a redeclaration of the same function?
Interesting. Taking a closer look at the logs, the following looks pretty suspicious: > I[10:50:27.125] ASTWorker building file /DATA/disk3/xzx/tiflash/dbms/src/Core/DecimalComparison.h version 1 with command inferred from /DATA/disk3/xzx/tiflash/dbms/src/Core/Block.cpp > [/DATA/disk3/xzx/tiflash/build] > /DATA/disk3/xzx/llvm-15.0.0/bin/clang++...
Here is something interesting in the transferred compile command: > /DATA/disk3/xzx/llvm-15.0.0/bin/clang++ [...] **-c /DATA/disk3/xzx/tiflash/dbms/src/Core/Block.cpp** -x c++-header -std=gnu++20 -ferror-limit=0 -resource-dir=/DATA/disk3/xzx/llvm-15.0.0/lib/clang/15.0.7 -- /DATA/disk3/xzx/tiflash/dbms/src/Core/DecimalComparison.h The command references two source files, Block.cpp before the...