diff options
| author | Sean Callanan <scallanan@apple.com> | 2015-10-01 23:07:06 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2015-10-01 23:07:06 +0000 |
| commit | 9301ec11910dbb7fd13becd0e77b0a1faeff5915 (patch) | |
| tree | 573c59b37f44c0c36df9b9ccbcf17c6b890c2dc5 /lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h | |
| parent | b660b619544d110808a93e4bb069a630c8a20900 (diff) | |
| download | bcm5719-llvm-9301ec11910dbb7fd13becd0e77b0a1faeff5915.tar.gz bcm5719-llvm-9301ec11910dbb7fd13becd0e77b0a1faeff5915.zip | |
Eliminated redundant "constructors" for ClangExpressionVariable.
The ClangExpressionVariable::CreateVariableInList functions looked cute, but
caused more confusion than they solved. I removed them, and instead made sure
that there are adequate facilities for easily adding newly-constructed
ExpressionVariables to lists.
I also made some of the constructors that are common be generic, so that it's
possible to construct expression variables from generic places (like the ABI and
ValueObject) without having to know the specifics about the class.
llvm-svn: 249095
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h')
| -rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h b/lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h index 1a486aeb77b..daee1b86c30 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h @@ -48,14 +48,14 @@ public: } lldb::ExpressionVariableSP - CreatePersistentVariable (const lldb::ValueObjectSP &valobj_sp); + CreatePersistentVariable (const lldb::ValueObjectSP &valobj_sp) override; - ClangExpressionVariable * + lldb::ExpressionVariableSP CreatePersistentVariable (ExecutionContextScope *exe_scope, const ConstString &name, - const TypeFromUser& user_type, + const CompilerType& compiler_type, lldb::ByteOrder byte_order, - uint32_t addr_byte_size); + uint32_t addr_byte_size) override; //---------------------------------------------------------------------- /// Return the next entry in the sequence of strings "$0", "$1", ... for |

