X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flib%2Ftool.h;h=a6bd322a762b0bce5ccc609990870efe1c78a030;hb=2c42374a95a76dcb28eaf3e5d85d321fafe62b38;hp=b756563242ba4099152f0ce125bd93a6504d9ffb;hpb=9ae890e43e26a651ce564db87b9c0f01f51f5eb8;p=builder.git diff --git a/source/lib/tool.h b/source/lib/tool.h index b756563..a6bd322 100644 --- a/source/lib/tool.h +++ b/source/lib/tool.h @@ -142,6 +142,7 @@ protected: virtual void do_prepare(ToolData &) const { } public: + bool is_broken() const { return !problems.empty(); } const std::vector &get_problems() const { return problems; } /** Invokes the tool to build a target. This should not be called directly;