Skip to content

Commit f6db41a

Browse files
authored
[NFC] Fix comment to reflect API
1 parent e656aea commit f6db41a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/include/flang/Optimizer/Builder/FIRBuilder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ class FirOpBuilder : public mlir::OpBuilder {
284284
//===--------------------------------------------------------------------===//
285285

286286
/// Helper class to create if-then-else in a structured way:
287-
/// Usage: genIfOp().then([&](){...}).else([&](){...}).end();
287+
/// Usage: genIfOp().genThen([&](){...}).genElse([&](){...}).end();
288288
/// Alternatively, getResults() can be used instead of end() to end the ifOp
289289
/// and get the ifOp results.
290290
class IfBuilder {

0 commit comments

Comments
 (0)