hanchenye-llvm-project/clang/examples
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
..
PrintFunctionNames Revert r170801, which breaks the mingw build. 2012-12-20 23:36:52 +00:00
analyzer-plugin Sort the #include lines for examples/... 2012-12-04 09:37:22 +00:00
clang-interpreter Move Compilation::PrintJob and PrintDiagnosticJob into Job::Print. 2013-09-12 18:23:34 +00:00
CMakeLists.txt
Makefile