tokenize: Improved const correctness. There are no functional changes.
This commit is contained in:
parent
a81920cae1
commit
b3c60bf6b2
|
@ -2415,7 +2415,7 @@ static void setVarIdStructMembers(Token **tok1,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Tokenizer::setVarIdClassDeclaration(Token * const startToken,
|
void Tokenizer::setVarIdClassDeclaration(const Token * const startToken,
|
||||||
const std::map<std::string, unsigned int> &variableId,
|
const std::map<std::string, unsigned int> &variableId,
|
||||||
const unsigned int scopeStartVarId,
|
const unsigned int scopeStartVarId,
|
||||||
std::map<unsigned int, std::map<std::string,unsigned int> >& structMembers)
|
std::map<unsigned int, std::map<std::string,unsigned int> >& structMembers)
|
||||||
|
|
|
@ -691,7 +691,7 @@ private:
|
||||||
|
|
||||||
void unsupportedTypedef(const Token *tok) const;
|
void unsupportedTypedef(const Token *tok) const;
|
||||||
|
|
||||||
void setVarIdClassDeclaration(Token * const startToken,
|
void setVarIdClassDeclaration(const Token * const startToken,
|
||||||
const std::map<std::string, unsigned int> &variableId,
|
const std::map<std::string, unsigned int> &variableId,
|
||||||
const unsigned int scopeStartVarId,
|
const unsigned int scopeStartVarId,
|
||||||
std::map<unsigned int, std::map<std::string,unsigned int> >& structMembers);
|
std::map<unsigned int, std::map<std::string,unsigned int> >& structMembers);
|
||||||
|
|
Loading…
Reference in New Issue