We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33be0f4 + 7d259c0 commit d0ff8d8Copy full SHA for d0ff8d8
lib/symboldatabase.cpp
@@ -3183,8 +3183,8 @@ const Function* SymbolDatabase::findFunction(const Token *tok) const
3183
3184
// check for member function
3185
else if (Token::Match(tok->tokAt(-2), "!!this .")) {
3186
- if (Token::Match(tok->tokAt(-2), "%var% .")) {
3187
- const Token *tok1 = tok->tokAt(-2);
+ const Token *tok1 = tok->tokAt(-2);
+ if (Token::Match(tok1, "%var% .")) {
3188
3189
if (tok1->varId()) {
3190
const Variable *var = getVariableFromVarId(tok1->varId());
0 commit comments