| 4117 | } |
| 4118 | |
| 4119 | static std::string tokenType(const Token * tok) |
| 4120 | { |
| 4121 | std::ostringstream oss; |
| 4122 | if (tok) { |
| 4123 | if (tok->isUnsigned()) |
| 4124 | oss << "unsigned "; |
| 4125 | else if (tok->isSigned()) |
| 4126 | oss << "signed "; |
| 4127 | if (tok->isComplex()) |
| 4128 | oss << "_Complex "; |
| 4129 | if (tok->isLong()) |
| 4130 | oss << "long "; |
| 4131 | oss << tok->str(); |
| 4132 | } |
| 4133 | return oss.str(); |
| 4134 | } |
| 4135 | |
| 4136 | void SymbolDatabase::printVariable(const Variable *var, const char *indent) const |
| 4137 | { |
no test coverage detected