Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: -Wshadow triggered in LLVM-17: ``` fbcode/folly/futures/ThreadWheelTimekeeper.cpp:61:42: error: declaration shadows a structured binding [-Werror,-Wshadow] 61 | eventBase_.runInEventBaseThread([this, cob = std::move(cob), dur] { | ^ fbcode/folly/futures/ThreadWheelTimekeeper.cpp:47:9: note: previous declaration is here 47 | auto [cob, sf] = WTCallback<HHWheelTimer>::create(&eventBase_); | ^ ``` This seems to only be triggered in llvm-17, llvm-15 doesn't pick it up: ``` $ buck2 build -c cxx.extra_cxxflags=-Wshadow folly/futures:core ... BUILD SUCCEEDE ``` Differential Revision: D54112254
- Loading branch information