aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Metadata.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h
index 1ece559..10433df 100644
--- a/include/llvm/Metadata.h
+++ b/include/llvm/Metadata.h
@@ -244,9 +244,9 @@ public:
/// the same metadata to In2.
void copyMD(Instruction *In1, Instruction *In2);
- /// getHandlerNames - Populate client supplied smallvector using custom
- /// metadata name and ID.
- void getHandlerNames(SmallVectorImpl<std::pair<unsigned, StringRef> >&) const;
+ /// getMDKindNames - Populate client supplied SmallVector with the name for
+ /// each custom metadata ID. ID #0 is not used, so it is filled in as empty.
+ void getMDKindNames(SmallVectorImpl<StringRef> &) const;
/// ValueIsDeleted - This handler is used to update metadata store
/// when a value is deleted.