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:
Rafael Espindola
2014-02-10 20:24:04 +00:00
parent 700bba297b
commit a40b3522c8
24 changed files with 184 additions and 184 deletions

View File

@@ -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);