mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Tidy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user