Apply 'make format'
This commit is contained in:
parent
177dc2a4d7
commit
41a5aa96d9
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue