On 12/ 3/15 03:42 PM, Manuel Klimek wrote:
On Thu, Dec 3, 2015 at 1:15 PM Vladimir Voskresensky - Oracle via cfe-commits
mailto:cfe-commits@lists.llvm.org>> wrote:
Manuel
On 12/ 3/15 01:38 PM, Manuel Klimek via cfe-commits wrote:
> +if (!Compilations) {
> + llvm::err
On Thu, Dec 3, 2015 at 1:15 PM Vladimir Voskresensky - Oracle via
cfe-commits wrote:
> Manuel
>
> On 12/ 3/15 01:38 PM, Manuel Klimek via cfe-commits wrote:
> > +if (!Compilations) {
> > + llvm::errs() << "Error while trying to load a compilation
> database:\n"
> > + <<
Manuel
On 12/ 3/15 01:38 PM, Manuel Klimek via cfe-commits wrote:
+if (!Compilations) {
+ llvm::errs() << "Error while trying to load a compilation database:\n"
+ << ErrorMessage << "Running without flags.\n";
+ Compilations.reset(
+ new FixedCompilationD
Author: klimek
Date: Thu Dec 3 04:38:53 2015
New Revision: 254599
URL: http://llvm.org/viewvc/llvm-project?rev=254599&view=rev
Log:
Add fall-back mode for clang tools.
Run without flags if we cannot load a compilation database. This matches
the behavior of clang itself when simply called with a