aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index 15e0a17e1e..994184f756 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -325,8 +325,7 @@ public:
/// getNamedMetadata - Return the first NamedMDNode in the module with the
/// specified name. This method returns null if a NamedMDNode with the
/// specified name is not found.
- NamedMDNode *getNamedMetadata(StringRef Name) const;
- NamedMDNode *getNamedMetadataUsingTwine(Twine Name) const;
+ NamedMDNode *getNamedMetadata(const Twine &Name) const;
/// getOrInsertNamedMetadata - Return the first named MDNode in the module
/// with the specified name. This method returns a new NamedMDNode if a