@@ -321,14 +321,14 @@ void TokenList::insertTokens(Token *dest, const Token *src, nonneg int n)
321321
322322// ---------------------------------------------------------------------------
323323
324- bool TokenList::createTokens (const uint8_t * data, size_t size)
324+ bool TokenList::createTokensFromBuffer (const uint8_t * data, size_t size)
325325{
326- return createTokensInternal (data, size, mFiles .empty () ? " " : *mFiles .cbegin ());
326+ return createTokensFromBufferInternal (data, size, mFiles .empty () ? " " : *mFiles .cbegin ());
327327}
328328
329329// ---------------------------------------------------------------------------
330330
331- bool TokenList::createTokensInternal (const std::string& file0)
331+ bool TokenList::createTokensFromFileInternal (const std::string& file0)
332332{
333333 simplecpp::OutputList outputList;
334334 simplecpp::TokenList tokens (file0, mFiles , &outputList);
@@ -340,7 +340,7 @@ bool TokenList::createTokensInternal(const std::string& file0)
340340
341341// ---------------------------------------------------------------------------
342342
343- bool TokenList::createTokensInternal (const uint8_t * data, size_t size, const std::string& file0)
343+ bool TokenList::createTokensFromBufferInternal (const uint8_t * data, size_t size, const std::string& file0)
344344{
345345 simplecpp::OutputList outputList;
346346 simplecpp::TokenList tokens (data, size, mFiles , file0, &outputList);
0 commit comments