#include <SVFType.h>
Definition at line 368 of file SVFType.h.
◆ SVFFunctionType()
| SVF::SVFFunctionType::SVFFunctionType |
( |
u32_t | i, |
|
|
const SVFType * | rt, |
|
|
const std::vector< const SVFType * > & | p, |
|
|
bool | isvararg ) |
|
inline |
Definition at line 392 of file SVFType.h.
394 {
395 }
std::vector< const SVFType * > params
◆ addParamType()
| void SVF::SVFFunctionType::addParamType |
( |
const SVFType * | type | ) |
|
|
inlineprotected |
◆ classof()
| bool SVF::SVFFunctionType::classof |
( |
const SVFType * | node | ) |
|
|
inlinestatic |
◆ getParamTypes()
| const std::vector< const SVFType * > & SVF::SVFFunctionType::getParamTypes |
( |
| ) |
const |
|
inline |
◆ getReturnType()
| const SVFType * SVF::SVFFunctionType::getReturnType |
( |
| ) |
const |
|
inline |
◆ isVarArg()
| bool SVF::SVFFunctionType::isVarArg |
( |
| ) |
const |
|
inline |
◆ print()
| void SVF::SVFFunctionType::print |
( |
std::ostream & | os | ) |
const |
|
overridevirtual |
Implements SVF::SVFType.
Definition at line 36 of file SVFType.cpp.
37{
39
40
41 for (
size_t i = 0; i <
params.size(); ++i)
42 {
44
45 if (i !=
params.size() - 1)
46 {
47 os << ", ";
48 }
49 }
50
51
53 {
55 {
56 os << ", ";
57 }
58 os << "...";
59 }
60
61 os << ")";
62}
const SVFType * getReturnType() const
◆ setReturnType()
| const void SVF::SVFFunctionType::setReturnType |
( |
const SVFType * | rt | ) |
|
|
inlineprotected |
Set return type of function, this is used when loading from DB
Definition at line 381 of file SVFType.h.
◆ GraphDBClient
| friend class GraphDBClient |
|
friend |
◆ params
| std::vector<const SVFType*> SVF::SVFFunctionType::params |
|
private |
◆ retTy
| const SVFType* SVF::SVFFunctionType::retTy |
|
private |
◆ varArg
| bool SVF::SVFFunctionType::varArg |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/SVF/SVF/svf/include/SVFIR/SVFType.h
- /home/runner/work/SVF/SVF/svf/lib/SVFIR/SVFType.cpp