summaryrefslogtreecommitdiff
path: root/include/llvm/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-31 08:07:08 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-31 08:07:08 +0000
commit869a5e7d66cdc756608190bff1e837fe5809d16e (patch)
tree426f597b647b1a107bc8eb857f368691ad57d134 /include/llvm/MC
parent28c251b54b0b311749f07babe0f6909e71e877bc (diff)
downloadllvm-869a5e7d66cdc756608190bff1e837fe5809d16e.tar.gz
llvm-869a5e7d66cdc756608190bff1e837fe5809d16e.tar.bz2
llvm-869a5e7d66cdc756608190bff1e837fe5809d16e.tar.xz
llvm-mc: Add some doxyment markers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC')
-rw-r--r--include/llvm/MC/MCContext.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h
index 9e0662071c..955aa8b083 100644
--- a/include/llvm/MC/MCContext.h
+++ b/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);
}