diff options
Diffstat (limited to 'lldb/include/lldb/Expression/UserExpression.h')
-rw-r--r-- | lldb/include/lldb/Expression/UserExpression.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/lldb/include/lldb/Expression/UserExpression.h b/lldb/include/lldb/Expression/UserExpression.h index 83122d8ba518..8236c417f73a 100644 --- a/lldb/include/lldb/Expression/UserExpression.h +++ b/lldb/include/lldb/Expression/UserExpression.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef liblldb_UserExpression_h_ -#define liblldb_UserExpression_h_ +#ifndef LLDB_EXPRESSION_USEREXPRESSION_H +#define LLDB_EXPRESSION_USEREXPRESSION_H #include <memory> #include <string> @@ -194,7 +194,7 @@ public: /// Return the language that should be used when parsing. To use the /// default, return eLanguageTypeUnknown. - lldb::LanguageType Language() override { return m_language; } + lldb::LanguageType Language() const override { return m_language; } /// Return the desired result type of the function, or eResultTypeAny if /// indifferent. @@ -213,8 +213,6 @@ public: return lldb::ExpressionVariableSP(); } - virtual lldb::ModuleSP GetJITModule() { return lldb::ModuleSP(); } - /// Evaluate one expression in the scratch context of the target passed in /// the exe_ctx and return its result. /// @@ -244,9 +242,6 @@ public: /// If non-nullptr, the fixed expression is copied into the provided /// string. /// - /// \param[out] jit_module_sp_ptr - /// If non-nullptr, used to persist the generated IR module. - /// /// \param[in] ctx_obj /// If specified, then the expression will be evaluated in the context of /// this object. It means that the context object's address will be @@ -265,7 +260,6 @@ public: llvm::StringRef expr_cstr, llvm::StringRef expr_prefix, lldb::ValueObjectSP &result_valobj_sp, Status &error, std::string *fixed_expression = nullptr, - lldb::ModuleSP *jit_module_sp_ptr = nullptr, ValueObject *ctx_obj = nullptr); static const Status::ValueType kNoResult = @@ -314,4 +308,4 @@ protected: } // namespace lldb_private -#endif // liblldb_UserExpression_h_ +#endif // LLDB_EXPRESSION_USEREXPRESSION_H |