diff options
author | Zachary Turner <zturner@google.com> | 2016-11-08 04:52:16 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-11-08 04:52:16 +0000 |
commit | c5d7df90356b1b3d1e384220e34ba5cb87583829 (patch) | |
tree | 8ebeb702da0ed90c6e328c1d1336a3724a409742 /lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp | |
parent | 77c89b6958f51a0b26c4849d37a200c1bc0319df (diff) | |
download | bcm5719-llvm-c5d7df90356b1b3d1e384220e34ba5cb87583829.tar.gz bcm5719-llvm-c5d7df90356b1b3d1e384220e34ba5cb87583829.zip |
Convert some Expression parser functions to StringRef.
llvm-svn: 286208
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp')
-rw-r--r-- | lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp b/lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp index 67b62ceaf7e..ff20be1d22e 100644 --- a/lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp +++ b/lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp @@ -198,12 +198,12 @@ CompilerType LookupType(TargetSP target, ConstString name) { } GoUserExpression::GoUserExpression(ExecutionContextScope &exe_scope, - const char *expr, const char *expr_prefix, + llvm::StringRef expr, llvm::StringRef prefix, lldb::LanguageType language, ResultType desired_type, const EvaluateExpressionOptions &options) - : UserExpression(exe_scope, expr, expr_prefix, language, desired_type, - options) {} + : UserExpression(exe_scope, expr, prefix, language, desired_type, options) { +} bool GoUserExpression::Parse(DiagnosticManager &diagnostic_manager, ExecutionContext &exe_ctx, |