NeKon69
NeKon69
### General crash information General information ``` ===== Build Information ===== Git Revision: 704925ffbfc95040845047f69d31ccb038eabf65 Buildtime Qt Version: 6.9.2 Build Type: RelWithDebInfo Compiler: GNU (15.2.1) Complie Flags: -march=x86-64 -mtune=generic -O2 -pipe...
I sent "incoming calls" request just for fun and my clangd crashed, so i looked at the logs and was able to reproduce the bug using: ```bash #!/bin/bash INIT='{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootUri":"file:///tmp","capabilities":{},"trace":"off"}}' CRASH='{"jsonrpc":"2.0","id":1,"method":"callHierarchy/incomingCalls","params":[]}'...
I have been hitting this for about a month and tracked it down to the `clang-repl --cuda` run in `clang/test/lit.cfg.py`, specifically `have_host_clang_repl_cuda()`. On my machine, any `llvm-lit` run that loads...
After #185304, some tests expect diagnostics that say that an argument "must be a scalar or vector of floating-point types". That message is now outdated for cases where matrices are...
Currently this does not warn: ```cpp #include auto f() { std::vector v{1}; auto val = v.begin(); // does not diagnose val = val + 10; return val; } ``` Expected...
```cpp const int *bad(const int &x [[clang::lifetimebound]]) { // could not verify that the return value can be lifetime bound to 'x' return (const int *)reinterpret_cast(&x); // clearly escapes }...
https://godbolt.org/z/19K3n88dh ```cpp #include #include void f(std::string_view s [[clang::lifetime_capture_by(no_such_param)]]); void use() { f(std::string()); } // crash! ``` Trace ``` :4:56: error: 'lifetime_capture_by' attribute argument 'no_such_param' is not a known function parameter;...
The analysis misses this GSL Pointer assignment case: ```cpp struct [[gsl::Owner]] Owner { Owner(); }; struct [[gsl::Pointer]] View { View(); View &operator=(const Owner &o [[clang::lifetimebound]]); void use() const; }; void...
After #197753 landed, we now have a more precise API to get the declaration we should warn about. Let's also warn on the declaration returned by `getCanonicalDeclForAttr` when it differs...
After #197753, we decided that users should be asked to annotate the canonical declaration. However, if a redeclaration is in a different file from the canonical declaration, and that redeclaration...