Add function description

Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
Ryszard Rozak 2026-02-11 14:32:02 +01:00
parent e54fcb7bc9
commit 73398ee87a
1 changed files with 1 additions and 0 deletions

View File

@ -206,6 +206,7 @@ public:
}
static AstNodeExpr* wrapIntoExprp(AstVarRef* const refp, AstNodeExpr* const exprp,
AstVarRef* const varRefToReplacep) {
// Return a copy of exprp in which varRefToReplacep is replaced with refp
if (exprp == varRefToReplacep) {
return refp;
} else {