clang  6.0.0svn
Namespaces | Functions | Variables
ASTMatchersInternal.cpp File Reference
#include "clang/ASTMatchers/ASTMatchersInternal.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTTypeTraits.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/PrettyPrinter.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for ASTMatchersInternal.cpp:

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)
 
static bool clang::ast_matchers::internal::consumeNameSuffix (StringRef &FullName, StringRef Suffix)
 
static StringRef clang::ast_matchers::internal::getNodeName (const NamedDecl &Node, llvm::SmallString< 128 > &Scratch)
 
static StringRef clang::ast_matchers::internal::getNodeName (const RecordDecl &Node, llvm::SmallString< 128 > &Scratch)
 
static StringRef clang::ast_matchers::internal::getNodeName (const NamespaceDecl &Node, llvm::SmallString< 128 > &Scratch)
 
 clang::ast_matchers::AST_TYPELOC_TRAVERSE_MATCHER_DEF (hasElementType, AST_POLYMORPHIC_SUPPORTED_TYPES(ArrayType, ComplexType))
 
 clang::ast_matchers::AST_TYPELOC_TRAVERSE_MATCHER_DEF (hasValueType, AST_POLYMORPHIC_SUPPORTED_TYPES(AtomicType))
 
 clang::ast_matchers::AST_TYPELOC_TRAVERSE_MATCHER_DEF (pointee, AST_POLYMORPHIC_SUPPORTED_TYPES(BlockPointerType, MemberPointerType, PointerType, ReferenceType))
 

Variables

static llvm::ManagedStatic< TrueMatcherImpl > clang::ast_matchers::internal::TrueMatcherInstance
 

Variable Documentation

◆ IsFullyQualified

bool IsFullyQualified

Definition at line 419 of file ASTMatchersInternal.cpp.

◆ P

StringRef P

Definition at line 418 of file ASTMatchersInternal.cpp.

Referenced by clang::driver::toolchains::DarwinClang::AddCCKextLibArgs(), clang::driver::toolchains::Fuchsia::AddClangCXXStdlibIncludeArgs(), clang::driver::toolchains::Linux::AddClangSystemIncludeArgs(), clang::driver::toolchains::MipsLLVMToolChain::AddClangSystemIncludeArgs(), clang::driver::toolchains::NaClToolChain::AddClangSystemIncludeArgs(), clang::driver::toolchains::CrossWindowsToolChain::AddClangSystemIncludeArgs(), clang::driver::toolchains::MinGW::AddClangSystemIncludeArgs(), clang::driver::toolchains::Fuchsia::AddClangSystemIncludeArgs(), clang::driver::CudaInstallationDetector::AddCudaIncludeArgs(), clang::driver::toolchains::DarwinClang::AddCXXStdlibLibArgs(), AddFunctionParameterChunks(), clang::driver::toolchains::DarwinClang::AddLinkARCArgs(), clang::driver::toolchains::MachO::AddLinkRuntimeLib(), clang::ento::BugReport::addNote(), clang::ento::ExplodedNode::addPredecessor(), clang::ASTRecordWriter::AddTemplateArgument(), clang::ASTRecordWriter::AddTemplateParameterList(), AdoptTemplateParameterList(), alreadyExecutedAtLeastOneLoopIteration(), appendUserToPath(), canEmitDelegateCallArgs(), clang::ento::ConstraintManager::checkNull(), checkObjCMethodX86VectorTypes(), ClassifyDiagnostic(), clang::driver::toolchains::CloudABI::CloudABI(), clang::ast_matchers::dynamic::Parser::completeExpression(), computeNodeID(), computeNodeSize(), clang::ento::PathDiagnosticMacroPiece::containsEvent(), clang::TemplateArgument::containsUnexpandedParameterPack(), ConvertDeducedTemplateArgument(), clang::ento::PathDiagnosticLocation::create(), clang::CodeGen::TargetCodeGenInfo::createEnqueuedBlockKernel(), createMakeIntegerSeqParameterList(), CreateUbiViz(), DecodeTrigraphChar(), clang::Sema::DeduceTemplateArguments(), clang::driver::Driver::Driver(), clang::Stmt::dump(), clang::Decl::dump(), clang::Stmt::dumpColor(), clang::Decl::dumpColor(), clang::DeclContext::dumpLookups(), clang::CodeGen::emitDeclareSimdFunction(), clang::Parser::ObjCTypeParamListScope::enter(), clang::ento::ExprEngine::evalBinOp(), Evaluate(), clang::ExecuteCompilerInvocation(), findBlockForNode(), findDecomposableBaseClass(), clang::driver::toolchains::CloudABI::findLibCxxIncludePath(), clang::driver::toolchains::NaClToolChain::findLibCxxIncludePath(), clang::ClassTemplateDecl::findPartialSpecInstantiatedFromMember(), clang::VarTemplateDecl::findPartialSpecInstantiatedFromMember(), clang::ObjCContainerDecl::FindPropertyDeclaration(), clang::driver::toolchains::Fuchsia::Fuchsia(), functionHasPassObjectSizeParams(), GenerateAlternateExtensivePathDiagnostic(), GenerateExtensivePathDiagnostic(), GenerateMinimalPathDiagnostic(), clang::Type::getAsAdjusted(), llvm::PointerLikeTypeTraits< ::clang::Type * >::getAsVoidPointer(), llvm::PointerLikeTypeTraits< ::clang::ExtQuals * >::getAsVoidPointer(), llvm::PointerLikeTypeTraits< clang::IdentifierInfo * >::getAsVoidPointer(), llvm::PointerLikeTypeTraits< const clang::IdentifierInfo * >::getAsVoidPointer(), clang::Lexer::getCharAndSizeNoWarn(), clang::ObjCContainerDecl::getClassMethod(), getCN(), clang::Preprocessor::GetCurDirLookup(), clang::FrontendAction::getCurrentModule(), clang::NonTypeTemplateParmDecl::getDefaultArgumentLoc(), clang::ento::BugReporterVisitor::getDefaultEndPath(), llvm::DenseMapInfo< clang::CanonicalDeclPtr< decl_type > >::getEmptyKey(), clang::driver::Driver::GetFilePath(), clang::DeclarationName::getFromOpaqueInteger(), clang::DeclarationName::getFromOpaquePtr(), llvm::PointerLikeTypeTraits< ::clang::Type * >::getFromVoidPointer(), llvm::PointerLikeTypeTraits< ::clang::ExtQuals * >::getFromVoidPointer(), llvm::PointerLikeTypeTraits< clang::IdentifierInfo * >::getFromVoidPointer(), llvm::PointerLikeTypeTraits< const clang::IdentifierInfo * >::getFromVoidPointer(), clang::ento::StackHintGeneratorForSymbol::getMessage(), clang::TemplateParameterList::getMinRequiredArguments(), getMSPropertyAttr(), clang::ento::BasicValueFactory::getPersistentSValPair(), clang::ento::BasicValueFactory::getPersistentSValWithData(), clang::driver::Driver::GetProgramPath(), clang::CompilerInvocation::GetResourcesPath(), getRoot(), getSelectorTableImpl(), clang::ento::PathDiagnosticLocation::getStmt(), clang::RecursiveASTVisitor< CallGraph >::getStmtChildren(), clang::ASTContext::getSubstTemplateTypeParmPackType(), clang::CodeGen::CodeGenModule::getTargetCodeGenInfo(), getTargetDir(), llvm::DenseMapInfo< clang::CanonicalDeclPtr< decl_type > >::getTombstoneKey(), clang::Parser::getTypeAnnotation(), clang::ento::BasicValueFactory::getValue(), getVisibilityOf(), clang::VarDecl::hasInit(), clang::ObjCContainerDecl::HasUserDeclaredSetterMethod(), clang::ExternalASTSource::incrementGeneration(), clang::Parser::Initialize(), isDebuggingContext(), clang::TemplateArgument::isDependent(), isInitializationOfVar(), clang::TemplateArgument::isInstantiationDependent(), clang::CXXMethodDecl::isLambdaStaticInvoker(), isMethodDeclaredInRootProtocol(), clang::Scope::isOpenMPLoopScope(), clang::TemplateTypeParmDecl::isParameterPack(), clang::FunctionDecl::isPure(), clang::LookupResult::isSingleTagDecl(), clang::Preprocessor::LexOnOffSwitch(), MarkUsedTemplateParameters(), NeedsInstantiationAsFunctionType(), ParseHeaderSearchArgs(), clang::TemplateArgument::print(), clang::Stmt::printPretty(), clang::SubstTemplateTypeParmPackType::Profile(), PushProtocolProperties(), rebucketPaths(), RelocationModelName(), clang::ento::mpi::MPIBugReporter::reportUnmatchedWait(), clang::OpaquePtr< TemplateName >::set(), clang::DiagnosticsEngine::SetDelayedDiagnostic(), 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(), shouldLinkerNotDedup(), clang::Parser::SkipUntil(), SortAndUniqueProtocols(), clang::Sema::SubstituteExplicitTemplateArguments(), clang::TemplateDeclInstantiator::SubstTemplateParams(), takeDeclAttributes(), clang::TemplateParameterList::TemplateParameterList(), clang::threadSafety::CapabilityExpr::valueDecl(), clang::ASTDeclWriter::VisitBlockDecl(), clang::ASTDeclWriter::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::ento::ConditionBRVisitor::VisitTrueTest(), and clang::IdentifierResolver::IdDeclInfoMap::~IdDeclInfoMap().