mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: clangtidy cleanups. No functional change intended (#7343)
This commit is contained in:
+1
-1
@@ -362,7 +362,7 @@ class DeadVisitor final : public VNVisitor {
|
||||
checkAll(typedefp);
|
||||
}
|
||||
}
|
||||
bool shouldDeleteTypedef(const AstTypedef* typedefp) {
|
||||
bool shouldDeleteTypedef(const AstTypedef* typedefp) const {
|
||||
if (const auto* const structp = VN_CAST(typedefp->subDTypep(), NodeUOrStructDType)) {
|
||||
if (structp->user1() && !structp->packed()) return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user