From ae3b463c79d587b1623354f11a98100804333707 Mon Sep 17 00:00:00 2001 From: Yukim Date: Fri, 4 Dec 2015 08:35:32 +0900 Subject: [PATCH 1/2] Fix typo --- lib/AST/ASTPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AST/ASTPrinter.cpp b/lib/AST/ASTPrinter.cpp index 93207ef6e039d..5a9dd3abc451d 100644 --- a/lib/AST/ASTPrinter.cpp +++ b/lib/AST/ASTPrinter.cpp @@ -216,7 +216,7 @@ ASTPrinter &ASTPrinter::operator<<(UUID UU) { return *this; } -/// Determine whether to escape the fiven keyword in the given context. +/// Determine whether to escape the given keyword in the given context. static bool escapeKeywordInContext(StringRef keyword, PrintNameContext context){ switch (context) { case PrintNameContext::Normal: From 20f7d0947e776935027fdf1906cb22bc24f93dc8 Mon Sep 17 00:00:00 2001 From: jonnyla Date: Thu, 3 Dec 2015 16:17:46 -0800 Subject: [PATCH 2/2] Improved grammar removed unnecessary 'so' --- lib/Driver/Compilation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Driver/Compilation.cpp b/lib/Driver/Compilation.cpp index 4235d25e790a6..67dde161ebe72 100644 --- a/lib/Driver/Compilation.cpp +++ b/lib/Driver/Compilation.cpp @@ -497,7 +497,7 @@ int Compilation::performJobsImpl() { Diags.diagnose(SourceLoc(), diag::error_command_signalled, SignalledCmd->getSource().getClassName()); - // Since the task signalled, so unconditionally set result to -2. + // Since the task signalled, unconditionally set result to -2. Result = -2; return TaskFinishedResponse::StopExecution;