search for: cmdline3

Displaying 2 results from an estimated 2 matches for "cmdline3".

Did you mean: cmdline
2009 Sep 05
2
[LLVMdev] tblgen bug in handling case , switch_on
Hi Mikhail, What is mentioned in the reference manual is this: // Evaluates to "cmdline1" if the option "-A" is provided on the // command line; to "cmdline2" if "-B" is provided; // otherwise to "cmdline3". (case (switch_on "A"), "cmdline1", (switch_on "B"), "cmdline2", (default), "cmdline3") What is generated is this: if (A) { ... } if (B) { .... } else { .... }...
2009 Sep 05
0
[LLVMdev] tblgen bug in handling case , switch_on
...pta wrote: > Hi Mikhail, > > What is mentioned in the reference manual is this: > > // Evaluates to "cmdline1" if the option "-A" is provided on the > // command line; to "cmdline2" if "-B" is provided; > // otherwise to "cmdline3". > > (case > (switch_on "A"), "cmdline1", > (switch_on "B"), "cmdline2", > (default), "cmdline3") > > > What is generated is this: > > if (A) { > ... > } >...