| 8507 | } |
| 8508 | |
| 8509 | void dumpAlignas() { |
| 8510 | SimpleTokenizer tokenizer(settingsDefault, *this, false); |
| 8511 | ASSERT(tokenizer.tokenize("int alignas(8) alignas(16) x;")); |
| 8512 | ASSERT(Token::simpleMatch(tokenizer.tokens(), "int x ;")); |
| 8513 | std::ostringstream ostr; |
| 8514 | tokenizer.dump(ostr); |
| 8515 | const std::string dump = ostr.str(); |
| 8516 | ASSERT(dump.find(" alignas=\"8\" alignas2=\"16\"") != std::string::npos); |
| 8517 | } |
| 8518 | |
| 8519 | void simplifyCoroutines() { |
| 8520 | const Settings settings = settingsBuilder().cpp(Standards::CPP20).build(); |
nothing calls this directly
no test coverage detected