| 2651 | #define check(...) check_(__FILE__, __LINE__, __VA_ARGS__) |
| 2652 | template<size_t size> |
| 2653 | void check_(const char* file, int line, const char (&code)[size], bool debug = true, bool cpp = true, const Settings* pSettings = nullptr) { |
| 2654 | // Check.. |
| 2655 | const Settings settings = settingsBuilder(pSettings ? *pSettings : settings1).debugwarnings(debug).build(); |
| 2656 | |
| 2657 | // Tokenize.. |
| 2658 | SimpleTokenizer tokenizer(settings, *this, cpp); |
| 2659 | ASSERT_LOC(tokenizer.tokenize(code), file, line); |
| 2660 | |
| 2661 | // force symbol database creation |
| 2662 | tokenizer.createSymbolDatabase(); |
| 2663 | } |
| 2664 | |
| 2665 | void functionArgs1() { |
| 2666 | { |
nothing calls this directly
no test coverage detected