#include <SVFType.h>
|
| std::string | name |
| | Field for printing & debugging.
|
| std::vector< const SVFType * > | fields |
Definition at line 419 of file SVFType.h.
◆ SVFStructType()
| SVF::SVFStructType::SVFStructType |
( |
u32_t | i, |
|
|
std::vector< const SVFType * > & | f, |
|
|
u32_t | byteSize = 1 ) |
|
inline |
Definition at line 441 of file SVFType.h.
441 :
443 {
444 }
std::vector< const SVFType * > fields
u32_t byteSize
LLVM Byte Size.
◆ addFieldsType()
| void SVF::SVFStructType::addFieldsType |
( |
const SVFType * | type | ) |
|
|
inlineprotected |
◆ classof()
| bool SVF::SVFStructType::classof |
( |
const SVFType * | node | ) |
|
|
inlinestatic |
◆ getFieldTypes()
| const std::vector< const SVFType * > & SVF::SVFStructType::getFieldTypes |
( |
| ) |
const |
|
inline |
◆ getName() [1/2]
| const std::string & SVF::SVFStructType::getName |
( |
| ) |
|
|
inline |
Definition at line 453 of file SVFType.h.
454 {
456 }
std::string name
Field for printing & debugging.
◆ getName() [2/2]
| const std::string & SVF::SVFStructType::getName |
( |
| ) |
const |
|
inlineprotected |
◆ print()
| void SVF::SVFStructType::print |
( |
std::ostream & | os | ) |
const |
|
overridevirtual |
Implements SVF::SVFType.
Definition at line 64 of file SVFType.cpp.
65{
66 os <<
"S." <<
name <<
" {";
67
68
69 for (
size_t i = 0; i <
fields.size(); ++i)
70 {
72
73 if (i !=
fields.size() - 1)
74 {
75 os << ", ";
76 }
77 }
78 os << "}";
79}
◆ setName() [1/2]
| void SVF::SVFStructType::setName |
( |
const std::string & | structName | ) |
|
|
inline |
Definition at line 458 of file SVFType.h.
459 {
461 }
const std::string structName
◆ setName() [2/2]
| void SVF::SVFStructType::setName |
( |
std::string && | structName | ) |
|
|
inline |
◆ GraphDBClient
| friend class GraphDBClient |
|
friend |
◆ fields
| std::vector<const SVFType*> SVF::SVFStructType::fields |
|
private |
◆ name
| std::string SVF::SVFStructType::name |
|
private |
Field for printing & debugging.
Definition at line 437 of file SVFType.h.
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