summaryrefslogtreecommitdiffstats
path: root/include/clang/Driver/Tool.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Driver/Tool.h')
-rw-r--r--include/clang/Driver/Tool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Driver/Tool.h b/include/clang/Driver/Tool.h
index 851e423..ef77206 100644
--- a/include/clang/Driver/Tool.h
+++ b/include/clang/Driver/Tool.h
@@ -48,6 +48,10 @@ public:
virtual bool hasIntegratedAssembler() const { return false; }
virtual bool hasIntegratedCPP() const = 0;
+ /// \brief Does this tool have "good" standardized diagnostics, or should the
+ /// driver add an additional "command failed" diagnostic on failures.
+ virtual bool hasGoodDiagnostics() const { return false; }
+
/// ConstructJob - Construct jobs to perform the action \arg JA,
/// writing to \arg Output and with \arg Inputs.
///
OpenPOWER on IntegriCloud