Identified with modernize-use-bool-literals.
BinaryData *BD = BC.getBinaryDataByName(Function);
if (!BD) {
uint32_t LocalID = 1;
- while(1) {
+ while (true) {
// If we can't find the main symbol name, look for alternates.
const std::string FuncName =
Function + "/" + std::to_string(LocalID);
break;
StringEnd += 2;
- } while (1);
+ } while (true);
StringRef Str = ParsingBuf.substr(0, StringEnd);
DumpOpts.ShowForm = true;
DumpOpts.Verbose = true;
DumpOpts.ChildRecurseDepth = 0;
- DumpOpts.ShowChildren = 0;
+ DumpOpts.ShowChildren = false;
DIE.dump(dbgs(), 0, DumpOpts);
}