[llvm] r205429 - clarify comment

Adrian Prantl aprantl at apple.com
Wed Apr 2 08:49:46 PDT 2014


Author: adrian
Date: Wed Apr  2 10:49:45 2014
New Revision: 205429

URL: http://llvm.org/viewvc/llvm-project?rev=205429&view=rev
Log:
clarify comment

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DebugLocEntry.h

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DebugLocEntry.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DebugLocEntry.h?rev=205429&r1=205428&r2=205429&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DebugLocEntry.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DebugLocEntry.h Wed Apr  2 10:49:45 2014
@@ -96,7 +96,8 @@ public:
 
   /// \brief Attempt to merge this DebugLocEntry with Next and return
   /// true if the merge was successful. Entries can be merged if they
-  /// share the same Loc/Constant and their ranges are adjacent.
+  /// share the same Loc/Constant and if Next immediately follows this
+  /// Entry.
   bool Merge(const DebugLocEntry &Next) {
     if (End == Next.Begin && hasSameValueOrLocation(Next)) {
       End = Next.End;





More information about the llvm-commits mailing list