search for: falseparser

Displaying 8 results from an estimated 8 matches for "falseparser".

2015 Mar 19
2
[LLVMdev] Final added to parser<bool>
//===----------------------------------------------------------------------===// // FalseParser //===----------------------------------------------------------------------===// class FalseParser : public parser<bool> { public: explicit FalseParser(Option &O) : parser<bool>(O) { } // parse - Return true on error. bool parse(cl::Option& O, StringRef ArgName, Stri...
2015 Mar 19
2
[LLVMdev] Final added to parser<bool>
...owed even. ________________________________________ From: Simon Atanasyan [simon at atanasyan.com] Sent: Wednesday, March 18, 2015 9:35 PM To: Reed Kotler Cc: David Blaikie; Simon Atanasyan; Rich Fuhler; llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] Final added to parser<bool> Hi Reed, The FalseParser has a rather strange design. It's purpose to parse options like -no-to-do-something and always return false even if a user provides -no-to-do-something=no. That should be fixed on the MCLinker side. On Thu, Mar 19, 2015 at 5:14 AM, reed kotler <rkotler at mips.com> wrote: > //===-----...
2015 Mar 19
2
[LLVMdev] Final added to parser<bool>
...ker which derives a class from this. In file included from /home/rkotler/workspace/mclinker/lib/Support/CommandLine.cpp:9:0: /home/rkotler/workspace/mclinker/include/mcld/Support/CommandLine.h:49:7: error: cannot derive from ‘final’ base ‘llvm::cl::parser<bool>’ in derived type ‘llvm::cl::FalseParser’ make[2]: *** [Support/CommandLine.o] Error 1 make[2]: Leaving directory `/home/rkotler/mclinker_build/lib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/rkotler/mclinker_build/lib' make: *** [all-recursive] Error 1 Reed
2015 Mar 19
3
[LLVMdev] Final added to parser<bool>
...Sent: Wednesday, March 18, 2015 9:35 PM > To: Reed Kotler > Cc: David Blaikie; Simon Atanasyan; Rich Fuhler; > llvmdev at cs.uiuc.edu <mailto:llvmdev at cs.uiuc.edu> > Subject: Re: [LLVMdev] Final added to parser<bool> > > Hi Reed, > > The FalseParser has a rather strange design. It's purpose to parse > options like -no-to-do-something and always return false even if a > user provides -no-to-do-something=no. That should be fixed on the > MCLinker side. > > On Thu, Mar 19, 2015 at 5:14 AM, reed kotler <rkotle...
2015 Mar 19
4
[LLVMdev] Final added to parser<bool>
...To: Reed Kotler >> Cc: David Blaikie; Simon Atanasyan; Rich Fuhler; >> llvmdev at cs.uiuc.edu <mailto:llvmdev at cs.uiuc.edu> >> Subject: Re: [LLVMdev] Final added to parser<bool> >> >> Hi Reed, >> >> The FalseParser has a rather strange design. It's purpose to >> parse >> options like -no-to-do-something and always return false even >> if a >> user provides -no-to-do-something=no. That should be fixed on the >> MCLinker side. >> &g...
2015 Mar 19
2
[LLVMdev] Final added to parser<bool>
...vid Blaikie; Simon Atanasyan; Rich Fuhler; >>> llvmdev at cs.uiuc.edu <mailto:llvmdev at cs.uiuc.edu> >>> Subject: Re: [LLVMdev] Final added to parser<bool> >>> >>> Hi Reed, >>> >>> The FalseParser has a rather strange design. It's >>> purpose to parse >>> options like -no-to-do-something and always return false >>> even if a >>> user provides -no-to-do-something=no. That should be >>>...
2015 Mar 19
2
[LLVMdev] Final added to parser<bool>
...r; >>>> llvmdev at cs.uiuc.edu <mailto:llvmdev at cs.uiuc.edu> >>>> Subject: Re: [LLVMdev] Final added to parser<bool> >>>> >>>> Hi Reed, >>>> >>>> The FalseParser has a rather strange design. It's >>>> purpose to parse >>>> options like -no-to-do-something and always return >>>> false even if a >>>> user provides -no-to-do-something=no. That sh...
2015 Mar 19
2
[LLVMdev] Final added to parser<bool>
...t;> <mailto:llvmdev at cs.uiuc.edu> >>>>> Subject: Re: [LLVMdev] Final added to parser<bool> >>>>> >>>>> Hi Reed, >>>>> >>>>> The FalseParser has a rather strange design. >>>>> It's purpose to parse >>>>> options like -no-to-do-something and always >>>>> return false even if a >>>>> user provides...