From 3c5453cb6e76aed48bb2cefaf6ba7d9009502c25 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 1 Apr 2014 23:34:45 +0000 Subject: [PATCH] Add a doxygen comment to DebugLocEntry::Merge. llvm-svn: 205374 --- llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h b/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h index 0834b36013d9..7551c8f0ced3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h +++ b/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h @@ -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;