From 20892fb4b04d1c066e41e5adac825a942244a5ec Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Thu, 30 Aug 2018 20:19:57 +0000 Subject: [PATCH] Adjusting some comments in ClangExpressionParser.cpp llvm-svn: 341112 --- lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp index 9c913f5..64df1fd 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp @@ -706,7 +706,7 @@ public: else ToInsert += "("; } - // If we try to complete a namespace, then we directly can append + // If we try to complete a namespace, then we can directly append // the '::'. if (const NamespaceDecl *N = dyn_cast(D)) { if (!N->isAnonymousNamespace()) @@ -718,7 +718,6 @@ public: ToInsert = R.Keyword; break; case CodeCompletionResult::RK_Macro: - // It's not clear if we want to complete any macros in the ToInsert = R.Macro->getName().str(); break; case CodeCompletionResult::RK_Pattern: -- 2.7.4