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: 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;