Open palmje opened 7 months ago
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
This pull request was exported from Phabricator. Differential Revision: D54112254
Summary: -Wshadow triggered in LLVM-17:
This seems to only be triggered in llvm-17, llvm-15 doesn't pick it up:
Differential Revision: D54112254