mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Codacy cleanups
This commit is contained in:
parent
951a7d867a
commit
06247686c5
@ -11,8 +11,8 @@ set -e
|
||||
|
||||
TMP_DIR=$(mktemp -d)
|
||||
|
||||
git -C ${TMP_DIR} clone https://github.com/veripool/vcddiff
|
||||
git -C "${TMP_DIR}" clone https://github.com/veripool/vcddiff
|
||||
VCDDIFF_DIR=${TMP_DIR}/vcddiff
|
||||
git -C ${VCDDIFF_DIR} checkout 5112f88b7ba8818dce9dfb72619e64a1fc19542c
|
||||
make -C ${VCDDIFF_DIR}
|
||||
sudo cp ${VCDDIFF_DIR}/vcddiff /usr/local/bin
|
||||
git -C "${VCDDIFF_DIR}" checkout 5112f88b7ba8818dce9dfb72619e64a1fc19542c
|
||||
make -C "${VCDDIFF_DIR}"
|
||||
sudo cp "${VCDDIFF_DIR}/vcddiff" /usr/local/bin
|
||||
|
@ -459,6 +459,7 @@ public:
|
||||
virtual ~LifeVisitor() {
|
||||
if (m_lifep) { delete m_lifep; m_lifep = NULL; }
|
||||
}
|
||||
VL_UNCOPYABLE(LifeVisitor);
|
||||
};
|
||||
|
||||
//######################################################################
|
||||
|
@ -358,7 +358,7 @@ void V3PreProcImp::define(FileLine* fl, const string& name, const string& value,
|
||||
}
|
||||
|
||||
string V3PreProcImp::removeDefines(const string& text) {
|
||||
string val = "0_never_match";
|
||||
string val;
|
||||
string rtnsym = text;
|
||||
for (int loopprevent=0; loopprevent<100; loopprevent++) {
|
||||
string xsym = rtnsym;
|
||||
|
@ -252,6 +252,7 @@ public:
|
||||
m_callGraph.dumpDotFilePrefixed("task_call");
|
||||
}
|
||||
virtual ~TaskStateVisitor() {}
|
||||
VL_UNCOPYABLE(TaskStateVisitor);
|
||||
};
|
||||
|
||||
//######################################################################
|
||||
|
@ -20,12 +20,6 @@ int main()
|
||||
tb = new VM_PREFIX("tb");
|
||||
|
||||
// Just a constructor test
|
||||
bool pass = true;
|
||||
|
||||
if (pass) {
|
||||
VL_PRINTF("*-* All Finished *-*\n");
|
||||
} else {
|
||||
vl_fatal(__FILE__, __LINE__, "top", "Unexpected results from test\n");
|
||||
}
|
||||
VL_PRINTF("*-* All Finished *-*\n");
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user