diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-05-28 21:10:31 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-05-28 21:10:31 +0000 |
commit | c6625c63e7e1a13e19d748bed6285ff8399a522e (patch) | |
tree | b8a50d580ff6915c1edcba094d43e5e3584eec68 /clang/lib/Driver/Tools.cpp | |
parent | b6762734f0ede9169bfb6c14b00f0df3daefc569 (diff) | |
download | llvm-c6625c63e7e1a13e19d748bed6285ff8399a522e.zip llvm-c6625c63e7e1a13e19d748bed6285ff8399a522e.tar.gz llvm-c6625c63e7e1a13e19d748bed6285ff8399a522e.tar.bz2 |
[omp] Fix a typo in a comment and a line I forgot to clang-format that
Justin pointed out in post-commit review.
llvm-svn: 238498
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index e5faf9b..84fa0b3 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -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); |