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

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 2 17:56:49 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `flang-aarch64-rel-assert` running on `linaro-flang-aarch64-rel-assert` while building `llvm` at step 5 "build-unified-tree".

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
1796.920 [337/64/6972] Generating ../../bin/llvm-bitcode-strip
1796.922 [337/63/6973] Generating ../../bin/llvm-install-name-tool
1796.929 [337/62/6974] Generating ../../bin/llvm-strip
1796.968 [337/61/6975] Linking CXX executable bin/OrcV2CBindingsAddObjectFile
1796.970 [337/60/6976] Linking CXX static library lib/libclangStaticAnalyzerFrontend.a
1796.987 [332/64/6977] Linking CXX static library lib/libMLIRSCFToSPIRV.a
1796.990 [331/64/6978] Linking CXX static library lib/libMLIRTensorToSPIRV.a
1796.991 [331/63/6979] Linking CXX static library lib/libMLIRTestVectorToSPIRV.a
1796.998 [331/62/6980] Linking CXX executable bin/LLJITDumpObjects
1797.049 [331/61/6981] Building CXX object examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o
FAILED: examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/examples/OptSubcommand -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/examples/OptSubcommand -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o -MF examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o.d -o examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/examples/OptSubcommand/llvm-hello-sub.cpp
../llvm-project/llvm/examples/OptSubcommand/llvm-hello-sub.cpp:49:51: error: expected '{' or ','
   49 |                         OptionSubCommandIDsTable) = default;
      |                                                   ^
1 error generated.
1797.056 [331/60/6982] Linking CXX static library lib/libclangFrontendTool.a
1797.066 [331/59/6983] Linking CXX static library lib/libMLIRGPUToSPIRV.a
1797.180 [331/58/6984] Linking CXX executable bin/LLJITWithOptimizingIRTransform
1797.745 [331/57/6985] Linking CXX executable bin/OrcV2CBindingsDumpObjects
1797.971 [331/56/6986] Linking CXX executable bin/LLJITWithCustomObjectLinkingLayer
1798.117 [331/55/6987] Linking CXX executable bin/OrcV2CBindingsRemovableCode
1798.614 [331/54/6988] Linking CXX executable bin/diagtool
1798.654 [331/53/6989] Linking CXX executable bin/LLJITWithThinLTOSummaries
1798.689 [331/52/6990] Linking CXX executable bin/LLJITWithRemoteDebugging
1798.849 [331/51/6991] Linking CXX executable bin/opt
1798.982 [331/50/6992] Linking CXX executable bin/Kaleidoscope-Ch7
1799.023 [331/49/6993] Linking CXX executable bin/BuildingAJIT-Ch2
1799.459 [331/48/6994] Linking CXX executable bin/Kaleidoscope-Ch5
1799.503 [331/47/6995] Linking CXX executable bin/Kaleidoscope-Ch6
1799.538 [331/46/6996] Linking CXX executable bin/Kaleidoscope-Ch4
1799.583 [331/45/6997] Linking CXX executable bin/OrcV2CBindingsIRTransforms
1799.972 [331/44/6998] Linking CXX executable bin/clang-scan-deps
1800.107 [331/43/6999] Linking CXX executable bin/ParallelJIT
1800.718 [331/42/7000] Linking CXX executable bin/clang-diff
1801.353 [331/41/7001] Linking CXX shared library lib/libclang-cpp.so.22.0git
1801.550 [331/40/7002] Building CXX object tools/flang/lib/Optimizer/CodeGen/CMakeFiles/FIRCodeGen.dir/PreCGRewrite.cpp.o
1801.829 [331/39/7003] Linking CXX executable bin/clang-installapi
1801.993 [331/38/7004] Linking CXX executable bin/clang-refactor
1802.073 [331/37/7005] Linking CXX executable bin/clang-extdef-mapping
1802.892 [331/36/7006] Linking CXX shared module lib/CheckerOptionHandlingAnalyzerPlugin.so
1803.064 [331/35/7007] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
1803.383 [331/34/7008] Linking CXX executable bin/clang-import-test
1803.528 [331/33/7009] Linking CXX shared module lib/SampleAnalyzerPlugin.so
1803.772 [331/32/7010] Linking CXX executable bin/SpeculativeJIT
1804.148 [331/31/7011] Linking CXX shared library lib/libclang.so.22.0.0git
1806.522 [331/30/7012] Linking CXX executable bin/clang-check
1806.983 [331/29/7013] Building CXX object tools/flang/lib/Optimizer/CodeGen/CMakeFiles/FIRCodeGen.dir/BoxedProcedure.cpp.o
1807.899 [331/28/7014] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CUFComputeSharedMemoryOffsetsAndSize.cpp.o

```

</details>

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


More information about the llvm-commits mailing list