forked from OSchip/llvm-project
5d62569b04
This reverts r315057. The revision introduces assertion failures: assertion failed at llvm/tools/clang/include/clang/Basic/SourceManager.h:428 in const clang::SrcMgr::ExpansionInfo &clang::SrcMgr::SLocEntry::getExpansion() const: isExpansion() && "Not a macro expansion SLocEntry!" Stack trace: __assert_fail clang::SrcMgr::SLocEntry::getExpansion() clang::SourceManager::getExpansionLocSlowCase() clang::SourceManager::getExpansionLoc() clang::Lexer::getRawToken() clang::tidy::readability::NamespaceCommentCheck::check() clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::MatchVisitor::visitMatch() clang::ast_matchers::internal::BoundNodesTreeBuilder::visitMatches() clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::matchWithFilter() clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::matchDispatch() clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl() clang::RecursiveASTVisitor<>::TraverseDeclContextHelper() clang::RecursiveASTVisitor<>::TraverseDecl() clang::RecursiveASTVisitor<>::TraverseDeclContextHelper() clang::RecursiveASTVisitor<>::TraverseDecl() clang::RecursiveASTVisitor<>::TraverseDeclContextHelper() clang::RecursiveASTVisitor<>::TraverseDecl() clang::ast_matchers::MatchFinder::matchAST() clang::MultiplexConsumer::HandleTranslationUnit() clang::ParseAST() clang::FrontendAction::Execute() clang::CompilerInstance::ExecuteAction() clang::tooling::FrontendActionFactory::runInvocation() clang::tooling::ToolInvocation::runInvocation() clang::tooling::ToolInvocation::run() Still working on an isolated test case. llvm-svn: 315580 |
||
---|---|---|
.. | ||
AvoidConstParamsInDecls.cpp | ||
AvoidConstParamsInDecls.h | ||
BracesAroundStatementsCheck.cpp | ||
BracesAroundStatementsCheck.h | ||
CMakeLists.txt | ||
ContainerSizeEmptyCheck.cpp | ||
ContainerSizeEmptyCheck.h | ||
DeleteNullPointerCheck.cpp | ||
DeleteNullPointerCheck.h | ||
DeletedDefaultCheck.cpp | ||
DeletedDefaultCheck.h | ||
ElseAfterReturnCheck.cpp | ||
ElseAfterReturnCheck.h | ||
FunctionSizeCheck.cpp | ||
FunctionSizeCheck.h | ||
IdentifierNamingCheck.cpp | ||
IdentifierNamingCheck.h | ||
ImplicitBoolConversionCheck.cpp | ||
ImplicitBoolConversionCheck.h | ||
InconsistentDeclarationParameterNameCheck.cpp | ||
InconsistentDeclarationParameterNameCheck.h | ||
MisleadingIndentationCheck.cpp | ||
MisleadingIndentationCheck.h | ||
MisplacedArrayIndexCheck.cpp | ||
MisplacedArrayIndexCheck.h | ||
NamedParameterCheck.cpp | ||
NamedParameterCheck.h | ||
NamespaceCommentCheck.cpp | ||
NamespaceCommentCheck.h | ||
NonConstParameterCheck.cpp | ||
NonConstParameterCheck.h | ||
ReadabilityTidyModule.cpp | ||
RedundantControlFlowCheck.cpp | ||
RedundantControlFlowCheck.h | ||
RedundantDeclarationCheck.cpp | ||
RedundantDeclarationCheck.h | ||
RedundantFunctionPtrDereferenceCheck.cpp | ||
RedundantFunctionPtrDereferenceCheck.h | ||
RedundantMemberInitCheck.cpp | ||
RedundantMemberInitCheck.h | ||
RedundantSmartptrGetCheck.cpp | ||
RedundantSmartptrGetCheck.h | ||
RedundantStringCStrCheck.cpp | ||
RedundantStringCStrCheck.h | ||
RedundantStringInitCheck.cpp | ||
RedundantStringInitCheck.h | ||
SimplifyBooleanExprCheck.cpp | ||
SimplifyBooleanExprCheck.h | ||
StaticAccessedThroughInstanceCheck.cpp | ||
StaticAccessedThroughInstanceCheck.h | ||
StaticDefinitionInAnonymousNamespaceCheck.cpp | ||
StaticDefinitionInAnonymousNamespaceCheck.h | ||
UniqueptrDeleteReleaseCheck.cpp | ||
UniqueptrDeleteReleaseCheck.h |