diff options
-rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp index cfd5d9be111..c79cb188d85 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp @@ -558,11 +558,11 @@ namespace { /// of an incomplete `expr` invocation. //---------------------------------------------------------------------- class CodeComplete : public CodeCompleteConsumer { - CodeCompletionTUInfo CCTUInfo; + CodeCompletionTUInfo m_info; - std::string expr; - unsigned position = 0; - StringList &matches; + std::string m_expr; + unsigned m_position = 0; + StringList &m_matches; /// Returns true if the given character can be used in an identifier. /// This also returns true for numbers because for completion we usually @@ -639,8 +639,8 @@ public: /// CodeComplete(StringList &matches, std::string expr, unsigned position) : CodeCompleteConsumer(CodeCompleteOptions(), false), - CCTUInfo(std::make_shared<GlobalCodeCompletionAllocator>()), expr(expr), - position(position), matches(matches) {} + m_info(std::make_shared<GlobalCodeCompletionAllocator>()), m_expr(expr), + m_position(position), m_matches(matches) {} /// Deregisters and destroys this code-completion consumer. virtual ~CodeComplete() {} @@ -734,8 +734,8 @@ public: // Merge the suggested Token into the existing command line to comply // with the kind of result the lldb API expects. std::string CompletionSuggestion = - mergeCompletion(expr, position, ToInsert); - matches.AppendString(CompletionSuggestion); + mergeCompletion(m_expr, m_position, ToInsert); + m_matches.AppendString(CompletionSuggestion); } } } @@ -756,10 +756,10 @@ public: } CodeCompletionAllocator &getAllocator() override { - return CCTUInfo.getAllocator(); + return m_info.getAllocator(); } - CodeCompletionTUInfo &getCodeCompletionTUInfo() override { return CCTUInfo; } + CodeCompletionTUInfo &getCodeCompletionTUInfo() override { return m_info; } }; } // namespace |