r238498 - [omp] Fix a typo in a comment and a line I forgot to clang-format that

Chandler Carruth chandlerc at gmail.com
Thu May 28 14:10:31 PDT 2015


Author: chandlerc
Date: Thu May 28 16:10:31 2015
New Revision: 238498

URL: http://llvm.org/viewvc/llvm-project?rev=238498&view=rev
Log:
[omp] Fix a typo in a comment and a line I forgot to clang-format that
Justin pointed out in post-commit review.

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=238498&r1=238497&r2=238498&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu May 28 16:10:31 2015
@@ -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);





More information about the cfe-commits mailing list