Fixed Cppcheck warning

This commit is contained in:
Daniel Marjamäki 2019-06-29 07:46:25 +02:00
parent 0ab3d07f75
commit 9c3c2d785b
1 changed files with 2 additions and 2 deletions

View File

@ -206,10 +206,10 @@ public:
/** Is there some possible alias for given expression */ /** Is there some possible alias for given expression */
bool possiblyAliased(const Token *expr, const Token *startToken) const; bool possiblyAliased(const Token *expr, const Token *startToken) const;
bool isEscapedAlias(const Token* expr);
static bool isNullOperand(const Token *expr); static bool isNullOperand(const Token *expr);
private: private:
static bool isEscapedAlias(const Token* expr);
/** Result of forward analysis */ /** Result of forward analysis */
struct Result { struct Result {
enum class Type { NONE, READ, WRITE, BREAK, RETURN, BAILOUT } type; enum class Type { NONE, READ, WRITE, BREAK, RETURN, BAILOUT } type;