Issue 130744
Summary lldb _expression_ inline note prints "note: " twice
Labels lldb
Assignees
Reporter DavidSpickett
    With this program:
```
int main()
{
    const int a = 0;
    return 0;
}
```
And this _expression_:
```
(lldb) p a=10
          ˄
          ╰─ error: cannot assign to variable 'a' with const-qualified type 'const int &'
note: note: variable 'a' declared const here
```
LLDB prints "note: " then "note: " again.

Also, "here" seems like it would be accompanied by some location but is not.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to