Skip to content

Commit 775a69b

Browse files
authored
[OpenMP] Fix comma -> semicolon (#145900)
Fix small typo.
1 parent 08964d6 commit 775a69b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,9 +1257,9 @@ void CGOpenMPRuntimeGPU::emitParallelCall(CodeGenFunction &CGF,
12571257
if (!NumThreadsVal)
12581258
NumThreadsVal = llvm::ConstantInt::get(CGF.Int32Ty, -1);
12591259
else
1260-
NumThreadsVal = Bld.CreateZExtOrTrunc(NumThreadsVal, CGF.Int32Ty),
1260+
NumThreadsVal = Bld.CreateZExtOrTrunc(NumThreadsVal, CGF.Int32Ty);
12611261

1262-
assert(IfCondVal && "Expected a value");
1262+
assert(IfCondVal && "Expected a value");
12631263
llvm::Value *RTLoc = emitUpdateLocation(CGF, Loc);
12641264
llvm::Value *Args[] = {
12651265
RTLoc,

0 commit comments

Comments
 (0)