Skip to content

Commit e77074d

Browse files
kazutakahiratagithub-actions[bot]
authored andcommitted
Automerge: [AsmParser] Remove a redundant call to std::unique_ptr<T>::get (NFC) (#163511)
2 parents cc77caf + 334d885 commit e77074d

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
@@ -1270,7 +1270,7 @@ bool LLParser::parseAliasOrIFunc(const std::string &Name, unsigned NameID,
12701270
if (parseToken(lltok::StringConstant, "expected partition string"))
12711271
return true;
12721272
} else if (!IsAlias && Lex.getKind() == lltok::MetadataVar) {
1273-
if (parseGlobalObjectMetadataAttachment(*GI.get()))
1273+
if (parseGlobalObjectMetadataAttachment(*GI))
12741274
return true;
12751275
} else {
12761276
return tokError("unknown alias or ifunc property!");

0 commit comments

Comments
 (0)