hanchenye-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
CMakeLists.txt
CommonOptionsParser.cpp Allow clang tools to display an overview when using the CommonOptionsParser. 2013-07-19 12:20:59 +00:00
CompilationDatabase.cpp
FileMatchTrie.cpp
JSONCompilationDatabase.cpp
Makefile
Refactoring.cpp Adding a vector version of clang::tooling::shiftedCodePosition(). 2013-08-27 15:44:26 +00:00
RefactoringCallbacks.cpp
Tooling.cpp Move Compilation::PrintJob and PrintDiagnosticJob into Job::Print. 2013-09-12 18:23:34 +00:00