Tokenizer: Put struct in anonymous namespace
This commit is contained in:
parent
2aa1523a2d
commit
f76ff9e7bf
|
@ -423,12 +423,14 @@ Token * Tokenizer::deleteInvalidTypedef(Token *typeDef)
|
||||||
return tok;
|
return tok;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Space {
|
namespace {
|
||||||
Space() : classEnd(nullptr), isNamespace(false) { }
|
struct Space {
|
||||||
std::string className;
|
Space() : classEnd(nullptr), isNamespace(false) { }
|
||||||
const Token * classEnd;
|
std::string className;
|
||||||
bool isNamespace;
|
const Token * classEnd;
|
||||||
};
|
bool isNamespace;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
static Token *splitDefinitionFromTypedef(Token *tok)
|
static Token *splitDefinitionFromTypedef(Token *tok)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue