llvm.org GIT mirror llvm / 80f2397
Use auto for readability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202786 91177308-0d34-0410-b5e6-96231b3b80d8 Rui Ueyama 5 years ago
1 changed file(s) with 3 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
276276 if (error(Obj->getRvaPtr(DataDir->RelativeVirtualAddress, IntPtr)))
277277 return;
278278
279 const coff_load_configuration32 *LoadConf =
280 reinterpret_cast(IntPtr);
281
279 auto *LoadConf = reinterpret_cast(IntPtr);
282280 outs() << "Load configuration:"
283281 << "\n Timestamp: " << LoadConf->TimeDateStamp
284282 << "\n Major Version: " << LoadConf->MajorVersion
514512 if (UnwindInfoOffset > XContents.size())
515513 return;
516514
517 const Win64EH::UnwindInfo *UI = reinterpret_cast(
518 XContents.data() + UnwindInfoOffset);
515 auto *UI = reinterpret_cast(XContents.data() +
516 UnwindInfoOffset);
519517 printWin64EHUnwindInfo(UI);
520518 }
521519