[all-commits] [llvm/llvm-project] a6161a: [Instrumentation] Remove unused variable 'DL' in M...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Wed Jan 24 18:12:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6161a2524c5146a982abc4d580a61f95344edbf
      https://github.com/llvm/llvm-project/commit/a6161a2524c5146a982abc4d580a61f95344edbf
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp

  Log Message:
  -----------
  [Instrumentation] Remove unused variable 'DL' in MemProfiler.cpp (NFC)

llvm-project/llvm/lib/Transforms/Instrumentation/MemProfiler.cpp:375:21:
 error: unused variable 'DL' [-Werror,-Wunused-variable]
  const DataLayout &DL = I->getModule()->getDataLayout();
                    ^
1 error generated.




More information about the All-commits mailing list