]> granicus.if.org Git - clang/commit
Driver: Remove the Job class. NFC
authorJustin Bogner <mail@justinbogner.com>
Thu, 2 Jul 2015 22:52:08 +0000 (22:52 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 2 Jul 2015 22:52:08 +0000 (22:52 +0000)
commiteb4602db1a5063263d3fae4b271ab0243446cc38
tree52e67e61069a81894ad80d5ff48fd292b0a08423
parentd98acffaf073e308e6a2b14a31632834a69af006
Driver: Remove the Job class. NFC

We had a strange relationship here where we made a list of Jobs
inherit from a single Job, but there weren't actually any places where
this arbitrary nesting was used or needed.

Simplify all of this by removing Job entirely and updating all of the
users to either work with a JobList or a single Command.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241310 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Compilation.h
include/clang/Driver/Driver.h
include/clang/Driver/Job.h
lib/Driver/Compilation.cpp
lib/Driver/Driver.cpp
lib/Driver/Job.cpp
lib/Tooling/CompilationDatabase.cpp