[clang-tools-extra] [clang-tidy] Add IgnoreMacros option to readability-redundant-member-init (PR #190530)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 5 08:05:40 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3178 tests passed
* 7 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/checkers/readability/redundant-member-init.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/redundant-member-init.cpp readability-redundant-member-init /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/redundant-member-init.cpp.tmp -config="{CheckOptions: {readability-redundant-member-init.IgnoreBaseInCopyConstructors: true} }"
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/redundant-member-init.cpp readability-redundant-member-init /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/redundant-member-init.cpp.tmp '-config={CheckOptions: {readability-redundant-member-init.IgnoreBaseInCopyConstructors: true} }'
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks', '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/redundant-member-init.cpp.tmp.cpp', '-fix', '--checks=-*,readability-redundant-member-init', '-config={CheckOptions: {readability-redundant-member-init.IgnoreBaseInCopyConstructors: true} }', '--', '-std=c++11', '-nostdinc++', '-isystem', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']...
# | clang-tidy --experimental-custom-checks /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/redundant-member-init.cpp.tmp.cpp -fix --checks=-*,readability-redundant-member-init -config={CheckOptions: {readability-redundant-member-init.IgnoreBaseInCopyConstructors: true} } -- -std=c++11 -nostdinc++ -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std failed:
# | clang-tidy: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/SourceManager.h:509: const ExpansionInfo &clang::SrcMgr::SLocEntry::getExpansion() const: Assertion `isExpansion() && "Not a macro expansion SLocEntry!"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: clang-tidy --experimental-custom-checks /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/redundant-member-init.cpp.tmp.cpp -fix --checks=-*,readability-redundant-member-init "-config={CheckOptions: {readability-redundant-member-init.IgnoreBaseInCopyConstructors: true} }" -- -std=c++11 -nostdinc++ -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std
# | 1. <eof> parser at end of file
# | 2. ASTMatcher: Processing 'readability-redundant-member-init' against:
# | FieldDecl WithMacro1::s : </home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/redundant-member-init.cpp.tmp.cpp:326:3, col:7 <Spelling=line:323:17>>
# | --- Bound Nodes Begin ---
# | class - { CXXRecordDecl S : </home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/redundant-member-init.cpp.tmp.cpp:7:1, line:11:1> }
# | construct - { CXXConstructExpr : </home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/redundant-member-init.cpp.tmp.cpp:326:7 <Spelling=line:323:16>, line:326:7 <Spelling=line:323:17>> }
# | field - { FieldDecl WithMacro1::s : </home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/redundant-member-init.cpp.tmp.cpp:326:3, col:7 <Spelling=line:323:17>> }
# | --- Bound Nodes End ---
# | #0 0x00000000042cb618 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x00000000042c8471 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000042cc761 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007d6757c55330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007d6757caeb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007d6757c5527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007d6757c388ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007d6757c3881b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007d6757c4b517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x0000000004390522 clang::SourceManager::isMacroArgExpansion(clang::SourceLocation, clang::SourceLocation*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/SourceManager.h:0:5
# | #10 0x000000000732101f clang::Lexer::GetBeginningOfToken(clang::SourceLocation, clang::SourceManager const&, clang::LangOptions const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:624:7
# | #11 0x00000000073232ad clang::Lexer::findPreviousToken(clang::SourceLocation, clang::SourceManager const&, clang::LangOptions const&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:1380:11
# | #12 0x0000000005b85344 getPreviousTokenAndStart /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clang-tidy/utils/LexerUtils.cpp:23:11
# | #13 0x0000000005b85344 clang::tidy::utils::lexer::getPreviousToken(clang::SourceLocation, clang::SourceManager const&, clang::LangOptions const&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clang-tidy/utils/LexerUtils.cpp:34:7
# | #14 0x000000000584b773 clang::tidy::readability::getFullInitRangeInclWhitespaces(clang::SourceRange, clang::SourceManager const&, clang::LangOptions const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.cpp:26:7
# | #15 0x000000000584b189 SourceLocation /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/SourceLocation.h:106:10
# | #16 0x000000000584b189 SourceRange /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/SourceLocation.h:229:3
# | #17 0x000000000584b189 CharSourceRange /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/SourceLocation.h:281:3
# | #18 0x000000000584b189 FixItHint /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/Diagnostic.h:98:3
# | #19 0x000000000584b189 CreateRemoval /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/Diagnostic.h:131:15
# | #20 0x000000000584b189 CreateRemoval /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/Diagnostic.h:136:12
# | #21 0x000000000584b189 clang::tidy::readability::RedundantMemberInitCheck::check(clang::ast_matchers::MatchFinder::MatchResult const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.cpp:108:12
# | #22 0x0000000004d338e9 _M_mbegin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_tree.h:737:64
# | #23 0x0000000004d338e9 _M_begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_tree.h:741:16
# | #24 0x0000000004d338e9 ~_Rb_tree /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_tree.h:986:18
# | #25 0x0000000004d338e9 ~map /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_map.h:314:22
# | #26 0x0000000004d338e9 ~BoundNodesMap /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:214:7
# | #27 0x0000000004d338e9 ~BoundNodes /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/ASTMatchers/ASTMatchers.h:111:7
# | #28 0x0000000004d338e9 ~MatchResult /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/ASTMatchers/ASTMatchFinder.h:75:10
# | #29 0x0000000004d338e9 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::MatchVisitor::visitMatch(clang::ast_matchers::BoundNodes const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/ASTMatchers/ASTMatchFinder.cpp:1272:7
# | #30 0x0000000004d6530c _M_mbegin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_tree.h:737:64
# | #31 0x0000000004d6530c _M_begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_tree.h:741:16
# | #32 0x0000000004d6530c ~_Rb_tree /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_tree.h:986:18
# | #33 0x0000000004d6530c ~map /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_map.h:314:22
# | #34 0x0000000004d6530c ~BoundNodesMap /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:214:7
# | #35 0x0000000004d6530c ~BoundNodes /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/ASTMatchers/ASTMatchers.h:111:7
# | #36 0x0000000004d6530c clang::ast_matchers::internal::BoundNodesTreeBuilder::visitMatches(clang::ast_matchers::internal::BoundNodesTreeBuilder::Visitor*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/ASTMatchers/ASTMatchersInternal.cpp:104:5
# | #37 0x0000000004d33102 assertHoldsState /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/ASTMatchers/ASTMatchFinder.cpp:842:36
# | #38 0x0000000004d33102 reset /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/ASTMatchers/ASTMatchFinder.cpp:835:7
# | #39 0x0000000004d33102 ~CurMatchRAII /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/ASTMatchers/ASTMatchFinder.cpp:870:40
# | #40 0x0000000004d33102 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::matchWithFilter(clang::DynTypedNode const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/ASTMatchers/ASTMatchFinder.cpp:1069:5
# | #41 0x0000000004d377c2 getKind /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/DeclBase.h:450:51
# | #42 0x0000000004d377c2 TraverseDecl /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:778:14
# | #43 0x0000000004d377c2 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/ASTMatchers/ASTMatchFinder.cpp:1536:48
# | #44 0x0000000004d3e12b TraverseDeclContextHelper /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:1643:7
# | #45 0x0000000004d3e12b clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseCXXRecordDecl(clang::CXXRecordDecl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:2181:1
# | #46 0x0000000004d37e99 TraverseDecl /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include/clang/AST/DeclNodes.inc:432:1
# | #47 0x0000000004d37e99 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/ASTMatchers/ASTMatchFinder.cpp:1536:48
# | #48 0x0000000004d3811b TraverseDeclContextHelper /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:1643:7
# | #49 0x0000000004d3811b clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseTranslationUnitDecl(clang::TranslationUnitDecl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:1751:1
# | #50 0x0000000004d377e9 TraverseDecl /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include/clang/AST/DeclNodes.inc:24:1
# | #51 0x0000000004d377e9 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/ASTMatchers/ASTMatchFinder.cpp:1536:48
# | #52 0x0000000004d052d8 onEndOfTranslationUnit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/ASTMatchers/ASTMatchFinder.cpp:446:30
# | #53 0x0000000004d052d8 clang::ast_matchers::MatchFinder::matchAST(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/ASTMatchers/ASTMatchFinder.cpp:1789:11
# | #54 0x00000000064dfadc operator++ /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1111:2
# | #55 0x00000000064dfadc clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/MultiplexConsumer.cpp:345:23
# | #56 0x00000000066cda19 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20
# | #57 0x00000000066cda19 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16
# | #58 0x00000000066cda19 finalize<std::vector<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> >, std::allocator<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> > > > > /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/TemplateInstCallback.h:54:16
# | #59 0x00000000066cda19 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3
# | #60 0x0000000006440c46 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #61 0x00000000063a0dbd getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #62 0x00000000063a0dbd operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #63 0x00000000063a0dbd clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23
# | #64 0x000000000436abd9 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr<clang::CompilerInvocation>, clang::FileManager*, std::shared_ptr<clang::PCHContainerOperations>, clang::DiagnosticConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Tooling/Tooling.cpp:459:33
# | #65 0x00000000043d4c8e ~__shared_count /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1070:6
# | #66 0x00000000043d4c8e ~__shared_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1524:31
# | #67 0x00000000043d4c8e clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem>, bool, bool, llvm::StringRef, bool)::ActionFactory::runInvocation(std::shared_ptr<clang::CompilerInvocation>, clang::FileManager*, std::shared_ptr<clang::PCHContainerOperations>, clang::DiagnosticConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clang-tidy/ClangTidy.cpp:633:7
# | #68 0x000000000436a83a ~__shared_count /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1070:6
# | #69 0x000000000436a83a ~__shared_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1524:31
# | #70 0x000000000436a83a clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr<clang::CompilerInvocation>, std::shared_ptr<clang::PCHContainerOperations>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Tooling/Tooling.cpp:439:3
# | #71 0x0000000004369071 clang::tooling::ToolInvocation::run() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Tooling/Tooling.cpp:424:10
# | #72 0x000000000436cf84 clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Tooling/Tooling.cpp:634:11
# | #73 0x00000000043cf28d clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem>, bool, bool, llvm::StringRef, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clang-tidy/ClangTidy.cpp:0:8
# | #74 0x0000000004282e09 clang::tidy::clangTidyMain(int, char const**) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp:745:7
# | #75 0x00007d6757c3a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #76 0x00007d6757c3a28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #77 0x000000000427dae5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-tidy+0x427dae5)
# |
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 554, in <module>
# | main()
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 550, in main
# | CheckRunner(args, extra_args).run()
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 426, in run
# | clang_tidy_output = self.run_clang_tidy()
# | ^^^^^^^^^^^^^^^^^^^^^
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 289, in run_clang_tidy
# | clang_tidy_output = try_run(args)
# | ^^^^^^^^^^^^^
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 64, in try_run
# | process_output = subprocess.check_output(args, stderr=subprocess.STDOUT).decode(
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.12/subprocess.py", line 571, in run
# | raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['clang-tidy', '--experimental-custom-checks', '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/redundant-member-init.cpp.tmp.cpp', '-fix', '--checks=-*,readability-redundant-member-init', '-config={CheckOptions: {readability-redundant-member-init.IgnoreBaseInCopyConstructors: true} }', '--', '-std=c++11', '-nostdinc++', '-isystem', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']' died with <Signals.SIGABRT: 6>.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/190530
More information about the cfe-commits
mailing list