diff options
author | Rui Ueyama <ruiu@google.com> | 2013-09-27 21:47:05 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-09-27 21:47:05 +0000 |
commit | bc654b18bcba8499898d713d35b68061c93e7e0b (patch) | |
tree | f91e309636b611271352107e1e0ebd8625a75877 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | db52f34d7df479a20567502b00aaf7cb554ad48a (diff) | |
download | bcm5719-llvm-bc654b18bcba8499898d713d35b68061c93e7e0b.tar.gz bcm5719-llvm-bc654b18bcba8499898d713d35b68061c93e7e0b.zip |
Object/COFF: Rename getXXX{Begin,End} -> xxx_{begin,end}.
It is mentioned in the LLVM coding standard that _begin() and _end() suffixes
should be used.
llvm-svn: 191569
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
-rw-r--r-- | llvm/lib/Object/COFFObjectFile.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Object/COFFObjectFile.cpp b/llvm/lib/Object/COFFObjectFile.cpp index 463121c39f8..67b8e6be78e 100644 --- a/llvm/lib/Object/COFFObjectFile.cpp +++ b/llvm/lib/Object/COFFObjectFile.cpp @@ -406,7 +406,7 @@ error_code COFFObjectFile::sectionContainsSymbol(DataRefImpl Sec, return object_error::success; } -relocation_iterator COFFObjectFile::getSectionRelBegin(DataRefImpl Sec) const { +relocation_iterator COFFObjectFile::section_rel_begin(DataRefImpl Sec) const { const coff_section *sec = toSec(Sec); DataRefImpl ret; if (sec->NumberOfRelocations == 0) @@ -417,7 +417,7 @@ relocation_iterator COFFObjectFile::getSectionRelBegin(DataRefImpl Sec) const { return relocation_iterator(RelocationRef(ret, this)); } -relocation_iterator COFFObjectFile::getSectionRelEnd(DataRefImpl Sec) const { +relocation_iterator COFFObjectFile::section_rel_end(DataRefImpl Sec) const { const coff_section *sec = toSec(Sec); DataRefImpl ret; if (sec->NumberOfRelocations == 0) @@ -630,13 +630,13 @@ StringRef COFFObjectFile::getLoadName() const { return ""; } -import_directory_iterator COFFObjectFile::getImportDirectoryBegin() const { +import_directory_iterator COFFObjectFile::import_directory_begin() const { DataRefImpl Imp; Imp.p = reinterpret_cast<uintptr_t>(ImportDirectory); return import_directory_iterator(ImportDirectoryEntryRef(Imp, this)); } -import_directory_iterator COFFObjectFile::getImportDirectoryEnd() const { +import_directory_iterator COFFObjectFile::import_directory_end() const { DataRefImpl Imp; if (ImportDirectory) { Imp.p = reinterpret_cast<uintptr_t>( |