Codacy cleanups

This commit is contained in:
Wilson Snyder 2020-01-08 19:33:47 -05:00
parent 951a7d867a
commit 06247686c5
5 changed files with 8 additions and 12 deletions

View File

@ -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

View File

@ -459,6 +459,7 @@ public:
virtual ~LifeVisitor() {
if (m_lifep) { delete m_lifep; m_lifep = NULL; }
}
VL_UNCOPYABLE(LifeVisitor);
};
//######################################################################

View File

@ -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;

View File

@ -252,6 +252,7 @@ public:
m_callGraph.dumpDotFilePrefixed("task_call");
}
virtual ~TaskStateVisitor() {}
VL_UNCOPYABLE(TaskStateVisitor);
};
//######################################################################

View File

@ -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;
}