clang 8.0.0

Namespaces | Classes | Functions | Variables
llvm Namespace Reference

DominatorTree GraphTraits specialization so the DominatorTree can be iterable by generic graph iterators. More...

## Namespaces
| cl
| opt
| vfs
| yaml

## Classes
class | ArrayRef
struct | cast_convert_val< ::clang::DeclContext, FromTy *, FromTy * >
struct | cast_convert_val< ::clang::DeclContext, FromTy, FromTy >
| Implement cast_convert_val for Decl -> DeclContext conversions. More...
struct | cast_convert_val< const ::clang::DeclContext, FromTy *, FromTy * >
struct | cast_convert_val< const ::clang::DeclContext, FromTy, FromTy >
struct | cast_convert_val< ToTy, ::clang::DeclContext *, ::clang::DeclContext * >
struct | cast_convert_val< ToTy, ::clang::DeclContext, ::clang::DeclContext >
struct | cast_convert_val< ToTy, const ::clang::DeclContext *, const ::clang::DeclContext * >
struct | cast_convert_val< ToTy, const ::clang::DeclContext, const ::clang::DeclContext >
| cast<T>(DeclContext*) More...
struct | DenseMapInfo
struct | DenseMapInfo< CatchHandlerType >
struct | DenseMapInfo< clang::APValue::LValueBase >
struct | DenseMapInfo< clang::ast_type_traits::ASTNodeKind >
struct | DenseMapInfo< clang::ast_type_traits::DynTypedNode >
struct | DenseMapInfo< clang::BaseSubobject >
struct | DenseMapInfo< clang::CanonicalDeclPtr< decl_type > >
struct | DenseMapInfo< clang::CanQualType >
struct | DenseMapInfo< clang::CharUnits >
struct | DenseMapInfo< clang::CodeGen::TBAAAccessInfo >
struct | DenseMapInfo< clang::DeclarationName >
| Define DenseMapInfo so that DeclarationNames can be used as keys in DenseMap and DenseSets. More...
struct | DenseMapInfo< clang::FileID >
| Define DenseMapInfo so that FileID's can be used as keys in DenseMap and DenseSets. More...
struct | DenseMapInfo< clang::GlobalDecl >
struct | DenseMapInfo< clang::ProgramPoint >
struct | DenseMapInfo< clang::QualType >
struct | DenseMapInfo< clang::Selector >
| Define DenseMapInfo so that Selectors can be used as keys in DenseMap and DenseSets. More...
struct | DenseMapInfo< clang::Sema::FunctionDeclAndLoc >
struct | DenseMapInfo< clang::serialization::DeclarationNameKey >
struct | DenseMapInfo< DecompositionDeclName >
struct | DenseMapInfo< EditEntry >
struct | DenseMapInfo< ObjCSummaryKey >
class | DenseSet
struct | DOTGraphTraits< const CallGraph * >
struct | DOTGraphTraits< const CFG * >
struct | DOTGraphTraits< const Stmt * >
struct | DOTGraphTraits< ExplodedGraph * >
struct | DOTGraphTraits< ModuleManager >
class | Expected
struct | FoldingSetTrait< AllocKind >
struct | FoldingSetTrait< ArgEffect >
struct | FoldingSetTrait< ObjectState >
struct | FoldingSetTrait< RetEffect >
struct | FoldingSetTrait< SValData >
struct | FoldingSetTrait< SValPair >
struct | GraphTraits< ::clang::CFG *>
struct | GraphTraits< ::clang::CFGBlock * >
struct | GraphTraits< ::clang::DominatorTree *>
struct | GraphTraits< ::clang::DomTreeNode *>
struct | GraphTraits< clang::CallGraph * >
struct | GraphTraits< clang::CallGraphNode * >
struct | GraphTraits< clang::ento::ExplodedGraph * >
struct | GraphTraits< clang::Stmt * >
struct | GraphTraits< const ::clang::CFG *>
struct | GraphTraits< const ::clang::CFGBlock * >
struct | GraphTraits< const clang::CallGraph * >
struct | GraphTraits< const clang::CallGraphNode * >
struct | GraphTraits< const clang::Stmt * >
struct | GraphTraits< Inverse< ::clang::CFG * > >
struct | GraphTraits< Inverse< ::clang::CFGBlock * > >
struct | GraphTraits< Inverse< const ::clang::CFG * > >
struct | GraphTraits< Inverse< const ::clang::CFGBlock * > >
struct | GraphTraits< ModuleManager >
class | IntrusiveRefCntPtr
struct | IntrusiveRefCntPtrInfo
struct | IntrusiveRefCntPtrInfo< const clang::ento::ProgramState >
struct | isa_impl< To, ::clang::DeclContext >
| isa<T>(DeclContext*) More...
struct | isPodLike
struct | isPodLike< BindingKey >
struct | isPodLike< clang::BaseSubobject >
struct | isPodLike< clang::CharUnits >
struct | isPodLike< clang::CodeCompletionString::Chunk >
struct | isPodLike< clang::DeclAccessPair >
struct | isPodLike< clang::DeclarationName >
struct | isPodLike< clang::ento::SVal >
struct | isPodLike< clang::FileID >
struct | isPodLike< clang::GlobalDecl >
struct | isPodLike< clang::ObjCDictionaryElement >
struct | isPodLike< clang::OpaquePtr< T > >
struct | isPodLike< clang::ProgramPoint >
struct | isPodLike< clang::QualType >
struct | isPodLike< clang::Selector >
struct | isPodLike< clang::SourceLocation >
struct | isPodLike< clang::Token >
class | MutableArrayRef
class | Optional
class | OwningArrayRef
struct | PointerLikeTypeTraits
struct | PointerLikeTypeTraits< ::clang::AnyFunctionDecl >
struct | PointerLikeTypeTraits< ::clang::CodeGen::ConstantInitBuilderBase * >
struct | PointerLikeTypeTraits< ::clang::CodeGen::ConstantInitFuture >
struct | PointerLikeTypeTraits< ::clang::ExtQuals * >
struct | PointerLikeTypeTraits< ::clang::Type * >
struct | PointerLikeTypeTraits< clang::CanQual< T > >
struct | PointerLikeTypeTraits< clang::DeclGroupRef >
struct | PointerLikeTypeTraits< clang::IdentifierInfo * >
struct | PointerLikeTypeTraits< clang::LazyGenerationalUpdatePtr< Owner, T, Update > >
struct | PointerLikeTypeTraits< clang::OpaquePtr< T > >
struct | PointerLikeTypeTraits< clang::QualType >
struct | PointerLikeTypeTraits< clang::Selector >
struct | PointerLikeTypeTraits< clang::SourceLocation >
struct | PointerLikeTypeTraits< clang::TemplateName >
| The clang::TemplateName class is effectively a pointer. More...
struct | PointerLikeTypeTraits< const clang::IdentifierInfo * >
class | RefCountedBase
struct | SaveAndRestore
struct | simplify_type< ::clang::CanQual< T > >
| Implement simplify_type for CanQual<T>, so that we can dyn_cast from CanQual<T> to a specific Type class. More...
struct | simplify_type< ::clang::CFGTerminator >
| Implement simplify_type for CFGTerminator, so that we can dyn_cast from CFGTerminator to a specific Stmt class. More...
struct | simplify_type< ::clang::QualType >
| Implement simplify_type for QualType, so that we can dyn_cast from QualType to a specific Type class. More...
struct | simplify_type< clang::ento::CallEventRef< T > >
class | SmallSetVector
class | SmallString
class | SmallVector
class | SmallVectorImpl

## Functions
template<>
llvm::DOTGraphTraits< ExplodedGraph * > DefaultDOTGraphTraits const ExplodedNode const ExplodedNode *Out<< "\l\|";Out<< "StateID: ST"<< State-> | getID ()<< "
| if (!SameAsAllPredecessors) State -> printDOT(Out, N->getLocationContext())
return Out | str ()
static raw_ostream & | operator<< (raw_ostream &os, BindingKey K)

## Variables
llvm::DOTGraphTraits< ExplodedGraph * > DefaultDOTGraphTraits const ExplodedNode const ExplodedNode *Out<< "\l\|";Out<< "StateID: ST"<< State-> | NodeID
bool | SameAsAllPredecessors

## Detailed Description

DominatorTree GraphTraits specialization so the DominatorTree can be iterable by generic graph iterators.

Specialize PointerLikeTypeTraits to allow LazyGenerationalUpdatePtr to be placed into a PointerUnion.

## Function Documentation

## ◆ getID()

template<>

llvm::DOTGraphTraits< ExplodedGraph *> DefaultDOTGraphTraits const ExplodedNode const ExplodedNode* Out<< "\\l\\|"; Out << "StateID: ST" << State-> llvm::getID | ( |  | ) |

Referenced by clang::Diagnostic::FormatDiagnostic(), clang::Stmt::getStmtClass(), and clang::ast_matchers::MatchFinder::MatchCallback::onEndOfTranslationUnit().

## ◆ if()

llvm::if | ( | ! | SameAsAllPredecessors | ) | -> printDOT(Out, N->getLocationContext())

Referenced by clang::ast_type_traits::DynTypedNode::operator<().

## ◆ operator<<()

static raw_ostream& llvm::operator<< | ( | raw_ostream & | os,
|  | BindingKey | K
| ) |  |
| inline static

Definition at line 125 of file RegionStore.cpp.

## ◆ str()

return Out llvm::str | ( |  | ) |

Referenced by clang::tooling::Replacements::add(), clang::driver::toolchains::CloudABI::addLibCxxIncludePaths(), clang::driver::toolchains::Haiku::addLibStdCxxIncludePaths(), clang::targets::AMDGPUTargetInfo::adjustTargetOptions(), clang::ast_matchers::dynamic::ArgKind::asString(), clang::tooling::CompilationDatabase::autoDetectFromDirectory(), clang::tooling::CompilationDatabase::autoDetectFromSource(), clang::driver::toolchains::CloudABI::CloudABI(), clang::driver::toolchains::Fuchsia::ComputeEffectiveClangTriple(), clang::driver::toolchains::MSVCToolChain::ComputeEffectiveClangTriple(), clang::driver::toolchains::Linux::computeSysRoot(), clang::driver::tools::AMDGCN::constructHIPFatbinCommand(), clang::ast_matchers::dynamic::internal::VariadicOperatorMatcherDescriptor::create(), DetectLibcxxIncludePath(), diagnoseAutoModuleImport(), findGccVersion(), GCRewriteFinalize(), generatePathDiagnosticsForNode(), clang::driver::toolchains::Generic_GCC::GCCInstallationDetector::getBiarchSibling(), clang::AnalyzerOptions::getCheckerStringOption(), GetConstantStringEntry(), clang::ento::MemRegion::getDescriptiveName(), clang::driver::toolchains::Linux::getDynamicLinker(), clang::driver::Driver::GetFilePath(), getFunctionSourceLocation(), GetHashOfContent(), getMultiarchTriple(), clang::BuiltinType::getNameAsCString(), clang::driver::Driver::GetProgramPath(), clang::ento::PathDiagnosticPiece::getString(), clang::ast_matchers::dynamic::VariantMatcher::SinglePayload::getTypeAsString(), clang::ento::getVariableName(), clang::targets::ARMTargetInfo::initFeatureMap(), isSetterLikeSelector(), isTargetEnvironment(), isTargetOS(), clang::driver::toolchains::Linux::Linux(), clang::CompilerInstance::loadModuleFromSource(), llvm::yaml::MappingTraits< clang::tooling::AtomicChange >::mapping(), clang::driver::MultilibSet::Maybe(), clang::tooling::ReplacementError::message(), clang::driver::toolchains::MinGW::MinGW(), clang::driver::toolchains::MSP430ToolChain::MSP430ToolChain(), clang::ast_matchers::dynamic::Parser::ScopedContextEntry::nextArg(), nodeToCommandLine(), clang::PrecompiledPreamble::OverridePreamble(), PrintActions1(), PrintMacroDefinition(), RenderDiagnosticsOptions(), clang::driver::toolchains::RISCVToolChain::RISCVToolChain(), and takeDeclAttributes().

## Variable Documentation

## ◆ NodeID

llvm::DOTGraphTraits< ExplodedGraph *> DefaultDOTGraphTraits const ExplodedNode const ExplodedNode* Out<< "\\l\\|"; Out << "StateID: ST" << State-> llvm::NodeID

Definition at line 3041 of file ExprEngine.cpp.

Referenced by clang::ento::PathDiagnosticConsumer::FilesMade::addDiagnostic(), and clang::ento::PathDiagnosticConsumer::FilesMade::getFiles().

## ◆ SameAsAllPredecessors

bool llvm::SameAsAllPredecessors

Initial value:
=
std::all_of(N->pred_begin(), N->pred_end(), [&](const ExplodedNode *P) {
return P->getState() == State;
})
P
StringRef P
Definition: ASTMatchersInternal.cpp:439
State
LineState State
Definition: UnwrappedLineFormatter.cpp:877

Definition at line 3043 of file ExprEngine.cpp.