diff options
author | Hans Wennborg <hans@hanshq.net> | 2017-04-27 17:02:25 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2017-04-27 17:02:25 +0000 |
commit | ed129aebbb03ea836b666bc4b15d572e2cdd16dd (patch) | |
tree | 3691e91499f94cd44f788fa6df61912fe3bba03f | |
parent | 2b676cfa55d0684e5323ce31e29c64d117740bfd (diff) | |
download | bcm5719-llvm-ed129aebbb03ea836b666bc4b15d572e2cdd16dd.tar.gz bcm5719-llvm-ed129aebbb03ea836b666bc4b15d572e2cdd16dd.zip |
Fix -Wpedantic about extra semicolons in CGStmtOpenMP.cpp
llvm-svn: 301564
-rw-r--r-- | clang/lib/CodeGen/CGStmtOpenMP.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index f738dd0750f..19b6cbab66c 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -1675,7 +1675,7 @@ static void emitOMPLoopBodyWithStopPoint(CodeGenFunction &CGF, CodeGenFunction::JumpDest LoopExit) { CGF.EmitOMPLoopBody(S, LoopExit); CGF.EmitStopPoint(&S); -}; +} void CodeGenFunction::EmitOMPSimdDirective(const OMPSimdDirective &S) { auto &&CodeGen = [&S](CodeGenFunction &CGF, PrePostActionTy &) { @@ -2093,7 +2093,7 @@ emitDistributeParallelForDispatchBounds(CodeGenFunction &CGF, llvm::Value *UBVal = CGF.EmitLoadOfScalar(UB, /*Volatile=*/false, IteratorTy, SourceLocation()); return {LBVal, UBVal}; -}; +} static void emitDistributeParallelForDistributeInnerBoundParams( CodeGenFunction &CGF, const OMPExecutableDirective &S, @@ -2110,7 +2110,7 @@ static void emitDistributeParallelForDistributeInnerBoundParams( auto UBCast = CGF.Builder.CreateIntCast( CGF.Builder.CreateLoad(UB.getAddress()), CGF.SizeTy, /*isSigned=*/false); CapturedVars.push_back(UBCast); -}; +} static void emitInnerParallelForWhenCombined(CodeGenFunction &CGF, |