clang 23.0.0git
llvm::GraphTraits< clang::CFGBlock * > Struct Reference

#include "clang/Analysis/CFG.h"

Inheritance diagram for llvm::GraphTraits< clang::CFGBlock * >:
[legend]

Public Types

using NodeRef = clang::CFGBlock *
using ChildIteratorType

Static Public Member Functions

static NodeRef getEntryNode (clang::CFGBlock *BB)
static ChildIteratorType child_begin (NodeRef N)
static ChildIteratorType child_end (NodeRef N)
static unsigned getNumber (const clang::CFGBlock *BB)

Detailed Description

Definition at line 1576 of file CFG.h.

Member Typedef Documentation

◆ ChildIteratorType

using llvm::GraphTraits< clang::CFGBlock * >::ChildIteratorType
Initial value:
Represents a single basic block in a source-level CFG.
Definition CFG.h:652
AdjacentBlocks::iterator succ_iterator
Definition CFG.h:1012
llvm::mapped_iterator< llvm::filter_iterator< IterT, CFGBlockReachableEdge >, CFGBlockEdgeTarget< BlockT > > CFGReachableChildIterator
Definition CFG.h:1547

Definition at line 1578 of file CFG.h.

◆ NodeRef

using llvm::GraphTraits< clang::CFGBlock * >::NodeRef = clang::CFGBlock *

Definition at line 1577 of file CFG.h.

Member Function Documentation

◆ child_begin()

ChildIteratorType llvm::GraphTraits< clang::CFGBlock * >::child_begin ( NodeRef N)
inlinestatic

Definition at line 1583 of file CFG.h.

References clang::detail::cfgReachableChildren(), and clang::CFGBlock::succs().

◆ child_end()

ChildIteratorType llvm::GraphTraits< clang::CFGBlock * >::child_end ( NodeRef N)
inlinestatic

Definition at line 1587 of file CFG.h.

References clang::detail::cfgReachableChildren(), and clang::CFGBlock::succs().

◆ getEntryNode()

NodeRef llvm::GraphTraits< clang::CFGBlock * >::getEntryNode ( clang::CFGBlock * BB)
inlinestatic

Definition at line 1582 of file CFG.h.

◆ getNumber()

unsigned llvm::GraphTraits< clang::CFGBlock * >::getNumber ( const clang::CFGBlock * BB)
inlinestatic

Definition at line 1592 of file CFG.h.

References clang::CFGBlock::getBlockID().


The documentation for this struct was generated from the following file: