summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-04-02 15:49:45 +0000
committerAdrian Prantl <aprantl@apple.com>2014-04-02 15:49:45 +0000
commit5524d787b7601e567b3cf4cbe3fcbcad93bb8294 (patch)
treee800190519dec96fabbd325f9eac02c90f685d8e
parentf1d7924f612de895bc31f3301141440997098459 (diff)
downloadllvm-5524d787b7601e567b3cf4cbe3fcbcad93bb8294.tar.gz
llvm-5524d787b7601e567b3cf4cbe3fcbcad93bb8294.tar.bz2
llvm-5524d787b7601e567b3cf4cbe3fcbcad93bb8294.tar.xz
clarify comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205429 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/AsmPrinter/DebugLocEntry.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DebugLocEntry.h b/lib/CodeGen/AsmPrinter/DebugLocEntry.h
index 7551c8f0ce..470453fbe2 100644
--- a/lib/CodeGen/AsmPrinter/DebugLocEntry.h
+++ b/lib/CodeGen/AsmPrinter/DebugLocEntry.h
@@ -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;