| 107 | public: |
| 108 | template<size_t size> |
| 109 | explicit SimpleTokenList(const char (&code)[size], Standards::Language lang = Standards::Language::CPP) |
| 110 | : list{settings, lang} |
| 111 | { |
| 112 | if (!list.createTokensFromString(code)) |
| 113 | throw std::runtime_error("creating tokens failed"); |
| 114 | } |
| 115 | |
| 116 | template<size_t size> |
| 117 | explicit SimpleTokenList(const char (&code)[size], const std::string& file0, Standards::Language lang = Standards::Language::CPP) |
nothing calls this directly
no test coverage detected