r254599 - Add fall-back mode for clang tools.

Vladimir Voskresensky - Oracle via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 3 04:15:14 PST 2015


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 FixedCompilationDatabase(".", std::vector<std::string>()));
> +    }
It would be helpful if error message also mentions "--" approach as the way to 
override this default flags.

Vladimir.


More information about the cfe-commits mailing list