Fix one comment and update another. Slightly reformat.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2013-10-05 00:32:34 +00:00
parent b648122c5f
commit 72dd4cd1dd
2 changed files with 3 additions and 4 deletions

View File

@ -353,7 +353,7 @@ private:
DIEEntry *createDIEEntry(DIE *Entry); DIEEntry *createDIEEntry(DIE *Entry);
/// resolve - Look in the DwarfDebug map for the MDNode that /// resolve - Look in the DwarfDebug map for the MDNode that
/// corresponds to a scope reference. /// corresponds to the reference.
template <typename T> T resolve(DIRef<T> Ref) const { template <typename T> T resolve(DIRef<T> Ref) const {
return DD->resolve(Ref); return DD->resolve(Ref);
} }

View File

@ -713,9 +713,8 @@ public:
/// Returns the Dwarf Version. /// Returns the Dwarf Version.
unsigned getDwarfVersion() const { return DwarfVersion; } unsigned getDwarfVersion() const { return DwarfVersion; }
/// Find the MDNode for the given scope reference. /// Find the MDNode for the given reference.
template <typename T> template <typename T> T resolve(DIRef<T> Ref) const {
T resolve(DIRef<T> Ref) const {
return Ref.resolve(TypeIdentifierMap); return Ref.resolve(TypeIdentifierMap);
} }