aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2024-02-19 20:00:24 +0100
committerGitHub <noreply@github.com>2024-02-19 20:00:24 +0100
commitc9974ae4a0601a9e9f5842114ecd899ab9142786 (patch)
treec044ed4b36d885970cd30a38b3bfd92821abaec3 /lldb/source/Commands/CommandObjectFrame.cpp
parentf668a08e005962f9f68d7586f99fc431dbed9a88 (diff)
downloadllvm-c9974ae4a0601a9e9f5842114ecd899ab9142786.zip
llvm-c9974ae4a0601a9e9f5842114ecd899ab9142786.tar.gz
llvm-c9974ae4a0601a9e9f5842114ecd899ab9142786.tar.bz2
[clangd] Do not offer extraction to variable for decl init expression (#69477)
That would turn: int x = f() + 1; into: auto placeholder = f() + 1; int x = placeholder; which makes little sense and is clearly not intended, as stated explicitly by a comment in eligibleForExtraction(). It appears that the declaration case was simply forgotten (the assignment case was already implemented).
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions