[all-commits] [llvm/llvm-project] 82e177: [ORC] Fix name shadowing issue, NFC.

Aman LaChapelle via All-commits all-commits at lists.llvm.org
Thu Mar 9 14:07:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82e177bbde888f1dd846359a9d05665591488275
      https://github.com/llvm/llvm-project/commit/82e177bbde888f1dd846359a9d05665591488275
  Author: bzcheeseman <aman.lachapelle at gmail.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

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

  Log Message:
  -----------
  [ORC] Fix name shadowing issue, NFC.

Testing the COFFPlatform on MSVC, a name shadowing issue surfaced where `LoadDynLibrary` inside the constructor was actually using the moved-from function argument. This patch simply renames the argument to avoid that shadowing.

Reviewed By: rriddle

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




More information about the All-commits mailing list