Revert "[clang-tidy] Convert 0/1 to false/true"

This reverts commit 54e40008c9.
This commit is contained in:
Paul Beckingham 2020-12-05 16:18:15 -05:00
parent 0b828be4aa
commit 444e5955ac
2 changed files with 2 additions and 2 deletions

View file

@ -892,7 +892,7 @@ bool Lexer::isPath (std::string& token, Lexer::Type& type)
std::size_t marker = _cursor; std::size_t marker = _cursor;
int slashCount = 0; int slashCount = 0;
while (true) while (1)
{ {
if (_text[marker] == '/') if (_text[marker] == '/')
{ {

View file

@ -291,7 +291,7 @@ static std::vector <Datetime> generateAllDueDates (const Task& templateTask)
int recurrence_counter = 0; int recurrence_counter = 0;
Datetime now; Datetime now;
while (true) while (1)
{ {
Datetime nextDue = generateNextDueDate (due, recur, lastN); Datetime nextDue = generateNextDueDate (due, recur, lastN);