[llvm] [llvm] Use "= default" (NFC) (PR #166088)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 2 18:39:33 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux-bootstrap-msan` running on `sanitizer-buildbot9` while building `llvm` at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/94/builds/12318

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=memory'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, msan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11270 of 11289 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11205 of 11270)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14
Step 10 (stage2/msan check-cxx) failure: stage2/msan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=memory'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, msan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11270 of 11289 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11205 of 11270)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14

```

</details>

https://github.com/llvm/llvm-project/pull/166088


More information about the llvm-commits mailing list