| 8691 | } |
| 8692 | |
| 8693 | void findFunction55() { |
| 8694 | GET_SYMBOL_DB("struct Token { int x; };\n" |
| 8695 | "static void f(std::size_t s);\n" |
| 8696 | "static void f(const Token* ptr);\n" |
| 8697 | "static void f2(const std::vector<Token*>& args) { f(args[0]); }\n"); |
| 8698 | const Token* f = Token::findsimplematch(tokenizer.tokens(), "f ( args [ 0 ] )"); |
| 8699 | ASSERT(f && f->function()); |
| 8700 | ASSERT(Token::simpleMatch(f->function()->tokenDef, "f ( const Token * ptr ) ;")); |
| 8701 | } |
| 8702 | |
| 8703 | void findFunction56() { // #13125 |
| 8704 | GET_SYMBOL_DB("void f(const char* fn, int i, const char e[], const std::string& a);\n" |
nothing calls this directly
no test coverage detected