Code cleanup
This commit is contained in:
parent
ca9cdf5bf5
commit
5c3ecc31da
|
@ -1092,20 +1092,14 @@ void Tokenizer::simplifyTypedef()
|
||||||
|
|
||||||
while (!done)
|
while (!done)
|
||||||
{
|
{
|
||||||
std::string pattern;
|
std::string pattern = typeName->str();
|
||||||
int scope = 0;
|
int scope = 0;
|
||||||
bool inScope = true;
|
bool inScope = true;
|
||||||
|
|
||||||
bool exitThisScope = false;
|
bool exitThisScope = false;
|
||||||
int exitScope = 0;
|
int exitScope = 0;
|
||||||
bool simplifyType = false;
|
bool simplifyType = false;
|
||||||
unsigned int classLevel = spaceInfo.size();
|
unsigned int classLevel = spaceInfo.size();
|
||||||
|
|
||||||
for (unsigned int i = classLevel; i < spaceInfo.size(); i++)
|
|
||||||
pattern += (spaceInfo[i].className + " :: ");
|
|
||||||
|
|
||||||
pattern += typeName->str();
|
|
||||||
|
|
||||||
for (Token *tok2 = tok; tok2; tok2 = tok2->next())
|
for (Token *tok2 = tok; tok2; tok2 = tok2->next())
|
||||||
{
|
{
|
||||||
if (tok2->str() == "}")
|
if (tok2->str() == "}")
|
||||||
|
|
Loading…
Reference in New Issue