mirror of
https://github.com/verilator/verilator.git
synced 2025-01-03 21:27:35 +00:00
Fix clang error on last commit
This commit is contained in:
parent
36c824d973
commit
72b4a74245
@ -642,10 +642,11 @@ class EmitCModel final : public EmitCFunc {
|
||||
emitDestructorImplementation();
|
||||
emitStandardMethods1(modp);
|
||||
emitStandardMethods2(modp);
|
||||
if (v3Global.opt.trace())
|
||||
if (v3Global.opt.trace()) {
|
||||
emitTraceMethods(modp);
|
||||
else
|
||||
} else if (!v3Global.opt.systemC()) {
|
||||
emitTraceOffMethods(modp);
|
||||
}
|
||||
if (v3Global.opt.savable()) emitSerializationFunctions();
|
||||
|
||||
VL_DO_CLEAR(delete m_ofp, m_ofp = nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user