llvm-project/lldb
Raphael Isemann 7482973411 Added initial code completion support for the `expr` command
Summary:
This patch adds initial code completion support for the `expr` command.

We now have a completion handler in the expression CommandObject that
essentially just attempts to parse the given user expression with Clang with
an attached code completion consumer. We filter and prepare the
code completions provided by Clang and send them back to the completion
API.

The current completion is limited to variables that are in the current scope.
This includes local variables and all types used by local variables. We however
don't do any completion of symbols that are not used in the local scope (or
in some other way already in the ASTContext).

This is partly because there is not yet any code that manually searches for additiona
information in the debug information. Another cause is that for some reason the existing
code for loading these additional symbols when requested by Clang doesn't seem to work.
This will be fixed in a future patch.

Reviewers: jingham, teemperor

Reviewed By: teemperor

Subscribers: labath, aprantl, JDevlieghere, friss, lldb-commits

Differential Revision: https://reviews.llvm.org/D48465

llvm-svn: 341086
2018-08-30 17:29:37 +00:00
..
cmake [cmake] Add option to skip building lldb-server 2018-08-23 18:05:45 +00:00
docs Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
examples Update cmdtemplate.py to use best pratices. 2018-06-22 23:34:24 +00:00
include/lldb Added initial code completion support for the `expr` command 2018-08-30 17:29:37 +00:00
lit [PDB] Resolve a symbol context block info correctly 2018-08-29 07:26:11 +00:00
lldb.xcodeproj Add a new tool named "lldb-vscode" that implements the Visual Studio Code Debug Adaptor Protocol 2018-08-16 17:59:38 +00:00
lldb.xcworkspace Fix a typo in the gtest build target for Debug configuration. 2018-04-10 17:49:56 +00:00
packages/Python/lldbsuite Added initial code completion support for the `expr` command 2018-08-30 17:29:37 +00:00
resources Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
scripts Support setting a breakpoint by FileSpec+Line+Column in the SBAPI. 2018-08-30 15:11:00 +00:00
source Added initial code completion support for the `expr` command 2018-08-30 17:29:37 +00:00
test Fix typo 2018-08-27 21:46:18 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools [PDB] Resolve a symbol context block info correctly 2018-08-29 07:26:11 +00:00
unittests Move the column marking functionality to the Highlighter framework 2018-08-30 00:09:21 +00:00
utils [CMake] Unify and relayer testing 2018-05-03 16:54:10 +00:00
www Show how to use "lldb -P" to find the lldb.py. 2018-08-17 17:39:32 +00:00
.arcconfig
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt Introduce install-lldb-framework target 2018-08-01 17:21:18 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00