clang
3.9.0
|
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/ASTMatchers/ASTMatchersInternal.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/ManagedStatic.h"
Go to the source code of this file.
Namespaces | |
clang | |
Dataflow Directional Tag Classes. | |
clang::ast_matchers | |
clang::ast_matchers::internal | |
Functions | |
bool | clang::ast_matchers::internal::NotUnaryOperator (const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef< DynTypedMatcher > InnerMatchers) |
bool | clang::ast_matchers::internal::AllOfVariadicOperator (const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef< DynTypedMatcher > InnerMatchers) |
bool | clang::ast_matchers::internal::EachOfVariadicOperator (const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef< DynTypedMatcher > InnerMatchers) |
bool | clang::ast_matchers::internal::AnyOfVariadicOperator (const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef< DynTypedMatcher > InnerMatchers) |
Matcher< NamedDecl > | clang::ast_matchers::internal::hasAnyNameFunc (ArrayRef< const StringRef * > NameRefs) |
clang::ast_matchers::internal::Names (std::move(N)) | |
const std::string ID |
Definition at line 89 of file ASTMatchersInternal.cpp.
Referenced by clang::Type::acceptsObjCTypeParams(), clang::Sema::ActOnDefs(), clang::Sema::ActOnFields(), clang::Sema::ActOnLastBitfield(), clang::Preprocessor::addModuleMacro(), AddOrdinaryNameResults(), addRedeclaredMethods(), clang::ento::BugReport::addVisitor(), clang::SourceManager::AllocateLoadedSLocEntries(), clang::tooling::Replacement::apply(), clang::tooling::applyAllReplacements(), clang::CodeGen::CodeGenTypes::arrangeLLVMFunctionInfo(), clang::ast_matchers::AST_POLYMORPHIC_MATCHER_P(), clang::Sema::BuildClassMessage(), clang::Sema::BuildInstanceMessage(), clang::Sema::CheckConstexprFunctionBody(), checkForRecursiveFunctionCall(), checkObjCUnusedIvar(), collectOverriddenMethodsSlow(), clang::ASTImporter::CompleteDecl(), clang::PredefinedExpr::ComputeName(), clang::Sema::ConversionToObjCStringLiteralCheck(), clang::Sema::ConvertArgumentsForCall(), clang::ObjCIvarDecl::Create(), clang::OMPThreadPrivateDecl::CreateDeserialized(), clang::FriendDecl::CreateDeserialized(), clang::PragmaCommentDecl::CreateDeserialized(), clang::OMPDeclareReductionDecl::CreateDeserialized(), clang::AccessSpecDecl::CreateDeserialized(), clang::PragmaDetectMismatchDecl::CreateDeserialized(), clang::OMPCapturedExprDecl::CreateDeserialized(), clang::ObjCMethodDecl::CreateDeserialized(), clang::LabelDecl::CreateDeserialized(), clang::NamespaceDecl::CreateDeserialized(), clang::ObjCTypeParamDecl::CreateDeserialized(), clang::CXXRecordDecl::CreateDeserialized(), clang::ObjCPropertyDecl::CreateDeserialized(), clang::VarDecl::CreateDeserialized(), clang::FunctionTemplateDecl::CreateDeserialized(), clang::TemplateTypeParmDecl::CreateDeserialized(), clang::NonTypeTemplateParmDecl::CreateDeserialized(), clang::ObjCInterfaceDecl::CreateDeserialized(), clang::ImplicitParamDecl::CreateDeserialized(), clang::TemplateTemplateParmDecl::CreateDeserialized(), clang::ParmVarDecl::CreateDeserialized(), clang::ClassTemplateSpecializationDecl::CreateDeserialized(), clang::FunctionDecl::CreateDeserialized(), clang::CXXMethodDecl::CreateDeserialized(), clang::ClassTemplatePartialSpecializationDecl::CreateDeserialized(), clang::ObjCIvarDecl::CreateDeserialized(), clang::ObjCAtDefsFieldDecl::CreateDeserialized(), clang::ClassTemplateDecl::CreateDeserialized(), clang::ObjCProtocolDecl::CreateDeserialized(), clang::FriendTemplateDecl::CreateDeserialized(), clang::ObjCCategoryDecl::CreateDeserialized(), clang::CXXConstructorDecl::CreateDeserialized(), clang::TypeAliasTemplateDecl::CreateDeserialized(), clang::ClassScopeFunctionSpecializationDecl::CreateDeserialized(), clang::FieldDecl::CreateDeserialized(), clang::ObjCCategoryImplDecl::CreateDeserialized(), clang::CXXDestructorDecl::CreateDeserialized(), clang::VarTemplateSpecializationDecl::CreateDeserialized(), clang::CXXConversionDecl::CreateDeserialized(), clang::EnumConstantDecl::CreateDeserialized(), clang::ObjCImplementationDecl::CreateDeserialized(), clang::IndirectFieldDecl::CreateDeserialized(), clang::LinkageSpecDecl::CreateDeserialized(), clang::ObjCCompatibleAliasDecl::CreateDeserialized(), clang::VarTemplatePartialSpecializationDecl::CreateDeserialized(), clang::TypedefDecl::CreateDeserialized(), clang::UsingDirectiveDecl::CreateDeserialized(), clang::ObjCPropertyImplDecl::CreateDeserialized(), clang::TypeAliasDecl::CreateDeserialized(), clang::NamespaceAliasDecl::CreateDeserialized(), clang::VarTemplateDecl::CreateDeserialized(), clang::UsingShadowDecl::CreateDeserialized(), clang::ConstructorUsingShadowDecl::CreateDeserialized(), clang::EnumDecl::CreateDeserialized(), clang::UsingDecl::CreateDeserialized(), clang::UnresolvedUsingValueDecl::CreateDeserialized(), clang::RecordDecl::CreateDeserialized(), clang::UnresolvedUsingTypenameDecl::CreateDeserialized(), clang::StaticAssertDecl::CreateDeserialized(), clang::MSPropertyDecl::CreateDeserialized(), clang::FileScopeAsmDecl::CreateDeserialized(), clang::BlockDecl::CreateDeserialized(), clang::CapturedDecl::CreateDeserialized(), clang::ImportDecl::CreateDeserialized(), clang::EmptyDecl::CreateDeserialized(), clang::ASTReader::DecodeIdentifierInfo(), DiagnoseUnimplementedAccessor(), clang::SourceManager::dump(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), EmitDeclInvariant(), clang::CodeGen::CodeGenFunction::EmitOMPTaskBasedDirective(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), clang::ento::BugReporter::emitReport(), clang::CodeGen::CodeGenFunction::EmitSystemZBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitVAStartEnd(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), clang::Expr::Expr(), clang::ASTReader::FindExternalLexicalDecls(), clang::Sema::FindInstantiatedContext(), clang::RedeclarableTemplateDecl::findSpecializationImpl(), clang::ASTReader::forEachImportedKeyDecl(), clang::tooling::formatAndApplyAllReplacements(), getActualFileUID(), clang::ASTContext::getAdjustedType(), clang::ASTContext::getAtomicType(), clang::ASTContext::getAutoType(), clang::LocationContextManager::getBlockInvocationContext(), clang::ASTContext::getBlockPointerType(), clang::ASTContext::getCanonicalTemplateSpecializationType(), clang::ento::SymbolManager::getCastSymbol(), clang::ObjCCategoryImplDecl::getCategoryDecl(), clang::ObjCMethodDecl::getClassInterface(), clang::ASTContext::getComplexType(), clang::ento::BasicValueFactory::getCompoundValData(), clang::ASTContext::getConstantArrayType(), clang::Sema::getCurContextAvailability(), clang::DeclarationNameTable::getCXXLiteralOperatorName(), clang::DeclarationNameTable::getCXXSpecialName(), clang::ASTContext::getDecayedType(), clang::ast_matchers::BoundNodes::getDeclAs(), clang::ASTWriter::GetDeclRef(), clang::ASTContext::getDecltypeType(), getDefinitionToImport(), clang::ASTContext::getDependentNameType(), clang::ASTContext::getDependentSizedArrayType(), clang::ASTContext::getDependentSizedExtVectorType(), clang::ASTContext::getDependentTemplateName(), clang::ASTContext::getDependentTemplateSpecializationType(), GetDiagInfo(), clang::ASTContext::getElaboratedType(), clang::ento::MemRegionManager::getElementRegion(), clang::ASTContext::getExtVectorType(), clang::LineTableInfo::getFilename(), getFunctionName(), clang::ASTContext::getFunctionNoProtoType(), clang::ASTContext::getFunctionType(), clang::serialization::DeclarationNameKey::getHash(), clang::ProgramPoint::getHashValue(), llvm::DenseMapInfo< EditEntry >::getHashValue(), clang::CodeGen::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion::getID(), clang::ASTWriter::getIdentifierRef(), clang::ASTContext::getIncompleteArrayType(), clang::CodeGen::CodeGenModule::getIntrinsic(), clang::ento::SymbolManager::getIntSymExpr(), clang::ento::BasicValueFactory::getLazyCompoundValData(), clang::ASTContext::getLValueReferenceType(), clang::ASTReader::getMacro(), clang::ASTWriter::getMacroRef(), clang::ASTContext::getMemberPointerType(), clang::Preprocessor::getModuleHeaderToIncludeForDiagnostics(), clang::Preprocessor::getModuleMacro(), clang::vfs::getNextVirtualUniqueID(), clang::ast_matchers::BoundNodes::getNodeAs(), clang::ASTContext::getObjCObjectPointerType(), clang::ASTContext::getObjCObjectType(), clang::ASTContext::getObjContainingInterface(), clang::ObjCImplementationDecl::getObjCRuntimeNameAsString(), clang::diag::CustomDiagInfo::getOrCreateDiagID(), clang::SourceManager::getOrCreateFileID(), clang::ASTContext::getPackExpansionType(), clang::ASTContext::getParenType(), clang::ento::ProgramStateManager::getPersistentState(), clang::ento::BasicValueFactory::getPersistentSValPair(), clang::ento::BasicValueFactory::getPersistentSValWithData(), clang::ASTContext::getPipeType(), clang::ASTContext::getPointerType(), clang::ASTContext::getQualifiedTemplateName(), clang::SourceLocation::getRawEncoding(), GetReceiverInterfaceName(), clang::ObjCMethodCall::getRuntimeDefinition(), clang::ASTContext::getRValueReferenceType(), clang::SelectorTable::getSelector(), clang::LocationContextManager::getStackFrame(), clang::ast_matchers::BoundNodes::getStmtAs(), clang::ASTContext::getSubstTemplateTemplateParm(), clang::ASTContext::getSubstTemplateTemplateParmPack(), clang::ASTContext::getSubstTemplateTypeParmPackType(), clang::ASTContext::getSubstTemplateTypeParmType(), clang::ASTReader::getSwitchCaseWithID(), clang::ento::SymbolManager::getSymIntExpr(), clang::ento::SymbolManager::getSymSymExpr(), getTargetEntryUniqueInfo(), clang::ASTContext::getTemplateTypeParmType(), clang::ASTContext::getTypeOfExprType(), clang::ASTContext::getUnaryTransformType(), clang::ento::BasicValueFactory::getValue(), clang::ASTContext::getVectorType(), clang::ObjCContainerDecl::HasUserDeclaredSetterMethod(), clang::ento::cocoa::isCocoaObjectRef(), clang::ObjCMethodDecl::isDesignatedInitializerForTheInterface(), clang::SourceLocation::isFileID(), clang::ObjCNoReturn::isImplicitNoReturn(), clang::SourceLocation::isInvalid(), isLinkageSpecContext(), clang::SourceLocation::isMacroID(), IsNSError(), clang::SourceLocation::isValid(), clang::LLVM_ALIGNAS(), LookupObjCInterfaceDeclForLiteral(), clang::Sema::LookupSpecialMember(), clang::serialization::reader::ASTDeclContextNameLookupTrait::MergeDataInto(), clang::PreprocessingRecord::iterator::operator*(), clang::ModuleMap::parseModuleMapFile(), clang::parseSanitizerValue(), clang::serialization::reader::ASTIdentifierLookupTrait::ReadData(), clang::ASTReader::ReadPreprocessedEntity(), clang::ASTReader::RecordSwitchCaseID(), REGISTER_MAP_WITH_PROGRAMSTATE(), Scan(), clang::comments::Token::setCommandID(), clang::CodeGen::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion::setID(), clang::Expr::setInstantiationDependent(), clang::IdentifierInfo::setObjCKeywordID(), clang::IdentifierInfo::setObjCOrBuiltinID(), clang::comments::Token::setVerbatimBlockID(), clang::comments::Token::setVerbatimLineID(), clang::VisibleModuleSet::setVisible(), shouldRunOnFunctionOrMethod(), clang::serialization::TypeIdxFromBuiltin(), clang::ASTDeclReader::Visit(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::index::CodegenNameGenerator::Implementation::writeName().
const IntrusiveRefCntPtr<DynMatcherInterface> InnerMatcher |
Definition at line 90 of file ASTMatchersInternal.cpp.
Referenced by clang::ast_matchers::AST_MATCHER_FUNCTION_P_OVERLOAD(), clang::ast_matchers::AST_MATCHER_P(), clang::ast_matchers::AST_MATCHER_P2(), clang::ast_matchers::AST_MATCHER_P_OVERLOAD(), clang::ast_matchers::AST_POLYMORPHIC_MATCHER_P(), clang::ast_matchers::AST_POLYMORPHIC_MATCHER_P2(), clang::ast_matchers::AST_POLYMORPHIC_MATCHER_P_OVERLOAD(), and clang::ast_matchers::hasDeclaration().
std::vector<DynTypedMatcher> InnerMatchers |
Definition at line 71 of file ASTMatchersInternal.cpp.
bool IsFullyQualified |
Definition at line 397 of file ASTMatchersInternal.cpp.
StringRef P |
Definition at line 396 of file ASTMatchersInternal.cpp.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnOpenMPExecutableDirective(), clang::Sema::ActOnProperty(), clang::Sema::ActOnPropertyImplDecl(), clang::Sema::ActOnReenterFunctionContext(), clang::driver::toolchains::DarwinClang::AddCCKextLibArgs(), clang::driver::toolchains::CloudABI::AddClangCXXStdlibIncludeArgs(), clang::driver::toolchains::NaClToolChain::AddClangCXXStdlibIncludeArgs(), clang::driver::toolchains::MinGW::AddClangSystemIncludeArgs(), clang::driver::toolchains::Linux::AddClangSystemIncludeArgs(), clang::driver::toolchains::MipsLLVMToolChain::AddClangSystemIncludeArgs(), clang::driver::toolchains::NaClToolChain::AddClangSystemIncludeArgs(), clang::driver::toolchains::CrossWindowsToolChain::AddClangSystemIncludeArgs(), clang::driver::toolchains::DarwinClang::AddCXXStdlibLibArgs(), AddFunctionParameterChunks(), AddImplicitIncludePTH(), clang::driver::toolchains::DarwinClang::AddLinkARCArgs(), clang::driver::toolchains::MachO::AddLinkRuntimeLib(), AddObjCProperties(), AddOverloadParameterChunks(), clang::ASTRecordWriter::AddTemplateArgument(), AddTemplateParameterChunks(), clang::ASTRecordWriter::AddTemplateParameterList(), AdoptTemplateParameterList(), alreadyExecutedAtLeastOneLoopIteration(), appendUserToPath(), canEmitDelegateCallArgs(), llvm::GraphTraits< clang::CallGraphNode * >::CGNDeref(), clang::Sema::CheckEnableIf(), clang::ento::ConstraintManager::checkNull(), CheckPropertyAgainstProtocol(), clang::Sema::CheckVarTemplateId(), clang::driver::toolchains::CloudABI::CloudABI(), clang::Sema::CodeCompleteObjCMethodDecl(), CollectOverriddenMethodsRecurse(), collectUnexpandedParameterPacks(), clang::ast_matchers::dynamic::Parser::completeExpression(), computeNodeID(), computeNodeSize(), clang::TemplateArgument::containsUnexpandedParameterPack(), ConvertDeducedTemplateArgument(), clang::CodeCompletionResult::CreateCodeCompletionString(), clang::ento::PathDiagnosticLocation::createEndOfPath(), CreateFrontendBaseAction(), CreateUbiViz(), clang::Sema::DeduceTemplateArguments(), DiagnoseUnexpandedParameterPacks(), clang::Sema::DiagnoseUnimplementedProperties(), clang::driver::Driver::Driver(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCUDADevicePrintfCallExpr(), clang::CodeGen::emitDeclareSimdFunction(), emitOffloadingArrays(), clang::Parser::ObjCTypeParamListScope::enter(), clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(), Evaluate(), clang::ExecuteCompilerInvocation(), clang::ClassTemplateDecl::findPartialSpecialization(), clang::ClassTemplateDecl::findPartialSpecInstantiatedFromMember(), clang::ObjCContainerDecl::FindPropertyDeclaration(), clang::ObjCInterfaceDecl::FindPropertyVisibleInPrimaryClass(), GenerateAlternateExtensivePathDiagnostic(), GenerateExtensivePathDiagnostic(), GenerateMinimalPathDiagnostic(), llvm::PointerLikeTypeTraits< ::clang::Type * >::getAsVoidPointer(), llvm::PointerLikeTypeTraits< ::clang::ExtQuals * >::getAsVoidPointer(), llvm::PointerLikeTypeTraits< clang::IdentifierInfo * >::getAsVoidPointer(), llvm::PointerLikeTypeTraits< const clang::IdentifierInfo * >::getAsVoidPointer(), getCN(), clang::ento::BugReporterVisitor::getDefaultEndPath(), clang::driver::Driver::GetFilePath(), clang::DeclarationName::getFromOpaqueInteger(), clang::DeclarationName::getFromOpaquePtr(), clang::IdentifierResolver::iterator::getFromOpaqueValue(), llvm::PointerLikeTypeTraits< ::clang::Type * >::getFromVoidPointer(), llvm::PointerLikeTypeTraits< ::clang::ExtQuals * >::getFromVoidPointer(), llvm::PointerLikeTypeTraits< clang::IdentifierInfo * >::getFromVoidPointer(), llvm::PointerLikeTypeTraits< const clang::IdentifierInfo * >::getFromVoidPointer(), getLVForTemplateParameterList(), clang::ento::StackHintGeneratorForSymbol::getMessage(), clang::TemplateParameterList::getMinRequiredArguments(), clang::ClassTemplateDecl::getPartialSpecializations(), clang::ento::BasicValueFactory::getPersistentSValPair(), clang::ento::BasicValueFactory::getPersistentSValWithData(), clang::driver::Driver::GetProgramPath(), clang::CompilerInvocation::GetResourcesPath(), getRoot(), getSelectorTableImpl(), clang::ento::PathDiagnosticLocation::getStmt(), clang::ASTContext::getSubstTemplateTypeParmPackType(), clang::CodeGen::CodeGenModule::getTargetCodeGenInfo(), clang::ento::BasicValueFactory::getValue(), getValueDeclFromSExpr(), clang::VarDecl::hasInit(), clang::ObjCContainerDecl::HasUserDeclaredSetterMethod(), clang::Expr::IgnoreCasts(), clang::Expr::IgnoreParenCasts(), clang::Expr::IgnoreParenImpCasts(), clang::Expr::IgnoreParenLValueCasts(), clang::Expr::IgnoreParenNoopCasts(), clang::Expr::IgnoreParens(), clang::Sema::ImplMethodsVsClassMethods(), clang::ASTNodeImporter::ImportTemplateParameterList(), clang::ExternalASTSource::incrementGeneration(), clang::Sema::InstantiateClass(), clang::Sema::InstantiateClassTemplateSpecialization(), clang::ParentMap::isConsumedExpr(), clang::TemplateArgument::isDependent(), isInitializationOfVar(), clang::TemplateArgument::isInstantiationDependent(), clang::CXXMethodDecl::isLambdaStaticInvoker(), clang::Scope::isOpenMPLoopScope(), clang::ObjCInterfaceDecl::lookupNestedProtocol(), MarkUsedTemplateParameters(), MaybeAddOverrideCalls(), clang::Sema::MergeVarDeclExceptionSpecs(), NeedsInstantiationAsFunctionType(), clang::ast_matchers::dynamic::Parser::ScopedContextEntry::nextArg(), clang::RawComment::parse(), clang::ParseAST(), clang::TemplateArgument::print(), clang::NamedDecl::printQualifiedName(), clang::SubstTemplateTypeParmPackType::Profile(), clang::FunctionDecl::setHasInheritedPrototype(), clang::Sema::SetLateTemplateParser(), clang::CapturedDecl::setParam(), clang::TemplateParmPosition::setPosition(), clang::Preprocessor::setPredefines(), clang::ObjCProtocolExpr::setProtocol(), clang::FunctionDecl::setPure(), clang::HeaderSearch::SetSystemHeaderPrefixes(), clang::StmtIteratorBase::setVAPtr(), SortAndUniqueProtocols(), clang::Sema::startLambdaDefinition(), clang::Sema::SubstituteExplicitTemplateArguments(), clang::TemplateDeclInstantiator::SubstTemplateParams(), clang::TemplateParameterList::TemplateParameterList(), clang::ento::bugreporter::trackNullOrUndefValue(), clang::threadSafety::CapabilityExpr::valueDecl(), clang::ASTDeclWriter::VisitBlockDecl(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), clang::ASTDeclWriter::VisitFunctionDecl(), clang::ASTNodeImporter::VisitFunctionDecl(), clang::TemplateDeclInstantiator::VisitFunctionDecl(), clang::ASTDeclWriter::VisitIndirectFieldDecl(), clang::ento::ExprEngine::VisitLogicalExpr(), clang::ento::FindLastStoreBRVisitor::VisitNode(), clang::ento::TrackConstraintBRVisitor::VisitNode(), clang::ento::NilReceiverBRVisitor::VisitNode(), clang::ASTDeclWriter::VisitObjCInterfaceDecl(), clang::ASTDeclWriter::VisitObjCMethodDecl(), clang::ASTNodeImporter::VisitObjCMethodDecl(), clang::ASTNodeImporter::VisitObjCObjectType(), clang::IdentifierResolver::IdDeclInfoMap::~IdDeclInfoMap(), and clang::ast_matchers::dynamic::Parser::ScopedContextEntry::~ScopedContextEntry().
llvm::SmallVector<Pattern, 8> Patterns |
Definition at line 399 of file ASTMatchersInternal.cpp.