[omp] Fix a typo in a comment and a line I forgot to clang-format that
authorChandler Carruth <chandlerc@gmail.com>
Thu, 28 May 2015 21:10:31 +0000 (21:10 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 28 May 2015 21:10:31 +0000 (21:10 +0000)
Justin pointed out in post-commit review.

llvm-svn: 238498

clang/lib/Driver/Tools.cpp

index e5faf9b..84fa0b3 100644 (file)
@@ -2293,7 +2293,7 @@ enum OpenMPRuntimeKind {
   /// runtime library itself.
   OMPRT_GOMP,
 
-  /// The legacy name for the LLVM OpenMP runtim from when it was the Intel
+  /// The legacy name for the LLVM OpenMP runtime from when it was the Intel
   /// OpenMP runtime. We support this mode for users with existing dependencies
   /// on this runtime library name.
   OMPRT_IOMP5
@@ -2301,7 +2301,8 @@ enum OpenMPRuntimeKind {
 }
 
 /// Compute the desired OpenMP runtime from the flag provided.
-static OpenMPRuntimeKind getOpenMPRuntime(const ToolChain &TC, const ArgList &Args) {
+static OpenMPRuntimeKind getOpenMPRuntime(const ToolChain &TC,
+                                          const ArgList &Args) {
   StringRef RuntimeName(CLANG_DEFAULT_OPENMP_RUNTIME);
 
   const Arg *A = Args.getLastArg(options::OPT_fopenmp_EQ);