<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/143285>143285</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-tidy crash.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
venkat-murty
</td>
</tr>
</table>
<pre>
```
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy lib/base/base.cpp
1. <eof> parser at end of file
2. ASTMatcher: Processing 'modernize-use-constraints' against:
FunctionTemplateDecl boost::multiprecision::abs : </opt/sparrow/include/boost/multiprecision/detail/default_ops.hpp:2313:1, line:2318:1>
--- Bound Nodes Begin ---
function - { FunctionDecl boost::multiprecision::abs : </opt/sparrow/include/boost/multiprecision/detail/default_ops.hpp:2314:1, line:2318:1> }
functionTemplate - { FunctionTemplateDecl boost::multiprecision::abs : </opt/sparrow/include/boost/multiprecision/detail/default_ops.hpp:2313:1, line:2318:1> }
return - { DependentNameTypeLoc : </opt/sparrow/include/boost/multiprecision/detail/default_ops.hpp:2314:33, col:162> }
--- Bound Nodes End ---
#0 0x000055fe016bce82 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x45c7e82)
#1 0x000055fe016ba2db SignalHandler(int) Signals.cpp:0:0
#2 0x00007fe7d78d9520 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#3 0x000055fdfe128384 clang::tidy::modernize::matchEnableIfSpecialization(clang::TypeLoc) UseConstraintsCheck.cpp:0:0
#4 0x000055fdfe12a209 clang::tidy::modernize::UseConstraintsCheck::check(clang::ast_matchers::MatchFinder::MatchResult const&) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x1035209)
#5 0x000055fe0031b1bb clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::MatchVisitor::visitMatch(clang::ast_matchers::BoundNodes const&) ASTMatchFinder.cpp:0:0
#6 0x000055fe00349851 clang::ast_matchers::internal::BoundNodesTreeBuilder::visitMatches(clang::ast_matchers::internal::BoundNodesTreeBuilder::Visitor*) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x3254851)
#7 0x000055fe0031ce8d clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::matchWithFilter(clang::DynTypedNode const&) ASTMatchFinder.cpp:0:0
#8 0x000055fe0033278b clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#9 0x000055fe003347ba clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseDeclContextHelper(clang::DeclContext*) ASTMatchFinder.cpp:0:0
#10 0x000055fe003404e0 clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseNamespaceDecl(clang::NamespaceDecl*) ASTMatchFinder.cpp:0:0
#11 0x000055fe0033438b clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#12 0x000055fe003347ba clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseDeclContextHelper(clang::DeclContext*) ASTMatchFinder.cpp:0:0
#13 0x000055fe003404e0 clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseNamespaceDecl(clang::NamespaceDecl*) ASTMatchFinder.cpp:0:0
#14 0x000055fe0033438b clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#15 0x000055fe003347ba clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseDeclContextHelper(clang::DeclContext*) ASTMatchFinder.cpp:0:0
#16 0x000055fe00342bf7 clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseTranslationUnitDecl(clang::TranslationUnitDecl*) ASTMatchFinder.cpp:0:0
#17 0x000055fe003340e3 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#18 0x000055fe003349e8 clang::ast_matchers::MatchFinder::matchAST(clang::ASTContext&) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x323f9e8)
#19 0x000055fdff250da0 clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x215bda0)
#20 0x000055fdff4c7e59 clang::ParseAST(clang::Sema&, bool, bool) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x23d2e59)
#21 0x000055fdff211ab9 clang::FrontendAction::Execute() (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x211cab9)
#22 0x000055fdff188fc9 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x2093fc9)
#23 0x000055fdfea3e8fd clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr<clang::CompilerInvocation>, clang::FileManager*, std::shared_ptr<clang::PCHContainerOperations>, clang::DiagnosticConsumer*) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x19498fd)
#24 0x000055fdfe9d82f7 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)::ActionFactory::runInvocation(std::shared_ptr<clang::CompilerInvocation>, clang::FileManager*, std::shared_ptr<clang::PCHContainerOperations>, clang::DiagnosticConsumer*) ClangTidy.cpp:0:0
#25 0x000055fdfea365da clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr<clang::CompilerInvocation>, std::shared_ptr<clang::PCHContainerOperations>) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x19415da)
#26 0x000055fdfea39c86 clang::tooling::ToolInvocation::run() (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x1944c86)
#27 0x000055fdfea3bedb clang::tooling::ClangTool::run(clang::tooling::ToolAction*) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x1946edb)
#28 0x000055fdfe9df8f8 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) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x18ea8f8)
#29 0x000055fdfdc68088 clang::tidy::clangTidyMain(int, char const**) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0xb73088)
#30 0x00007fe7d78c0d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#31 0x00007fe7d78c0e40 call_init ./csu/../csu/libc-start.c:128:20
#32 0x00007fe7d78c0e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#33 0x000055fdfdc5db85 _start (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0xb68b85)
Segmentation fault (core dumped)
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzsWt9zmzoW_muUF409QoAtHvzgOGFvZ9reTJ3uPnqEONjagmAkkRvfv35HAsdAkt50d-pttzuT1iDB0fed83H0kxsj9wpgheJrFN9c8dYear16APWF21nVanu8yur8uEIL0v-R9d372_X2Fps2q6TFHGftHmtoam2xrfHB2sagcI1oimi6l_bQZnNRV4imZflw-pk1uv4nCItoKo1pwSCaYq5yLJUo2xywPQAWmpsDzrj4YjUXMEdkvbVcfMF5WzWuCbImc0SSO13vNa8w1_u2AmVd8xjR9FBXgGjasUE0NQ3Xuv4jzxBNQT24_x8taMVLRNPrz-_e32wRTf_28TOi6Xup2sfZI1vsFhGiaSYVoqkoudrPrMyPuJTOSsYN9D9z0TSIrAMHCIUbqAsU3uKGawMac4tB5bgucCFLQGRN3WPr7f0HbsUBtAN8p2sBxki1x4guqzoHreSfMGsNzEStjNVcOm50ifmeS2Vs5wJEkrRVwspa3UPVlNzCDYgSZ3XdPRKuq7a0stEgpJG16sp4ZrD3U7hBNK2bgYNcULowOG7eDE0nNmiag-Wy9BcFb0u7qxszPzQuMDQMQhSuA0Q3uJQKuiLmi8JbRNaz2Qxf163K8cc6B4OvYS8Vns1miKwxxrjoCeEZRstrfOL3A_CKXueF0fJmgv8UkAmPnyNOAz4abKtP0biBBlQOyn7kFdwfG3hfi-_t8jB0GEVdOmwLekY3VdKtyk86QjQkmDwSQkgcF0CCRSaAUezTkPetOZru4k5LZX1uuXeZBlF2fkjzP3a1sRp4hejCwZDKIppgRNn3TTKIXpPHKBZLYBTRpOcUTDhxmmd4K_eKl79xlZegEWU9xK7Y-NwUron_11mhvZVlAct8yfIkpqRn1BrtsrRPcB22WemB7lXbVYi5qeeLDh6NKTmDC8_g8gICykIWYc-oc6an1Wn9lOD6W5cIbxXPSnhXbBsQkpfyT269QNjAQi84x-6zgc05MW4OIL68wDSaQOKUJG-C9IL5r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