[all-commits] [llvm/llvm-project] c4960f: [llvm-reduce] Change initialization order to fix b...
Matthew Voss via All-commits
all-commits at lists.llvm.org
Thu Jun 30 09:57:48 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4960f6363c43a35851d1565b7fe96926ed82722
https://github.com/llvm/llvm-project/commit/c4960f6363c43a35851d1565b7fe96926ed82722
Author: Matthew Voss <matthew.voss at sony.com>
Date: 2022-06-30 (Thu, 30 Jun 2022)
Changed paths:
M llvm/tools/llvm-reduce/TestRunner.cpp
Log Message:
-----------
[llvm-reduce] Change initialization order to fix bots. NFC
Fixes this error:
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/
llvm-project/llvm/tools/llvm-reduce/TestRunner.cpp:20:7:
error: field 'TM' will be initialized after field 'ToolName'
[-Werror,-Wreorder-ctor]
TM(std::move(TM)), ToolName(ToolName) {
^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
Program(std::move(Program)) TM(std::move(TM))
1 error generated.
https://lab.llvm.org/buildbot/\#/builders/77/builds/19154
More information about the All-commits
mailing list