| 4071 | } |
| 4072 | |
| 4073 | static const char* functionTypeToString(FunctionType type) |
| 4074 | { |
| 4075 | switch (type) { |
| 4076 | case FunctionType::eConstructor: |
| 4077 | return "Constructor"; |
| 4078 | case FunctionType::eCopyConstructor: |
| 4079 | return "CopyConstructor"; |
| 4080 | case FunctionType::eMoveConstructor: |
| 4081 | return "MoveConstructor"; |
| 4082 | case FunctionType::eOperatorEqual: |
| 4083 | return "OperatorEqual"; |
| 4084 | case FunctionType::eDestructor: |
| 4085 | return "Destructor"; |
| 4086 | case FunctionType::eFunction: |
| 4087 | return "Function"; |
| 4088 | case FunctionType::eLambda: |
| 4089 | return "Lambda"; |
| 4090 | } |
| 4091 | cppcheck::unreachable(); |
| 4092 | } |
| 4093 | |
| 4094 | static std::string tokenToString(const Token* tok, const Tokenizer& tokenizer) |
| 4095 | { |
no test coverage detected