| 70 | } |
| 71 | |
| 72 | static const Token* getRealBufferTok(const Token* tok) { |
| 73 | if (!tok->isUnaryOp("&")) |
| 74 | return tok; |
| 75 | |
| 76 | const Token* op = tok->astOperand1(); |
| 77 | return (op->valueType() && op->valueType()->pointer) ? op : tok; |
| 78 | } |
| 79 | |
| 80 | static int getMinFormatStringOutputLength(const std::vector<const Token*> ¶meters, nonneg int formatStringArgNr, const Settings& settings) |
| 81 | { |
no test coverage detected