[llvm-commits] [llvm] r80568 - /llvm/trunk/include/llvm/MC/MCContext.h
Daniel Dunbar
daniel at zuster.org
Mon Aug 31 01:07:09 PDT 2009
Author: ddunbar
Date: Mon Aug 31 03:07:08 2009
New Revision: 80568
URL: http://llvm.org/viewvc/llvm-project?rev=80568&view=rev
Log:
llvm-mc: Add some doxyment markers.
Modified:
llvm/trunk/include/llvm/MC/MCContext.h
Modified: llvm/trunk/include/llvm/MC/MCContext.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCContext.h?rev=80568&r1=80567&r2=80568&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCContext.h (original)
+++ llvm/trunk/include/llvm/MC/MCContext.h Mon Aug 31 03:07:08 2009
@@ -46,7 +46,10 @@
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 @@
/// 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 @@
/// none exists.
const MCValue *GetSymbolValue(const MCSymbol *Symbol) const;
+ /// @}
+
void *Allocate(unsigned Size, unsigned Align = 8) {
return Allocator.Allocate(Size, Align);
}
More information about the llvm-commits
mailing list