llvm-project/clang/lib/Tooling
Hans Wennborg b212b34f19 Move Compilation::PrintJob and PrintDiagnosticJob into Job::Print.
This moves the code to Job.cpp, which seems like a more natural fit,
and replaces the "is this a JobList? is this a Command?" logic with
a virtual function call.

It also removes the code duplication between PrintJob and
PrintDiagnosticJob and simplifies the code a little.

There's no functionality change here, except that the Executable is
now always printed within quotes, whereas it would previously not be
quoted in crash reports, which I think was a bug.

Differential Revision: http://llvm-reviews.chandlerc.com/D1653

llvm-svn: 190620
2013-09-12 18:23:34 +00:00
..
ArgumentsAdjusters.cpp ClangTool: strip -o from the command line 2013-06-06 11:52:19 +00:00
CMakeLists.txt Support symlinks and relative paths in complilation databases. 2012-10-08 16:08:15 +00:00
CommonOptionsParser.cpp Allow clang tools to display an overview when using the CommonOptionsParser. 2013-07-19 12:20:59 +00:00
CompilationDatabase.cpp Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
FileMatchTrie.cpp Include Path.h instead of PathV2.h. 2013-06-11 22:15:02 +00:00
JSONCompilationDatabase.cpp Put helper class in anonymous namespace. 2013-07-01 06:34:58 +00:00
Makefile Adds a tooling library. 2012-04-04 12:07:46 +00:00
Refactoring.cpp Adding a vector version of clang::tooling::shiftedCodePosition(). 2013-08-27 15:44:26 +00:00
RefactoringCallbacks.cpp Finishing the move of RefactoringCallbacks and fixing the corresponding 2012-07-17 08:37:03 +00:00
Tooling.cpp Move Compilation::PrintJob and PrintDiagnosticJob into Job::Print. 2013-09-12 18:23:34 +00:00