playerC wrote:

Hello @ArcsinX  @HighCommander4 :

Great thanks for your suggestions.

here an log example:

```
I[02:39:22.091] clangd version 23.0.0git 
([email protected]:playerC/llvm-project.git
a71db5863999e426d0766b225056710eaab1e1ad)
I[02:39:22.093] Features: unix
I[02:39:22.093] PID: 19770
I[02:39:22.094] Working directory: /pub/sftp/llvm-project
I[02:39:22.094] argv[0]: /pub/sftp/llvm-project/build/bin/clangd
I[02:39:22.094] argv[1]: --check=/pub/sftp/testc/a.c
I[02:39:22.095] Entering check mode (no LSP server)
I[02:39:22.095] Testing on source file /pub/sftp/testc/a.c
I[02:39:22.098] Loading compilation database...
I[02:39:22.107] Detect default -resource-dir=/usr/local/lib/clang/23 not valid
I[02:39:22.108] Detect default -resource-dir=/usr/lib/clang/23 not valid
                ^~~~~~ New Log ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I[02:39:22.108] Failed to find compilation database for /pub/sftp/testc/a.c
E[02:39:22.109] No valid -resource-dir option
                ^~~~~~ New Log ~~~~~~~~~~~~~~
I[02:39:22.110] Generic fallback command is:[/pub/sftp/testc]
/usr/bin/clang -- /pub/sftp/testc/a.c
                ^~~~~~~~ No resource-dir ~~~~~~~~~~~~~
I[02:39:22.112] Parsing command...
I[02:39:22.118] internal (cc1) args are: -cc1 ... ...  
-fcoverage-compilation-dir=/pub/sftp/testc
-resource-dir /usr/lib/clang/23
              ^~~ NOT Exists ~~
-internal-isystem /usr/lib/clang/23/include
                 ^~~~~ NOT Exists ~~~~~~~~~~
......
```

https://github.com/llvm/llvm-project/pull/203332
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to