Re: Allow tools to work without compilation database

2015-12-03 Thread Russell Wallace via cfe-commits
FixedCompilationDatabase::loadFromCommandLine(argc, argv)); > > > Just Compilations.reset(new FixedCompilationDatabase(".", > std::vector()))? > > On Thu, Dec 3, 2015 at 8:51 AM Russell Wallace via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >

Allow tools to work without compilation database

2015-12-02 Thread Russell Wallace via cfe-commits
Per discussion at http://lists.llvm.org/pipermail/cfe-dev/2015-December/046321.html allow tools to work in the absence of a compilation database, but warn the user about the absence. Index: lib/Tooling/CommonOptionsParser.cpp === --- l