diff options
| author | Adrian Prantl <aprantl@apple.com> | 2014-04-01 23:34:45 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2014-04-01 23:34:45 +0000 |
| commit | 3c5453cb6e76aed48bb2cefaf6ba7d9009502c25 (patch) | |
| tree | 42e4d36264d2b58b06254ebfc439b473db0a8aee /llvm/lib/CodeGen/AsmPrinter | |
| parent | 6fa9966ee6f22d4362cd8d022e07add21dd62d15 (diff) | |
| download | bcm5719-llvm-3c5453cb6e76aed48bb2cefaf6ba7d9009502c25.tar.gz bcm5719-llvm-3c5453cb6e76aed48bb2cefaf6ba7d9009502c25.zip | |
Add a doxygen comment to DebugLocEntry::Merge.
llvm-svn: 205374
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h b/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h index 0834b36013d..7551c8f0ced 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; |

