[SCEV] Fix a warning on an unused lambda capture
authorKazu Hirata <kazu@google.com>
Mon, 25 Oct 2021 07:45:18 +0000 (00:45 -0700)
committerKazu Hirata <kazu@google.com>
Mon, 25 Oct 2021 07:45:18 +0000 (00:45 -0700)
commit3729a5abf41d992535508e55c5d975f98c54dba0
tree742f50fe08e463083ad5099ff23cd7a7fc4cb121
parentf8623b078305953c7be85fb385713b6851068940
[SCEV] Fix a warning on an unused lambda capture

This patch fixes:

  llvm/lib/Analysis/ScalarEvolution.cpp:12770:37: error: lambda
  capture 'this' is not used [-Werror,-Wunused-lambda-capture]
llvm/lib/Analysis/ScalarEvolution.cpp