[all-commits] [llvm/llvm-project] 887622: [ExecutionEngine] Remove unused functions

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue Jun 13 00:25:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8876220948e6a63c2d5f1121c769d5524125d542
      https://github.com/llvm/llvm-project/commit/8876220948e6a63c2d5f1121c769d5524125d542
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
    M llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp

  Log Message:
  -----------
  [ExecutionEngine] Remove unused functions

This patch removes:

  cloneModuleFlagsMetadata
  moveFunctionBody
  moveGlobalVariableInitializer

Their last uses were removed by:

  commit 6154c4115cd4b78d0171892aac21e340e72e32bd
  Author: Lang Hames <lhames at gmail.com>
  Date:   Mon Sep 7 21:21:28 2020 -0700

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


  Commit: ee72e2b3939a82a29345c7e53929a3a769a78735
      https://github.com/llvm/llvm-project/commit/ee72e2b3939a82a29345c7e53929a3a769a78735
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaCXXScopeSpec.cpp

  Log Message:
  -----------
  [Sema] Remove unused isNonTypeNestedNameSpecifier

The last use was removed by:

  commit 04f131da0b19abff611773c03be9bafb53c753ce
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   Fri Jan 24 15:14:25 2020 -0800

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


  Commit: 0df7e9f886feef6e002bb41081062364233696be
      https://github.com/llvm/llvm-project/commit/0df7e9f886feef6e002bb41081062364233696be
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M llvm/include/llvm/ADT/APInt.h

  Log Message:
  -----------
  [ADT] Remove deprecated functions in APInt

This patch removes functions deprecated by:

  commit 462b29019b20cf7b25c68ec952b1f92930f5035d
  Author: Kazu Hirata <kazu at google.com>
  Date:   Sun Mar 5 22:48:28 2023 -0800

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


  Commit: c4933940f76bb775c33b70f4543d30c2e595ef1f
      https://github.com/llvm/llvm-project/commit/c4933940f76bb775c33b70f4543d30c2e595ef1f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M clang/lib/Analysis/ThreadSafetyCommon.cpp
    M clang/lib/ExtractAPI/API.cpp
    M clang/lib/Lex/PreprocessingRecord.cpp
    M clang/lib/Serialization/ModuleManager.cpp
    M clang/tools/libclang/CXIndexDataConsumer.cpp

  Log Message:
  -----------
  [clang] Use DenseMapBase::lookup (NFC)


  Commit: 249bd21c937144686b75a38565b49c6ea51a20bf
      https://github.com/llvm/llvm-project/commit/249bd21c937144686b75a38565b49c6ea51a20bf
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h

  Log Message:
  -----------
  [StaticAnalyzer] Remove several unused declarations

The function definition of GenerateAutoTransition was removed by:

  commit b1d3d968725baf28a00b12aad760434036cbe704
  Author: Anna Zaks <ganna at apple.com>
  Date:   Thu Oct 27 00:59:23 2011 +0000

The function definitions of enqueueEndOfPath and GenerateCallExitNode
were removed by:

  commit 0ec04bf73885df3e10bd7fcd5c8ce901cad7d76c
  Author: Anna Zaks <ganna at apple.com>
  Date:   Thu Oct 27 00:59:28 2011 +0000


  Commit: 6639717de8365e50983b057cdc3396d77d1374c1
      https://github.com/llvm/llvm-project/commit/6639717de8365e50983b057cdc3396d77d1374c1
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/SPIRV.h

  Log Message:
  -----------
  [Driver] Remove unused declaration addTranslatorArgs

The declaration was added without a use by:

  commit 49682f14bf3fb8db5e2721d9896b27bb4c2bd635
  Author: Henry Linjamäki <henry.linjamaki at parmance.com>
  Date:   Wed Nov 17 11:23:49 2021 +0300


  Commit: 9567cfd03432e3ac27201af6f5b479dda28cbf0c
      https://github.com/llvm/llvm-project/commit/9567cfd03432e3ac27201af6f5b479dda28cbf0c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
    M clang/lib/StaticAnalyzer/Core/MemRegion.cpp

  Log Message:
  -----------
  [StaticAnalyzer] Remove unused function hasGlobalsOrParametersStorage

The last use was removed by:

  commit e2e37b9afc0a0a66a1594377a88221e115d95348
  Author: Ted Kremenek <kremenek at apple.com>
  Date:   Thu Jul 28 23:08:02 2011 +0000


  Commit: a89895ab5742819394e9af7f485e9188f8b24aa4
      https://github.com/llvm/llvm-project/commit/a89895ab5742819394e9af7f485e9188f8b24aa4
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/Sema.cpp

  Log Message:
  -----------
  [Sema] Remove unused member variable MSVCGuidDecl

The last use was removed by:

  commit bab6df86aefc5ea4aa3895da7cf46be37add676d
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   Sat Apr 11 22:15:29 2020 -0700


Compare: https://github.com/llvm/llvm-project/compare/6ee594be53e7...a89895ab5742


More information about the All-commits mailing list