diff options
author | Devang Patel <dpatel@apple.com> | 2009-09-28 21:41:20 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-09-28 21:41:20 +0000 |
commit | e30e678865b8dc1b69ef1c26e7567ffd1300553c (patch) | |
tree | 1951754273d36be30da5e6d1ccaea38f7a461000 /include | |
parent | a2148402ce39fb3aad09e98a32078d3853a01ae9 (diff) |
s/class Metadata/class MetadataContext/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83019 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/LLVMContext.h | 4 | ||||
-rw-r--r-- | include/llvm/Metadata.h | 6 | ||||
-rw-r--r-- | include/llvm/Value.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h index 5e8cd1a88e..42b4ea69b9 100644 --- a/include/llvm/LLVMContext.h +++ b/include/llvm/LLVMContext.h @@ -18,7 +18,7 @@ namespace llvm { class LLVMContextImpl; -class Metadata; +class MetadataContext; /// This is an important class for using LLVM in a threaded context. It /// (opaquely) owns and manages the core "global" data of LLVM's core /// infrastructure, including the type and constant uniquing tables. @@ -30,7 +30,7 @@ class LLVMContext { void operator=(LLVMContext&); public: LLVMContextImpl* pImpl; - Metadata &getMetadata(); + MetadataContext &getMetadata(); bool RemoveDeadMetadata(); LLVMContext(); ~LLVMContext(); diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index d799ea4981..883de23cf1 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -304,10 +304,10 @@ public: }; //===----------------------------------------------------------------------===// -/// Metadata - -/// Metadata manages metadata used in a context. +/// MetadataContext - +/// MetadataContext manages metadata used in a context. -class Metadata { +class MetadataContext { public: typedef std::pair<unsigned, WeakVH> MDPairTy; typedef SmallVector<MDPairTy, 2> MDMapTy; diff --git a/include/llvm/Value.h b/include/llvm/Value.h index ab6247e801..6b393f603a 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -42,7 +42,7 @@ class raw_ostream; class AssemblyAnnotationWriter; class ValueHandleBase; class LLVMContext; -class Metadata; +class MetadataContext; //===----------------------------------------------------------------------===// // Value Class @@ -83,7 +83,7 @@ private: friend class ValueSymbolTable; // Allow ValueSymbolTable to directly mod Name. friend class SymbolTable; // Allow SymbolTable to directly poke Name. friend class ValueHandleBase; - friend class Metadata; + friend class MetadataContext; friend class AbstractTypeUser; ValueName *Name; |