From 056abd2059c65a3e908193aeae16fad98017437c Mon Sep 17 00:00:00 2001 From: dim Date: Sun, 2 Dec 2012 13:20:44 +0000 Subject: Vendor import of clang release_32 branch r168974 (effectively, 3.2 RC2): http://llvm.org/svn/llvm-project/cfe/branches/release_32@168974 --- include/clang/Driver/Compilation.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'include/clang/Driver/Compilation.h') diff --git a/include/clang/Driver/Compilation.h b/include/clang/Driver/Compilation.h index 7a10d56..5f63aa7 100644 --- a/include/clang/Driver/Compilation.h +++ b/include/clang/Driver/Compilation.h @@ -98,8 +98,7 @@ public: StringRef getSysRoot() const; /// getArgsForToolChain - Return the derived argument list for the - /// tool chain \arg TC (or the default tool chain, if TC is not - /// specified). + /// tool chain \p TC (or the default tool chain, if TC is not specified). /// /// \param BoundArch - The bound architecture name, or 0. const DerivedArgList &getArgsForToolChain(const ToolChain *TC, @@ -142,6 +141,14 @@ public: void PrintJob(raw_ostream &OS, const Job &J, const char *Terminator, bool Quote) const; + /// PrintDiagnosticJob - Print one job in -### format, but with the + /// superfluous options removed, which are not necessary for + /// reproducing the crash. + /// + /// \param OS - The stream to print on. + /// \param J - The job to print. + void PrintDiagnosticJob(raw_ostream &OS, const Job &J) const; + /// ExecuteCommand - Execute an actual command. /// /// \param FailingCommand - For non-zero results, this will be set to the -- cgit v1.1