Make sure lValueOfOrdinaryAssignment does not have an undefined value.

This commit is contained in:
Daniel Kirchner 2020-10-14 21:00:18 +02:00
parent 25b10b9643
commit 20072918d9

View File

@ -254,7 +254,7 @@ struct ExpressionAnnotation: ASTAnnotation
/// Whether the expression is an lvalue that is only assigned.
/// Would be false for --, ++, delete, +=, -=, ....
/// Only relevant if isLvalue == true
bool lValueOfOrdinaryAssignment;
bool lValueOfOrdinaryAssignment = false;
/// Types and - if given - names of arguments if the expr. is a function
/// that is called, used for overload resolution