[all-commits] [llvm/llvm-project] 9b3525: [NFC][Clang] Remove unused function `CodeGenModule...

Juan Manuel Martinez Caamaño via All-commits all-commits at lists.llvm.org
Wed Aug 30 01:38:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b352540184e181d2a38423d352c5d5e2142839e
      https://github.com/llvm/llvm-project/commit/9b352540184e181d2a38423d352c5d5e2142839e
  Author: Juan Manuel MARTINEZ CAAMAÑO <juamarti at amd.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenModule.h

  Log Message:
  -----------
  [NFC][Clang] Remove unused function `CodeGenModule::addDefaultFunctionDefinitionAttributes`

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

Differential Revision: https://reviews.llvm.org/D158990




More information about the All-commits mailing list