This is an archive of the discontinued LLVM Phabricator instance.

[NFC][Clang] Remove unused function `CodeGenModule::addDefaultFunctionDefinitionAttributes`
ClosedPublic

Authored by jmmartinez on Aug 28 2023, 7:44 AM.

Details

Summary

This patch deletes the unused addDefaultFunctionDefinitionAttributes(llvm::Function); function,
while it still keeps void addDefaultFunctionDefinitionAttributes(llvm::AttrBuilder &attrs); which is being used.

Diff Detail

Event Timeline

jmmartinez created this revision.Aug 28 2023, 7:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2023, 7:44 AM
jmmartinez requested review of this revision.Aug 28 2023, 7:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2023, 7:44 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
jmmartinez edited the summary of this revision. (Show Details)Aug 28 2023, 7:57 AM
jmmartinez added a reviewer: jhuber6.
This revision was not accepted when it landed; it landed in state Needs Review.Aug 30 2023, 1:38 AM
This revision was automatically updated to reflect the committed changes.