Lewis Lucas

Results 16 comments of Lewis Lucas

I remember that there was a similar bug in clangd before, where for extremely large struct static arrays like this, clangd would attempt to allocate all the memory at once,...

@zyn0217 I conducted the same test in Ubuntu LTS on WSL2 and found that this issue also exists in clangd on WSL2. The test code is the minimal reproducible code...

Okay. However, the memory issue I mentioned probably occurred between 2020 and 2021.

Problem still NOT resolved with clangd 18.1.3(LLVM-Mingw Project) ![image](https://github.com/clangd/clangd/assets/48874489/0e180c44-0d2d-4fcf-92a0-d0ed4d40db35) ```cpp #include using namespace std; pair arr[100000010]; int main() { return 0; } ```

And the problem occured even if using "-std=c++17".