Refactor ClangUserExpression::Parse [NFC]
authorRaphael Isemann <teemperor@gmail.com>
Tue, 10 Jul 2018 22:12:39 +0000 (22:12 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 10 Jul 2018 22:12:39 +0000 (22:12 +0000)
commitba800e7db514bedf51897b73d239864ab774b8c2
treef01532caa55a99a3c4fb7d6b210be83721ee69c7
parentd5e57ed9c251ec71a279b98a93439a396f11a5f8
Refactor ClangUserExpression::Parse [NFC]

Summary:
This patch splits out functionality from the `Parse` method into different methods.
This benefits the code completion work (which should reuse those methods) and makes the
code a bit more readable.

Note that this patch is as minimal as possible. Some of the code in the new methods definitely
needs more refactoring.

Subscribers: lldb-commits

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

llvm-svn: 336734
lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h