Cppcheck
Public Attributes | List of all members
Dimension Struct Reference

Array dimension information. More...

#include <symboldatabase.h>

Public Attributes

const Tokentok {}
 size token More...
 
MathLib::bigint num {}
 (assumed) dimension length when size is a number, 0 if not known More...
 
bool known = true
 Known size. More...
 

Detailed Description

Array dimension information.

Definition at line 59 of file symboldatabase.h.

Member Data Documentation

◆ known

bool Dimension::known = true

◆ num

MathLib::bigint Dimension::num {}

(assumed) dimension length when size is a number, 0 if not known

Definition at line 61 of file symboldatabase.h.

Referenced by Variable::arrayDimensions(), Tokenizer::arraySizeAfterValueFlow(), getDimensionsEtc(), valueFlowContainerSize(), and Variable::Variable().

◆ tok

const Token* Dimension::tok {}

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