Skip to content

Commit 83daba9

Browse files
chrchr-githubweb-flow
authored andcommitted
Update astutils.cpp [skip ci]
1 parent 2cfa74b commit 83daba9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/astutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2545,7 +2545,7 @@ bool isVariableChangedByFunctionCall(const Token *tok, int indirect, const Setti
25452545
const Library::ArgumentChecks::Direction argDirection = settings.library.getArgDirection(tok, 1 + argnr, indirect);
25462546
if (argDirection == Library::ArgumentChecks::Direction::DIR_IN)
25472547
return false;
2548-
if (argDirection == Library::ArgumentChecks::Direction::DIR_OUT)
2548+
if (argDirection == Library::ArgumentChecks::Direction::DIR_OUT || argDirection == Library::ArgumentChecks::Direction::DIR_INOUT)
25492549
return true;
25502550

25512551
const bool requireNonNull = settings.library.isnullargbad(tok, 1 + argnr);

0 commit comments

Comments
 (0)