[Lldb-commits] [lldb] r341112 - Adjusting some comments in ClangExpressionParser.cpp
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 30 13:19:57 PDT 2018
Author: teemperor
Date: Thu Aug 30 13:19:57 2018
New Revision: 341112
URL: http://llvm.org/viewvc/llvm-project?rev=341112&view=rev
Log:
Adjusting some comments in ClangExpressionParser.cpp
Modified:
lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp?rev=341112&r1=341111&r2=341112&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp (original)
+++ lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp Thu Aug 30 13:19:57 2018
@@ -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<NamespaceDecl>(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:
More information about the lldb-commits
mailing list