Nathan Ridge
Nathan Ridge
As for why `ExtractFunction` uses the SelectionTree API in the way that it does -- and in particular, why it disqualifies a selection that include the entire `CXXOperatorCallExpr` -- that...
> > A bit of playing around with this suggests that "Extract to Function" is not offered for any single expression-statement. > > Note that I can add as many...
> ignoring nonexistent directory "/not/exist/usr/include/c++/11.2.0" Is that a literal line of output? Where does the `/not/exist` come from?
Anyways, I'm not too familiar with the details of `--sysroot`, but a common way to get cross-compilation scenarios working is to use the `--query-driver` command line argument to clangd as...
The LLVM project does publish pre-built packages for FreeBSD 13 (see e.g. https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.6), which include `clangd`. There are currently no clangd-specific packages for FreeBSD (https://github.com/clangd/clangd/releases). We can keep this issue...
Apparently one approach people have taken is to run a FreeBSD VM in a Mac builder: https://github.com/marketplace/actions/freebsd-vm
Alternatively... maybe instead of rolling our own builds, we could just arrange for the LLVM project buildbots that build the LLVM packages for various platforms, to also build clangd-only packages?...
> Is this currently configurable [...]? Not currently. > If not, will it be possible to expose an argument to allow increasing limit? I think making it configurable would make...
I believe this has been addressed by https://reviews.llvm.org/D136454.
Comparing the following section of the log file: GCC 8: > I[01:11:53.350] ASTWorker building file c:\Users\Zepu.Yan\Desktop\Code\CLANDTEST\main.cpp version 327 with command [C:/Users/Zepu.Yan/Desktop/Code/CLANDTEST/build] "C:\Users\Zepu.Yan\Qt\Tools\mingw810_64\bin\x86_64-w64-mingw32-g++.exe" --target=x86_64-w64-mingw32 --driver-mode=g++ -g -o "CMakeFiles\clangdtest.dir\main.cpp.obj" -c "-resource-dir=c:\Users\Zepu.Yan\AppData\Roaming\Code\User\globalStorage\llvm-vs-code-extensions.vscode-clangd\install\14.0.3\clangd_14.0.3\lib\clang\14.0.3" --...