Fix one comment and update another. Slightly reformat.
authorEric Christopher <echristo@gmail.com>
Sat, 5 Oct 2013 00:32:34 +0000 (00:32 +0000)
committerEric Christopher <echristo@gmail.com>
Sat, 5 Oct 2013 00:32:34 +0000 (00:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192016 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
lib/CodeGen/AsmPrinter/DwarfDebug.h

index b3bf9bee73105f6f55d29b0b7620d734b4e72954..1c67f6b249e9085318c06486d9c0c43a438cccaf 100644 (file)
@@ -353,7 +353,7 @@ private:
   DIEEntry *createDIEEntry(DIE *Entry);
 
   /// 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 {
     return DD->resolve(Ref);
   }
index c2044ceee4bd071b951925720b599c9ca43854fd..c4c450d0d5f8111465dcf3a1a9b1870e60890252 100644 (file)
@@ -713,9 +713,8 @@ public:
   /// Returns the Dwarf Version.
   unsigned getDwarfVersion() const { return DwarfVersion; }
 
-  /// Find the MDNode for the given scope reference.
-  template <typename T>
-  T resolve(DIRef<T> Ref) const {
+  /// Find the MDNode for the given reference.
+  template <typename T> T resolve(DIRef<T> Ref) const {
     return Ref.resolve(TypeIdentifierMap);
   }