mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Cleanup misc clang-tidy warnings. No functional change intended
This commit is contained in:
+2
-2
@@ -861,7 +861,7 @@ void V3PreProcImp::candidateDefines(VSpellCheck* spellerp) {
|
||||
|
||||
int V3PreProcImp::getRawToken() {
|
||||
// Get a token from the file, whatever it may be.
|
||||
while (1) {
|
||||
while (true) {
|
||||
next_tok:
|
||||
if (m_lineAdd) {
|
||||
m_lineAdd--;
|
||||
@@ -942,7 +942,7 @@ void V3PreProcImp::debugToken(int tok, const char* cmtp) {
|
||||
|
||||
int V3PreProcImp::getStateToken() {
|
||||
// Return the next state-determined token
|
||||
while (1) {
|
||||
while (true) {
|
||||
next_tok:
|
||||
if (isEof()) return VP_EOF;
|
||||
int tok = getRawToken();
|
||||
|
||||
Reference in New Issue
Block a user