diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-04-02 15:49:45 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-04-02 15:49:45 +0000 |
commit | a731cf0018a4f9c932bd3efb49d5c50df2fa29ab (patch) | |
tree | bcbcd0b4668d062fd9f92dfffc1dc31aebf59ac2 /llvm/lib/CodeGen | |
parent | f79621e44020c6abdcdd3b0c62c8ab3250aff9e5 (diff) | |
download | bcm5719-llvm-a731cf0018a4f9c932bd3efb49d5c50df2fa29ab.tar.gz bcm5719-llvm-a731cf0018a4f9c932bd3efb49d5c50df2fa29ab.zip |
clarify comment
llvm-svn: 205429
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h b/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h index 7551c8f0ced..470453fbe26 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h +++ b/llvm/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; |