Add a doxygen comment to DebugLocEntry::Merge.

llvm-svn: 205374
This commit is contained in:
Adrian Prantl 2014-04-01 23:34:45 +00:00
parent 6fa9966ee6
commit 3c5453cb6e
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,9 @@ public:
EntryKind = E_ConstantInt;
}
/// \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.
bool Merge(const DebugLocEntry &Next) {
if (End == Next.Begin && hasSameValueOrLocation(Next)) {
End = Next.End;