Skip to content

Commit 04af2e2

Browse files
[AsmParser] Remove a redundant call to std::unique_ptr<T>::get (NFC)
1 parent 37eda40 commit 04af2e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/AsmParser/LLParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ bool LLParser::parseAliasOrIFunc(const std::string &Name, unsigned NameID,
12591259
if (parseToken(lltok::StringConstant, "expected partition string"))
12601260
return true;
12611261
} else if (!IsAlias && Lex.getKind() == lltok::MetadataVar) {
1262-
if (parseGlobalObjectMetadataAttachment(*GI.get()))
1262+
if (parseGlobalObjectMetadataAttachment(*GI))
12631263
return true;
12641264
} else {
12651265
return tokError("unknown alias or ifunc property!");

0 commit comments

Comments
 (0)