From d6bb283de9f81428762f13b7f6bae31adaba5768 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 1 Jul 2009 07:03:41 +0000 Subject: [PATCH] Tweak MCSymbol doxyments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74599 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCSymbol.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/llvm/MC/MCSymbol.h b/include/llvm/MC/MCSymbol.h index a6a9dff5075..235e6614f97 100644 --- a/include/llvm/MC/MCSymbol.h +++ b/include/llvm/MC/MCSymbol.h @@ -30,8 +30,8 @@ namespace llvm { class MCSymbol { /// Name - The name of the symbol. std::string Name; - /// Section - The section the symbol is defined in, or null if not defined - /// in this translation unit. + /// Section - The section the symbol is defined in, or null if the symbol + /// has not been defined in the associated translation unit. MCSection *Section; /// IsTemporary - True if this is an assembler temporary label, which @@ -39,7 +39,9 @@ namespace llvm { /// "Lfoo" or ".foo". unsigned IsTemporary : 1; - /// IsExternal - ? + /// IsExternal - True if this symbol has been implicitly defined as an + /// external, for example by using it in an expression without ever emitting + /// it as a label. The @var Section for an external symbol is always null. unsigned IsExternal : 1; private: // MCContext creates and uniques these.