r254599 - Add fall-back mode for clang tools.

Vladimir Voskresensky - Oracle via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 3 06:10:52 PST 2015



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 
> <cfe-commits at lists.llvm.org <mailto:cfe-commits at lists.llvm.org>> 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"
>     > +                   << 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.
>
>
> I considered it; do you have wording suggestions?
Second part of message could be something like:
"Running without flags, because "-- [flags]" postfix is not specified as well.\n"
>
>
>     Vladimir.
>     _______________________________________________
>     cfe-commits mailing list
>     cfe-commits at lists.llvm.org <mailto:cfe-commits at lists.llvm.org>
>     http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151203/af5702e1/attachment.html>


More information about the cfe-commits mailing list