summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-06-19 05:33:57 +0000
committerBob Wilson <bob.wilson@apple.com>2010-06-19 05:33:57 +0000
commit4581434c27daed4f693323ff48dbea1b35812805 (patch)
tree1863baf9e1fd037e9f5b6a88b2e838d6aac31998 /llvm/lib/VMCore
parent6d12973143b1b3d76734a244fb8d72cbcf975c8b (diff)
downloadbcm5719-llvm-4581434c27daed4f693323ff48dbea1b35812805.tar.gz
bcm5719-llvm-4581434c27daed4f693323ff48dbea1b35812805.zip
Tidy.
llvm-svn: 106383
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/Module.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Module.cpp b/llvm/lib/VMCore/Module.cpp
index a4c3d2e9a0e..a06911f77ad 100644
--- a/llvm/lib/VMCore/Module.cpp
+++ b/llvm/lib/VMCore/Module.cpp
@@ -312,7 +312,7 @@ GlobalAlias *Module::getNamedAlias(StringRef Name) const {
/// 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.
+/// specified name is not found.
NamedMDNode *Module::getNamedMetadata(StringRef Name) const {
return NamedMDSymTab->lookup(Name);
}
@@ -320,7 +320,7 @@ NamedMDNode *Module::getNamedMetadata(StringRef Name) const {
NamedMDNode *Module::getNamedMetadataUsingTwine(Twine Name) const {
SmallString<256> NameData;
StringRef NameRef = Name.toStringRef(NameData);
- return NamedMDSymTab->lookup(NameRef);
+ return NamedMDSymTab->lookup(NameRef);
}
/// getOrInsertNamedMetadata - Return the first named MDNode in the module
OpenPOWER on IntegriCloud