Add descriptions to completed expressions
authorRaphael Isemann <teemperor@gmail.com>
Mon, 17 Sep 2018 12:06:07 +0000 (12:06 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Mon, 17 Sep 2018 12:06:07 +0000 (12:06 +0000)
commit9dd34c838536bdd49feb84ada617130d7e6aa019
tree3217f53f6697f410146aaa2a2812140fda29a60b
parentac3a5d66c6d411514397ffd710743f56f7f05c86
Add descriptions to completed expressions

Summary:
Completing inside the expression command now uses the new description API
to also provide additional information to the user. For now this information
are the types of variables/fields and the signatures of completed function calls.

Reviewers: #lldb, JDevlieghere

Reviewed By: JDevlieghere

Subscribers: JDevlieghere, lldb-commits

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

llvm-svn: 342385
lldb/packages/Python/lldbsuite/test/expression_command/completion/TestExprCompletion.py
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp