Apply 'make format'

This commit is contained in:
github action 2025-10-09 09:18:34 +00:00 committed by Jonathan Schröter
parent 177dc2a4d7
commit 41a5aa96d9
1 changed files with 15 additions and 15 deletions

View File

@ -616,9 +616,7 @@ class InstrumentFunc final : public VNVisitor {
// Check if the, in the target string, defined variable was found in the previous step
bool isFound(const std::pair<const string, InstrumentTarget>& pair) {
for (auto& entry : pair.second.entries) {
if (entry.found == false) {
return entry.found;
}
if (entry.found == false) { return entry.found; }
}
return true;
}
@ -690,8 +688,10 @@ class InstrumentFunc final : public VNVisitor {
const auto& instrCfg = V3Control::getInstrumentCfg();
for (const auto& pair : instrCfg) {
if (hasNullptr(pair) || !isFound(pair)) {
v3error("Verilator-configfile: Incomplete instrumentation configuration for target '"
<< pair.first<< "'. Please check previous Errors from V3Instrument:findTargets and ensure"
v3error(
"Verilator-configfile: Incomplete instrumentation configuration for target '"
<< pair.first
<< "'. Please check previous Errors from V3Instrument:findTargets and ensure"
<< " all necessary components are correct defined.");
} else {
nodep->addModulesp(pair.second.instrModulep);