mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 18:42:58 +02:00
Cleanup misc clang-tidy warnings. No functional change intended
This commit is contained in:
+2
-2
@@ -1024,10 +1024,10 @@ public:
|
||||
string out;
|
||||
string::size_type start = 0;
|
||||
// space, ., ->
|
||||
while (1) {
|
||||
while (true) {
|
||||
// When C++11, use find_if and lambda
|
||||
string::size_type pos = string::npos;
|
||||
string separator = "";
|
||||
string separator;
|
||||
trySep(old, start, " ", pos/*ref*/, separator/*ref*/);
|
||||
trySep(old, start, ".", pos/*ref*/, separator/*ref*/);
|
||||
trySep(old, start, "->", pos/*ref*/, separator/*ref*/);
|
||||
|
||||
Reference in New Issue
Block a user