Skip to content

Commit 2b21aa9

Browse files
committed
Fix comment
1 parent 7c1763f commit 2b21aa9

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
@@ -1742,10 +1742,9 @@ class TaskContextStructManager {
17421742
privateDecls{privateDecls} {}
17431743

17441744
/// Creates a heap allocated struct containing space for each private
1745-
/// variable. Returns nullptr if there are is no struct needed. Invariant:
1746-
/// privateVarTypes, privateDecls, and the elements of the structure should
1747-
/// all have the same order (although privateDecls which do not read from the
1748-
/// mold argument are skipped).
1745+
/// variable. Invariant: privateVarTypes, privateDecls, and the elements of
1746+
/// the structure should all have the same order (although privateDecls which
1747+
/// do not read from the mold argument are skipped).
17491748
void generateTaskContextStruct();
17501749

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

0 commit comments

Comments
 (0)