diff options
author | Devang Patel <dpatel@apple.com> | 2009-10-20 22:50:27 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-10-20 22:50:27 +0000 |
commit | d9723e9a2800e3f74652ef3be7c1c2c58d01f376 (patch) | |
tree | 3ef4d5c65e845d485836097dfe102006d360826b /include/llvm/Metadata.h | |
parent | a7cc65283af74e8681522d4ede4d7c15d04f58e3 (diff) | |
download | external_llvm-d9723e9a2800e3f74652ef3be7c1c2c58d01f376.zip external_llvm-d9723e9a2800e3f74652ef3be7c1c2c58d01f376.tar.gz external_llvm-d9723e9a2800e3f74652ef3be7c1c2c58d01f376.tar.bz2 |
Cosmetic changes.
s/validName/isValidName/g
s/with an Instruction/to an Instruction/g
s/RegisterMDKind/registerMDKind/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Metadata.h')
-rw-r--r-- | include/llvm/Metadata.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index 4a595b5..388361e 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -295,25 +295,25 @@ private: StringMap<unsigned> MDHandlerNames; public: - /// RegisterMDKind - Register a new metadata kind and return its ID. + /// registerMDKind - Register a new metadata kind and return its ID. /// A metadata kind can be registered only once. - unsigned RegisterMDKind(const char *Name); + unsigned registerMDKind(const char *Name); /// getMDKind - Return metadata kind. If the requested metadata kind /// is not registered then return 0. unsigned getMDKind(const char *Name); - /// validName - Return true if Name is a valid custom metadata handler name. - bool validName(const char *Name); + /// isValidName - Return true if Name is a valid custom metadata handler name. + bool isValidName(const char *Name); - /// getMD - Get the metadata of given kind attached with an Instruction. + /// getMD - Get the metadata of given kind attached to an Instruction. /// If the metadata is not found then return 0. MDNode *getMD(unsigned Kind, const Instruction *Inst); - /// getMDs - Get the metadata attached with an Instruction. + /// getMDs - Get the metadata attached to an Instruction. const MDMapTy *getMDs(const Instruction *Inst); - /// addMD - Attach the metadata of given kind with an Instruction. + /// addMD - Attach the metadata of given kind to an Instruction. void addMD(unsigned Kind, MDNode *Node, Instruction *Inst); /// removeMD - Remove metadata of given kind attached with an instuction. |