summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-09-12 18:23:34 +0000
committerHans Wennborg <hans@hanshq.net>2013-09-12 18:23:34 +0000
commitfc3389701ead32709ba84825e4c06651065da2c0 (patch)
tree94cd74b9a557a1d8df873a9053d7083ce55dd512 /lib/CodeGen/CGExprConstant.cpp
parent17e95c8aac18cac3e040079a120b4a129975ae9d (diff)
downloadclang-fc3389701ead32709ba84825e4c06651065da2c0.tar.gz
clang-fc3389701ead32709ba84825e4c06651065da2c0.tar.bz2
clang-fc3389701ead32709ba84825e4c06651065da2c0.tar.xz
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions