Add missing annotation assignments

This commit is contained in:
Mathias Baumann
2020-10-07 14:52:35 +02:00
parent 22caed1e1e
commit 6114cd8e8e
5 changed files with 25 additions and 3 deletions
+2 -1
View File
@@ -253,7 +253,8 @@ struct ExpressionAnnotation: ASTAnnotation
bool willBeWrittenTo = false;
/// Whether the expression is an lvalue that is only assigned.
/// Would be false for --, ++, delete, +=, -=, ....
SetOnce<bool> lValueOfOrdinaryAssignment;
/// Only relevant if isLvalue == true
bool lValueOfOrdinaryAssignment;
/// Types and - if given - names of arguments if the expr. is a function
/// that is called, used for overload resolution