Add doxygen comments, patch contributed by Evan Jones.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-04-21 16:10:03 +00:00
parent a5ed1bd00b
commit f68563ff8a

View File

@ -28,12 +28,12 @@ class GlobalValue : public Constant {
GlobalValue(const GlobalValue &); // do not implement
public:
enum LinkageTypes {
ExternalLinkage, // Externally visible function
LinkOnceLinkage, // Keep one copy of named function when linking (inline)
WeakLinkage, // Keep one copy of named function when linking (weak)
AppendingLinkage, // Special purpose, only applies to global arrays
InternalLinkage, // Rename collisions when linking (static functions)
GhostLinkage // Stand-in functions for streaming fns from BC files
ExternalLinkage, /// Externally visible function
LinkOnceLinkage, /// Keep one copy of named function when linking (inline)
WeakLinkage, /// Keep one copy of named function when linking (weak)
AppendingLinkage, /// Special purpose, only applies to global arrays
InternalLinkage, /// Rename collisions when linking (static functions)
GhostLinkage /// Stand-in functions for streaming fns from BC files
};
protected:
GlobalValue(const Type *Ty, ValueTy vty, Use *Ops, unsigned NumOps,