Skip to content

Commit 15c1f84

Browse files
committed
Fix misleading error message
1 parent 83091fa commit 15c1f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGStmtOpenMP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2137,7 +2137,7 @@ void CodeGenFunction::EmitOMPCanonicalLoop(const OMPCanonicalLoop *S) {
21372137

21382138
llvm::Expected<llvm::CanonicalLoopInfo *> Result =
21392139
OMPBuilder.createCanonicalLoop(Builder, BodyGen, DistVal);
2140-
assert(Result && "unexpected error creating parallel");
2140+
assert(Result && "unexpected error creating canonical loop");
21412141
llvm::CanonicalLoopInfo *CL = *Result;
21422142

21432143
// Finish up the loop.

0 commit comments

Comments
 (0)