clang API Documentation

Classes | Namespaces | Functions | Variables
CFG.cpp File Reference
#include "clang/Analysis/CFG.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/CharUnits.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/PrettyPrinter.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Basic/Builtins.h"
#include "llvm/ADT/DenseMap.h"
#include <memory>
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/GraphWriter.h"
#include "llvm/Support/SaveAndRestore.h"
Include dependency graph for CFG.cpp:

Go to the source code of this file.

Classes

struct  llvm::DOTGraphTraits< const CFG * >

Namespaces

namespace  llvm

Functions

static void print_elem (raw_ostream &OS, StmtPrinterHelper &Helper, const CFGElement &E)
static void print_block (raw_ostream &OS, const CFG *cfg, const CFGBlock &B, StmtPrinterHelper &Helper, bool print_edges, bool ShowColors)

Variables

static StmtPrinterHelper * GraphHelper

Function Documentation

static void print_block ( raw_ostream &  OS,
const CFG cfg,
const CFGBlock B,
StmtPrinterHelper &  Helper,
bool  print_edges,
bool  ShowColors 
) [static]
static void print_elem ( raw_ostream &  OS,
StmtPrinterHelper &  Helper,
const CFGElement E 
) [static]

Variable Documentation

StmtPrinterHelper* GraphHelper [static]

Definition at line 4531 of file CFG.cpp.