Re: [Mesa-dev] [PATCH v3 1/2] glsl: add is_lhs bool on ast_expression

2016-03-28 Thread Timothy Arceri
On Mon, 2016-03-28 at 20:50 +0200, Alejandro Piñeiro wrote: > Useful to know if a expression is the recipient of an assignment > or not, that would be used to (for example) raise warnings of > "use of uninitialized variable" without getting a false positive > when assigning first a variable. > > B

[Mesa-dev] [PATCH v3 1/2] glsl: add is_lhs bool on ast_expression

2016-03-28 Thread Alejandro Piñeiro
Useful to know if a expression is the recipient of an assignment or not, that would be used to (for example) raise warnings of "use of uninitialized variable" without getting a false positive when assigning first a variable. By default the value is false, and it is assigned to true on the followin