Ping. On Fri, Aug 24, 2012 at 8:41 PM, Alexander Kornienko < [email protected]> wrote:
> Hi chandlerc, klimek, djasper, > > Subj. > > http://llvm-reviews.chandlerc.com/D29 > > Files: > tools/clang/lib/Tooling/CommonOptionsParser.cpp > > Index: tools/clang/lib/Tooling/CommonOptionsParser.cpp > =================================================================== > --- tools/clang/lib/Tooling/CommonOptionsParser.cpp > +++ tools/clang/lib/Tooling/CommonOptionsParser.cpp > @@ -53,13 +53,13 @@ > "\tsuffix of a path in the compile command database.\n" > "\n"; > > -static cl::opt<std::string> BuildPath( > - "p", cl::desc("Build path"), cl::Optional); > +CommonOptionsParser::CommonOptionsParser(int &argc, const char **argv) { > + static cl::opt<std::string> BuildPath( > + "p", cl::desc("Build path"), cl::Optional); > > -static cl::list<std::string> SourcePaths( > - cl::Positional, cl::desc("<source0> [... <sourceN>]"), cl::OneOrMore); > + static cl::list<std::string> SourcePaths( > + cl::Positional, cl::desc("<source0> [... <sourceN>]"), > cl::OneOrMore); > > -CommonOptionsParser::CommonOptionsParser(int &argc, const char **argv) { > Compilations.reset(FixedCompilationDatabase::loadFromCommandLine(argc, > argv)); > cl::ParseCommandLineOptions(argc, argv); > -- Alexander Kornienko | Software Engineer | [email protected] | +49 151 221 77 957 Google Germany GmbH | Dienerstr. 12 | 80331 München
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
