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;
|
||||
}
|
||||
|
||||
struct Space {
|
||||
Space() : classEnd(nullptr), isNamespace(false) { }
|
||||
std::string className;
|
||||
const Token * classEnd;
|
||||
bool isNamespace;
|
||||
};
|
||||
namespace {
|
||||
struct Space {
|
||||
Space() : classEnd(nullptr), isNamespace(false) { }
|
||||
std::string className;
|
||||
const Token * classEnd;
|
||||
bool isNamespace;
|
||||
};
|
||||
}
|
||||
|
||||
static Token *splitDefinitionFromTypedef(Token *tok)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue