llvm-mc: Add some doxyment markers.

llvm-svn: 80568
This commit is contained in:
Daniel Dunbar 2009-08-31 08:07:08 +00:00
parent 115e4d6d7b
commit aecc936ea0
1 changed files with 10 additions and 1 deletions

View File

@ -47,6 +47,9 @@ namespace llvm {
MCContext(); MCContext();
~MCContext(); ~MCContext();
/// @name Symbol Managment
/// @{
/// CreateSymbol - Create a new symbol with the specified @param Name. /// CreateSymbol - Create a new symbol with the specified @param Name.
/// ///
/// @param Name - The symbol name, which must be unique across all symbols. /// @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. /// LookupSymbol - Get the symbol for @param Name, or null.
MCSymbol *LookupSymbol(const StringRef &Name) const; MCSymbol *LookupSymbol(const StringRef &Name) const;
/// @}
/// @name Symbol Value Table
/// @{
/// ClearSymbolValue - Erase a value binding for @arg Symbol, if one exists. /// ClearSymbolValue - Erase a value binding for @arg Symbol, if one exists.
void ClearSymbolValue(const MCSymbol *Symbol); void ClearSymbolValue(const MCSymbol *Symbol);
@ -82,6 +89,8 @@ namespace llvm {
/// none exists. /// none exists.
const MCValue *GetSymbolValue(const MCSymbol *Symbol) const; const MCValue *GetSymbolValue(const MCSymbol *Symbol) const;
/// @}
void *Allocate(unsigned Size, unsigned Align = 8) { void *Allocate(unsigned Size, unsigned Align = 8) {
return Allocator.Allocate(Size, Align); return Allocator.Allocate(Size, Align);
} }