OSDN Git Service

clarify comment
authorAdrian Prantl <aprantl@apple.com>
Wed, 2 Apr 2014 15:49:45 +0000 (15:49 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 2 Apr 2014 15:49:45 +0000 (15:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205429 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DebugLocEntry.h

index 7551c8f..470453f 100644 (file)
@@ -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;