Internals: Fix some clang-tidy issues. No functional change intended.

This commit is contained in:
Wilson Snyder
2022-07-30 11:54:28 -04:00
parent dce8f3d25d
commit a2d26b45bb
34 changed files with 160 additions and 165 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ string V3HierBlock::hierGenerated(bool withDir) const {
}
string V3HierBlock::vFileIfNecessary() const {
const string filename = V3Os::filenameRealPath(m_modp->fileline()->filename());
string filename = V3Os::filenameRealPath(m_modp->fileline()->filename());
for (const string& v : v3Global.opt.vFiles()) {
// Already listed in vFiles, so no need to add the file.
if (filename == V3Os::filenameRealPath(v)) return "";