We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f38765a commit 994a184Copy full SHA for 994a184
mlir/lib/Parser/Parser.cpp
@@ -189,7 +189,7 @@ InFlightDiagnostic Parser::emitWrongTokenError(const Twine &message) {
189
StringRef startOfBuffer(bufferStart, curPtr - bufferStart);
190
191
// Back up over entirely blank lines.
192
- while (1) {
+ while (true) {
193
// Back up until we see a \n, but don't look past the buffer start.
194
startOfBuffer = startOfBuffer.rtrim(" \t");
195
0 commit comments