[LLVMdev] Generating code for Sequence expression

Krzysztof Parzyszek kparzysz at codeaurora.org
Wed Nov 14 14:36:22 PST 2012


On 11/14/2012 3:47 PM, José Romildo Malaquias wrote:
>
> The language I am implementing has a form of expression called "sequence
> expression". It is made up of a list of expressions:
>
>    ( e1; e2; ... ; en )
>
> To evaluate the sequence expression, each expression ei in the list is
> evaluated in the order they appear, and the last one en gives the final
> result.

By the way, that is what the , (comma) operator in C/C++ does.

-Krzysztof



-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list