[llvm] r192016 - Fix one comment and update another. Slightly reformat.

Eric Christopher echristo at gmail.com
Fri Oct 4 17:32:34 PDT 2013


Author: echristo
Date: Fri Oct  4 19:32:34 2013
New Revision: 192016

URL: http://llvm.org/viewvc/llvm-project?rev=192016&view=rev
Log:
Fix one comment and update another. Slightly reformat.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h?rev=192016&r1=192015&r2=192016&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h Fri Oct  4 19:32:34 2013
@@ -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);
   }

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=192016&r1=192015&r2=192016&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Fri Oct  4 19:32:34 2013
@@ -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);
   }
 





More information about the llvm-commits mailing list