Skip to content

Commit

Permalink
Fix comment format
Browse files Browse the repository at this point in the history
  • Loading branch information
kchristin22 committed Mar 14, 2024
1 parent 02fa7d1 commit 0479442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Differentiator/ReverseModeVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@ Expr* getArraySizeExpr(const ArrayType* AT, ASTContext& context,
ParmVarDecl* param = paramsRef[i];
// derived variables are already created for independent variables.
if (m_Variables.count(param)) {
// if all the parameters are to be derived and the function has no return statement,
// then we need to initialize the derived variables.
// if all the parameters are to be derived and the function has no
// return statement, then we need to initialize the derived variables.
if (m_Variables.size() == m_Function->getNumParams() &&
m_Function->getReturnType()->isVoidType()) {
auto size_type = m_Context.getSizeType();
Expand Down

0 comments on commit 0479442

Please sign in to comment.