CBMC
format_type.cpp File Reference
#include "format_type.h"
#include "c_types.h"
#include "format_expr.h"
#include "mathematical_types.h"
#include "pointer_expr.h"
#include "std_types.h"
#include <ostream>
+ Include dependency graph for format_type.cpp:

Go to the source code of this file.

Functions

static std::ostream & format_rec (std::ostream &os, const struct_typet &src)
 format a struct_typet More...
 
static std::ostream & format_rec (std::ostream &os, const union_typet &src)
 format a union_typet More...
 
std::ostream & format_rec (std::ostream &os, const typet &type)
 Formats a type in a generic syntax that is inspired by C/C++/Java, and is meant for debugging. More...
 

Function Documentation

◆ format_rec() [1/3]

static std::ostream& format_rec ( std::ostream &  os,
const struct_typet src 
)
static

format a struct_typet

Definition at line 19 of file format_type.cpp.

◆ format_rec() [2/3]

std::ostream& format_rec ( std::ostream &  os,
const typet type 
)

Formats a type in a generic syntax that is inspired by C/C++/Java, and is meant for debugging.

Definition at line 61 of file format_type.cpp.

◆ format_rec() [3/3]

static std::ostream& format_rec ( std::ostream &  os,
const union_typet src 
)
static

format a union_typet

Definition at line 39 of file format_type.cpp.