Skip to content

Commit 7391b7b

Browse files
committed
Fix comment
1 parent 3683d41 commit 7391b7b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,10 +1779,9 @@ class TaskContextStructManager {
17791779
privateDecls{privateDecls} {}
17801780

17811781
/// Creates a heap allocated struct containing space for each private
1782-
/// variable. Returns nullptr if there are is no struct needed. Invariant:
1783-
/// privateVarTypes, privateDecls, and the elements of the structure should
1784-
/// all have the same order (although privateDecls which do not read from the
1785-
/// mold argument are skipped).
1782+
/// variable. Invariant: privateVarTypes, privateDecls, and the elements of
1783+
/// the structure should all have the same order (although privateDecls which
1784+
/// do not read from the mold argument are skipped).
17861785
void generateTaskContextStruct();
17871786

17881787
/// Create GEPs to access each member of the structure representing a private

0 commit comments

Comments
 (0)