mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Change the begin and end methods in ObjectFile to match the style guide.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201108 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -52,7 +52,7 @@ static void patchFunctionNameInDILineInfo(const std::string &NewFunctionName,
|
||||
|
||||
ModuleInfo::ModuleInfo(ObjectFile *Obj, DIContext *DICtx)
|
||||
: Module(Obj), DebugInfoContext(DICtx) {
|
||||
for (symbol_iterator si = Module->begin_symbols(), se = Module->end_symbols();
|
||||
for (symbol_iterator si = Module->symbol_begin(), se = Module->symbol_end();
|
||||
si != se; ++si) {
|
||||
SymbolRef::Type SymbolType;
|
||||
if (error(si->getType(SymbolType)))
|
||||
@@ -265,7 +265,7 @@ static bool getGNUDebuglinkContents(const Binary *Bin, std::string &DebugName,
|
||||
const ObjectFile *Obj = dyn_cast<ObjectFile>(Bin);
|
||||
if (!Obj)
|
||||
return false;
|
||||
for (section_iterator I = Obj->begin_sections(), E = Obj->end_sections();
|
||||
for (section_iterator I = Obj->section_begin(), E = Obj->section_end();
|
||||
I != E; ++I) {
|
||||
StringRef Name;
|
||||
I->getName(Name);
|
||||
|
Reference in New Issue
Block a user