mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Fix clang warning (earlier commits)
This commit is contained in:
+1
-1
@@ -697,7 +697,7 @@ void connectPort(AstNodeModule* modp, AstVar* nodep, AstNodeExpr* pinExprp) {
|
||||
};
|
||||
|
||||
const auto pinRefAsExpr = [&](VAccess access) -> AstNodeExpr* {
|
||||
if (const AstVarRef* const vrp = VN_CAST(pinRefp, VarRef)) {
|
||||
if (VN_IS(pinRefp, VarRef)) {
|
||||
return pinRefAsVarRef(access);
|
||||
} else {
|
||||
const AstVarXRef* const xrp = VN_AS(pinRefp, VarXRef);
|
||||
|
||||
Reference in New Issue
Block a user