pfultz2/cppcheck

Find infinite loops

pfultz2 opened this issue · 0 comments

            const Token* parent = tok->astParent();
            while(Token::simpleMatch(parent, ":"))
                parent = tok->astParent();