diff options
| author | Samuel Antao <sfantao@us.ibm.com> | 2016-12-12 19:26:31 +0000 |
|---|---|---|
| committer | Samuel Antao <sfantao@us.ibm.com> | 2016-12-12 19:26:31 +0000 |
| commit | 4b75b8726d823680070f0c1723381bcdcc0f7791 (patch) | |
| tree | 013b12dec7c3e78a9565cdad44d4ef278f22330c | |
| parent | bf2090e31abc0353adf7244f7b44ab01b9c4d32b (diff) | |
| download | bcm5719-llvm-4b75b8726d823680070f0c1723381bcdcc0f7791.tar.gz bcm5719-llvm-4b75b8726d823680070f0c1723381bcdcc0f7791.zip | |
Fix typo and remove unnecessary statement.
llvm-svn: 289458
| -rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntime.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp index 05aff9d92b1..652130d6b08 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp @@ -2769,7 +2769,6 @@ createOffloadingBinaryDescriptorFunction(CodeGenModule &CGM, StringRef Name, Args.push_back(&DummyPtr); CodeGenFunction CGF(CGM); - GlobalDecl(); auto &FI = CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); auto FTy = CGM.getTypes().GetFunctionType(FI); auto *Fn = @@ -6142,7 +6141,7 @@ bool CGOpenMPRuntime::emitTargetFunctions(GlobalDecl GD) { // Try to detect target regions in the function. scanForTargetRegionsFunctions(FD.getBody(), CGM.getMangledName(GD)); - // We should not emit any function othen that the ones created during the + // We should not emit any function other that the ones created during the // scanning. Therefore, we signal that this function is completely dealt // with. return true; |

