[all-commits] [llvm/llvm-project] 6d2c29: [mlir][test] Remove unused lambda capture 'this' i...
Jie Fu via All-commits
all-commits at lists.llvm.org
Thu Apr 27 03:46:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d2c293bb22be9ec7bc7c10e947374f2d81501be
https://github.com/llvm/llvm-project/commit/6d2c293bb22be9ec7bc7c10e947374f2d81501be
Author: Jie Fu <jiefu at tencent.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M mlir/unittests/Analysis/Presburger/UtilsTest.cpp
Log Message:
-----------
[mlir][test] Remove unused lambda capture 'this' in UtilsTest.cpp (NFC)
/data/llvm-project/mlir/unittests/Analysis/Presburger/UtilsTest.cpp:39:17: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
auto merge = [this](unsigned i, unsigned j) -> bool { return true; };
^~~~
/data/llvm-project/mlir/unittests/Analysis/Presburger/UtilsTest.cpp:52:17: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
auto merge = [this](unsigned i, unsigned j) -> bool { return true; };
^~~~
2 errors generated.
More information about the All-commits
mailing list