Skip to content

Commit f72aec4

Browse files
committed
PR 1080 comments: typos in comment
1 parent 18364e9 commit f72aec4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flang/lib/Lower/ConvertExpr.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,10 +1999,10 @@ class ScalarExprLowering {
19991999
/// Like genExtAddr, but ensure the address returned is a temporary even if \p
20002000
/// expr is variable inside parentheses.
20012001
ExtValue genTempExtAddr(const Fortran::lower::SomeExpr &expr) {
2002-
// In general, genExtAddr might nor create a temp for variable inside
2002+
// In general, genExtAddr might not create a temp for variable inside
20032003
// parentheses to avoid creating array temporary in sub-expressions. It only
2004-
// ensure the sub-expression is not re-associated with other part of the
2005-
// expression. In the call semantic, there is a difference between expr and
2004+
// ensures the sub-expression is not re-associated with other parts of the
2005+
// expression. In the call semantics, there is a difference between expr and
20062006
// variable (see R1524). For expressions, a variable storage must not be
20072007
// argument associated since it could be modified inside the call, or the
20082008
// variable could also be modified by other means during the call.

0 commit comments

Comments
 (0)