Remove FIXME

This commit is contained in:
Daniel Marjamäki 2018-10-22 12:45:34 +02:00
parent dc38681a56
commit 749699c632
1 changed files with 0 additions and 3 deletions

View File

@ -1233,9 +1233,6 @@ void TokenList::validateAst() const
// Skip lambda assignment and/or initializer // Skip lambda assignment and/or initializer
if (Token::Match(tok, "= {|^|[")) if (Token::Match(tok, "= {|^|["))
continue; continue;
// FIXME: Workaround broken AST assignment in type aliases
if (Token::Match(tok->previous(), "%name% = %name%"))
continue;
if (!tok->astOperand1() || !tok->astOperand2()) if (!tok->astOperand1() || !tok->astOperand2())
throw InternalError(tok, "Syntax Error: AST broken, binary operator '" + tok->str() + "' doesn't have two operands.", InternalError::AST); throw InternalError(tok, "Syntax Error: AST broken, binary operator '" + tok->str() + "' doesn't have two operands.", InternalError::AST);
} }