[clang] [clang-format] Add option to remove leading blank lines (PR #91221)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 24 21:16:04 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot3` while building `clang` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/383
Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[263/364] Linking CXX executable bin/find-all-symbols
[264/364] Linking CXX executable bin/modularize
[265/364] Linking CXX executable bin/clang-diff
[266/364] Linking CXX executable bin/clang-reorder-fields
[267/364] Linking CXX executable bin/clang-include-fixer
[268/364] Building CXX object tools/clang/tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o
[269/364] Linking CXX executable bin/clang-extdef-mapping
[270/364] Linking CXX executable bin/clang-query
[271/364] Linking CXX static library lib/libclangTidy.a
[272/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o
FAILED: tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /b/sanitizer-x86_64-linux-fast/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/clang/tools/extra/clangd -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/../include-cleaner/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/clang/tools/extra/clangd/../clang-tidy -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/clang/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/pseudo/lib/../include -nostdinc++ -isystem /b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/include -isystem /b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/include/c++/v1 -fsanitize=address,undefined -Wl,--rpath=/b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/lib -L/b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/lib -w -stdlib=libc++ -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr,function -fno-sanitize-recover=all -fsanitize-blacklist=/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/sanitizers/ubsan_ignorelist.txt -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -MF tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o.d -o tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -c /b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/Format.cpp
/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/Format.cpp:284:11: error: no member named 'KeepEmptyLinesAtTheStartOfBlocks' in 'clang::format::FormatStyle'
284 | Style.KeepEmptyLinesAtTheStartOfBlocks = true;
| ~~~~~ ^
1 error generated.
[273/364] Linking CXX shared library lib/libclang.so.19.0.0git
[274/364] Building CXX object tools/clang/tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o
[275/364] Linking CXX executable bin/clang-check
[276/364] Building CXX object tools/clang/tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o
[277/364] Building CXX object tools/clang/tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o
[278/364] Building CXX object tools/clang/tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o
[279/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o
[280/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o
[281/364] Building CXX object tools/clang/tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o
[282/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o
[283/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o
[284/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o
[285/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o
[286/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o
[287/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o
[288/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o
[289/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o
[290/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o
[291/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o
[292/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o
[293/364] Building CXX object tools/clang/tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o
[294/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o
[295/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o
[296/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o
[297/364] Building CXX object tools/clang/tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o
[298/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o
[299/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o
[300/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o
[301/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o
[302/364] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o
[303/364] Building CXX object tools/clang/tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o
[304/364] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o
[305/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o
Step 8 (stage2/asan_ubsan build) failure: stage2/asan_ubsan build (failure)
...
[263/364] Linking CXX executable bin/find-all-symbols
[264/364] Linking CXX executable bin/modularize
[265/364] Linking CXX executable bin/clang-diff
[266/364] Linking CXX executable bin/clang-reorder-fields
[267/364] Linking CXX executable bin/clang-include-fixer
[268/364] Building CXX object tools/clang/tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o
[269/364] Linking CXX executable bin/clang-extdef-mapping
[270/364] Linking CXX executable bin/clang-query
[271/364] Linking CXX static library lib/libclangTidy.a
[272/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o
FAILED: tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /b/sanitizer-x86_64-linux-fast/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/clang/tools/extra/clangd -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/../include-cleaner/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/clang/tools/extra/clangd/../clang-tidy -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/clang/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/pseudo/lib/../include -nostdinc++ -isystem /b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/include -isystem /b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/include/c++/v1 -fsanitize=address,undefined -Wl,--rpath=/b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/lib -L/b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/lib -w -stdlib=libc++ -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr,function -fno-sanitize-recover=all -fsanitize-blacklist=/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/sanitizers/ubsan_ignorelist.txt -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -MF tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o.d -o tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -c /b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/Format.cpp
/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/Format.cpp:284:11: error: no member named 'KeepEmptyLinesAtTheStartOfBlocks' in 'clang::format::FormatStyle'
284 | Style.KeepEmptyLinesAtTheStartOfBlocks = true;
| ~~~~~ ^
1 error generated.
[273/364] Linking CXX shared library lib/libclang.so.19.0.0git
[274/364] Building CXX object tools/clang/tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o
[275/364] Linking CXX executable bin/clang-check
[276/364] Building CXX object tools/clang/tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o
[277/364] Building CXX object tools/clang/tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o
[278/364] Building CXX object tools/clang/tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o
[279/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o
[280/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o
[281/364] Building CXX object tools/clang/tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o
[282/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o
[283/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o
[284/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o
[285/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o
[286/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o
[287/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o
[288/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o
[289/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o
[290/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o
[291/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o
[292/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o
[293/364] Building CXX object tools/clang/tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o
[294/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o
[295/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o
[296/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o
[297/364] Building CXX object tools/clang/tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o
[298/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o
[299/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o
[300/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o
[301/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o
[302/364] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o
[303/364] Building CXX object tools/clang/tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o
[304/364] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o
[305/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o
Step 9 (stage2/asan_ubsan check) failure: stage2/asan_ubsan check (failure)
...
[70/299] Linking CXX executable tools/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests
[71/299] Linking CXX executable unittests/ADT/ADTTests
[72/299] Linking CXX executable unittests/AsmParser/AsmParserTests
[73/299] Linking CXX executable unittests/DebugInfo/MSF/DebugInfoMSFTests
[74/299] Linking CXX executable bin/clang-move
[75/299] Linking CXX executable unittests/Bitcode/BitcodeTests
[76/299] Linking CXX executable tools/mlir/unittests/Target/LLVM/MLIRTargetLLVMTests
[77/299] Linking CXX executable unittests/DebugInfo/Symbolizer/DebugInfoSymbolizerTests
[78/299] Linking CXX executable unittests/Demangle/DemangleTests
[79/299] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o
FAILED: tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /b/sanitizer-x86_64-linux-fast/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/clang/tools/extra/clangd -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/../include-cleaner/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/clang/tools/extra/clangd/../clang-tidy -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/clang/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/pseudo/lib/../include -nostdinc++ -isystem /b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/include -isystem /b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/include/c++/v1 -fsanitize=address,undefined -Wl,--rpath=/b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/lib -L/b/sanitizer-x86_64-linux-fast/build/libcxx_build_asan_ubsan/lib -w -stdlib=libc++ -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr,function -fno-sanitize-recover=all -fsanitize-blacklist=/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/sanitizers/ubsan_ignorelist.txt -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -MF tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o.d -o tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -c /b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/Format.cpp
/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/Format.cpp:284:11: error: no member named 'KeepEmptyLinesAtTheStartOfBlocks' in 'clang::format::FormatStyle'
284 | Style.KeepEmptyLinesAtTheStartOfBlocks = true;
| ~~~~~ ^
1 error generated.
[80/299] Linking CXX executable unittests/Debuginfod/DebuginfodTests
[81/299] Linking CXX executable unittests/DebugInfo/GSYM/DebugInfoGSYMTests
[82/299] Linking CXX executable unittests/DWARFLinkerParallel/DWARFLinkerParallelTests
[83/299] Linking CXX executable tools/clang/unittests/Driver/ClangDriverTests
[84/299] Linking CXX executable tools/clang/unittests/StaticAnalyzer/StaticAnalysisTests
[85/299] Linking CXX executable unittests/FileCheck/FileCheckTests
[86/299] Linking CXX executable unittests/DebugInfo/PDB/DebugInfoPDBTests
[87/299] Linking CXX executable unittests/DebugInfo/BTF/DebugInfoBTFTests
[88/299] Linking CXX executable unittests/ExecutionEngine/ExecutionEngineTests
[89/299] Linking CXX executable unittests/ExecutionEngine/JITLink/JITLinkTests
[90/299] Linking CXX executable bin/c-index-test
[91/299] Linking CXX executable tools/lld/unittests/AsLibAll/LLDAsLibAllTests
[92/299] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
[93/299] Linking CXX executable bin/clang-import-test
[94/299] Linking CXX executable unittests/Analysis/AnalysisTests
[95/299] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[96/299] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/UsingDeclarationsSorterTest.cpp.o
[97/299] Linking CXX executable tools/mlir/unittests/ExecutionEngine/MLIRExecutionEngineTests
[98/299] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatReplacementTest.cpp.o
[99/299] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/BracesRemoverTest.cpp.o
[100/299] Linking CXX executable tools/clang/unittests/Serialization/SerializationTests
[101/299] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/IntegerLiteralSeparatorTest.cpp.o
[102/299] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestProto.cpp.o
[103/299] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/BracesInserterTest.cpp.o
[104/299] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
[105/299] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
[106/299] Linking CXX executable tools/clang/unittests/Support/ClangSupportTests
[107/299] Linking CXX executable tools/clang/unittests/Index/IndexTests
[108/299] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJS.cpp.o
[109/299] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTextProto.cpp.o
[110/299] Linking CXX executable bin/clang-scan-deps
[111/299] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[112/299] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
Step 11 (stage2/msan build) failure: stage2/msan build (failure)
...
[230/364] Linking CXX executable bin/mlir-capi-transform-interpreter-test
[231/364] Linking CXX executable bin/mlir-capi-transform-test
[232/364] Linking CXX executable bin/lld
[233/364] Linking CXX executable bin/clang-offload-packager
[234/364] Linking CXX executable bin/llvm-lto
[235/364] Linking CXX shared library lib/libLTO.so.19.0git
[236/364] Creating library symlink lib/libLTO.so
[237/364] Linking CXX executable bin/mlir-translate
[238/364] Linking CXX executable bin/clang-extdef-mapping
[239/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o
FAILED: tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /b/sanitizer-x86_64-linux-fast/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/clang/tools/extra/clangd -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/../include-cleaner/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/clang/tools/extra/clangd/../clang-tidy -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/clang/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/pseudo/lib/../include -nostdinc++ -isystem /b/sanitizer-x86_64-linux-fast/build/libcxx_build_msan/include -isystem /b/sanitizer-x86_64-linux-fast/build/libcxx_build_msan/include/c++/v1 -fsanitize=memory -Wl,--rpath=/b/sanitizer-x86_64-linux-fast/build/libcxx_build_msan/lib -L/b/sanitizer-x86_64-linux-fast/build/libcxx_build_msan/lib -w -stdlib=libc++ -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -gline-tables-only -fsanitize=memory -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -Oz -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -MF tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o.d -o tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -c /b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/Format.cpp
/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/Format.cpp:284:11: error: no member named 'KeepEmptyLinesAtTheStartOfBlocks' in 'clang::format::FormatStyle'
284 | Style.KeepEmptyLinesAtTheStartOfBlocks = true;
| ~~~~~ ^
1 error generated.
[240/364] Linking CXX executable bin/clang-linker-wrapper
[241/364] Linking CXX executable bin/mlir-capi-translation-test
[242/364] Linking CXX executable bin/mlir-capi-pass-test
[243/364] Linking CXX executable bin/mlir-capi-execution-engine-test
[244/364] Linking CXX executable bin/mlir-query
[245/364] Linking CXX executable bin/mlir-capi-ir-test
[246/364] Linking CXX executable bin/mlir-cpu-runner
[247/364] Building CXX object tools/clang/tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o
[248/364] Linking CXX executable bin/bugpoint
[249/364] Linking CXX executable bin/llvm-libtool-darwin
[250/364] Linking CXX executable bin/llvm-dwp
[251/364] Linking CXX executable bin/llc
[252/364] Linking CXX executable bin/llvm-lipo
[253/364] Linking CXX executable bin/dsymutil
[254/364] Linking CXX executable bin/mlir-transform-opt
[255/364] Building CXX object tools/clang/tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o
[256/364] Linking CXX executable bin/llvm-c-test
[257/364] Linking CXX executable bin/mlir-opt
[258/364] Linking CXX executable bin/clang-check
[259/364] Linking CXX executable bin/llvm-isel-fuzzer
[260/364] Linking CXX executable bin/llvm-dwarfutil
[261/364] Linking CXX executable bin/llvm-gsymutil
[262/364] Linking CXX shared library lib/libclang.so.19.0.0git
[263/364] Building CXX object tools/clang/tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o
[264/364] Linking CXX executable bin/mlir-lsp-server
[265/364] Building CXX object tools/clang/tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o
[266/364] Linking CXX executable bin/mlir-reduce
[267/364] Building CXX object tools/clang/tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o
[268/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o
[269/364] Building CXX object tools/clang/tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o
[270/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o
[271/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o
[272/364] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o
Step 12 (stage2/msan check) failure: stage2/msan check (failure)
...
[158/307] Linking CXX executable unittests/Target/X86/X86Tests
[159/307] Linking CXX executable unittests/Target/AMDGPU/AMDGPUTests
[160/307] Linking CXX executable unittests/Target/ARM/ARMTests
[161/307] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
[162/307] Linking CXX executable unittests/Transforms/Utils/UtilsTests
[163/307] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
[164/307] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[165/307] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
[166/307] Linking CXX executable unittests/MI/MITests
[167/307] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o
FAILED: tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /b/sanitizer-x86_64-linux-fast/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/clang/tools/extra/clangd -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/../include-cleaner/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/clang/tools/extra/clangd/../clang-tidy -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/clang/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/pseudo/lib/../include -nostdinc++ -isystem /b/sanitizer-x86_64-linux-fast/build/libcxx_build_msan/include -isystem /b/sanitizer-x86_64-linux-fast/build/libcxx_build_msan/include/c++/v1 -fsanitize=memory -Wl,--rpath=/b/sanitizer-x86_64-linux-fast/build/libcxx_build_msan/lib -L/b/sanitizer-x86_64-linux-fast/build/libcxx_build_msan/lib -w -stdlib=libc++ -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -gline-tables-only -fsanitize=memory -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -Oz -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -MF tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o.d -o tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -c /b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/Format.cpp
/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang-tools-extra/clangd/Format.cpp:284:11: error: no member named 'KeepEmptyLinesAtTheStartOfBlocks' in 'clang::format::FormatStyle'
284 | Style.KeepEmptyLinesAtTheStartOfBlocks = true;
| ~~~~~ ^
1 error generated.
[168/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/DefinitionBlockSeparatorTest.cpp.o
[169/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestProto.cpp.o
[170/307] Linking CXX executable unittests/Target/TargetMachineCTests
[171/307] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[172/307] Linking CXX executable unittests/MIR/MIRTests
[173/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestMacroExpansion.cpp.o
[174/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestSelective.cpp.o
[175/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJava.cpp.o
[176/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJS.cpp.o
[177/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJson.cpp.o
[178/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/UsingDeclarationsSorterTest.cpp.o
[179/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/BracesInserterTest.cpp.o
[180/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestVerilog.cpp.o
[181/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTableGen.cpp.o
[182/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/IntegerLiteralSeparatorTest.cpp.o
[183/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/BracesRemoverTest.cpp.o
[184/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJava.cpp.o
[185/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/SortIncludesTest.cpp.o
[186/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatReplacementTest.cpp.o
[187/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTextProto.cpp.o
[188/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJS.cpp.o
[189/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/ObjCPropertyAttributeOrderFixerTest.cpp.o
[190/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/MacroExpanderTest.cpp.o
[191/307] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderIncludesTest.cpp.o
[192/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestCSharp.cpp.o
[193/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTestObjC.cpp.o
[194/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/CleanupTest.cpp.o
[195/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/NamespaceEndCommentsFixerTest.cpp.o
[196/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/FormatTokenSourceTest.cpp.o
[197/307] Building CXX object tools/clang/tools/extra/unittests/clang-apply-replacements/CMakeFiles/ClangApplyReplacementsTests.dir/ApplyReplacementsTest.cpp.o
[198/307] Building CXX object tools/clang/tools/extra/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/IncludeFixerTest.cpp.o
[199/307] Building CXX object tools/clang/unittests/Format/CMakeFiles/FormatTests.dir/MacroCallReconstructorTest.cpp.o
[200/307] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringActionRulesTest.cpp.o
```
https://github.com/llvm/llvm-project/pull/91221
More information about the cfe-commits
mailing list