mirror of
https://github.com/verilator/verilator.git
synced 2026-10-08 02:53:12 +02:00
Internals: Cleanup find with chars for clang-tidy. No functional change.
This commit is contained in:
+2
-2
@@ -103,8 +103,8 @@ class V3FileDependImp {
|
||||
static string stripQuotes(const string& in) {
|
||||
string pretty = in;
|
||||
string::size_type pos;
|
||||
while ((pos=pretty.find("\"")) != string::npos) pretty.replace(pos, 1, "_");
|
||||
while ((pos=pretty.find("\n")) != string::npos) pretty.replace(pos, 1, "_");
|
||||
while ((pos = pretty.find('\"')) != string::npos) pretty.replace(pos, 1, "_");
|
||||
while ((pos = pretty.find('\n')) != string::npos) pretty.replace(pos, 1, "_");
|
||||
return pretty;
|
||||
}
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user