From aecc936ea0f40f98af99e5e544d5b82d65881262 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 31 Aug 2009 08:07:08 +0000 Subject: [PATCH] llvm-mc: Add some doxyment markers. llvm-svn: 80568 --- llvm/include/llvm/MC/MCContext.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/MC/MCContext.h b/llvm/include/llvm/MC/MCContext.h index 9e0662071cb7..955aa8b08388 100644 --- a/llvm/include/llvm/MC/MCContext.h +++ b/llvm/include/llvm/MC/MCContext.h @@ -46,7 +46,10 @@ namespace llvm { public: MCContext(); ~MCContext(); - + + /// @name Symbol Managment + /// @{ + /// CreateSymbol - Create a new symbol with the specified @param Name. /// /// @param Name - The symbol name, which must be unique across all symbols. @@ -72,6 +75,10 @@ namespace llvm { /// LookupSymbol - Get the symbol for @param Name, or null. MCSymbol *LookupSymbol(const StringRef &Name) const; + /// @} + /// @name Symbol Value Table + /// @{ + /// ClearSymbolValue - Erase a value binding for @arg Symbol, if one exists. void ClearSymbolValue(const MCSymbol *Symbol); @@ -82,6 +89,8 @@ namespace llvm { /// none exists. const MCValue *GetSymbolValue(const MCSymbol *Symbol) const; + /// @} + void *Allocate(unsigned Size, unsigned Align = 8) { return Allocator.Allocate(Size, Align); }