search for: indentlevel

Displaying 5 results from an estimated 5 matches for "indentlevel".

Did you mean: indent_level
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",
2009 Sep 05
0
[LLVMdev] tblgen bug in handling case , switch_on
...======================== --- LLVMCConfigurationEmitter.cpp (revision 80668) +++ LLVMCConfigurationEmitter.cpp (working copy) @@ -1141,6 +1141,7 @@ Callback, EmitElseIf, OptDescs, O); } else { + EmitElseIf = true; Callback(arg, (std::string(IndentLevel) + Indent1).c_str(), O); } O << IndentLevel << "}\n"; - Sanjiv > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
2009 Sep 05
3
[LLVMdev] tblgen bug in handling case , switch_on
...- LLVMCConfigurationEmitter.cpp    (revision 80668) > +++ LLVMCConfigurationEmitter.cpp    (working copy) > @@ -1141,6 +1141,7 @@ >                               Callback, EmitElseIf, OptDescs, O); >    } >    else { > +      EmitElseIf = true; >      Callback(arg, (std::string(IndentLevel) + Indent1).c_str(), O); >    } >    O << IndentLevel << "}\n"; No, this is not OK - EmitCaseConstructHandler is supposed to be able to generate both 'if (...) ... if (...) ... if (...) ...' and 'if (...) ... else if (...) ... else ...' forms. That's...
2009 Dec 08
0
[LLVMdev] More questions on CompilerDriver.
Hi Sanjiv, On Tue, Dec 8, 2009 at 4:41 AM, Sanjiv Gupta <sanjiv.gupta at microchip.com> wrote: > Mikhail Glushenkov wrote: >> >> > 2. Is there anyway to call a C++ hook from inside actions? >> > for example >> > (actions (case >> >         (not_empty "Wl,"), (append_cmd "$CALL(Myhook)" ))) >> >> Not yet, this is
2009 Dec 08
2
[LLVMdev] More questions on CompilerDriver.
Mikhail Glushenkov wrote: > > > 2. Is there anyway to call a C++ hook from inside actions? > > for example > > (actions (case > > (not_empty "Wl,"), (append_cmd "$CALL(Myhook)" ))) > > Not yet, this is something I'm working on right now. > Hi Mikhail, Did you get a chance to do something about this? > > > BTW, I've