r190171 - Remove unused method Job::AddCommand.
Hans Wennborg
hans at hanshq.net
Fri Sep 6 09:48:57 PDT 2013
Author: hans
Date: Fri Sep 6 11:48:57 2013
New Revision: 190171
URL: http://llvm.org/viewvc/llvm-project?rev=190171&view=rev
Log:
Remove unused method Job::AddCommand.
I was going to update the comment referring to PipedJob, which was removed
some time ago, but then it turned out that this method is not actually used
at all.
Modified:
cfe/trunk/include/clang/Driver/Job.h
cfe/trunk/lib/Driver/Job.cpp
Modified: cfe/trunk/include/clang/Driver/Job.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Job.h?rev=190171&r1=190170&r2=190171&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Job.h (original)
+++ cfe/trunk/include/clang/Driver/Job.h Fri Sep 6 11:48:57 2013
@@ -38,10 +38,6 @@ public:
virtual ~Job();
JobClass getKind() const { return Kind; }
-
- /// addCommand - Append a command to the current job, which must be
- /// either a piped job or a job list.
- void addCommand(Command *C);
};
/// Command - An executable path/name and argument vector to
Modified: cfe/trunk/lib/Driver/Job.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Job.cpp?rev=190171&r1=190170&r2=190171&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Job.cpp (original)
+++ cfe/trunk/lib/Driver/Job.cpp Fri Sep 6 11:48:57 2013
@@ -32,8 +32,3 @@ JobList::~JobList() {
void JobList::clear() {
DeleteContainerPointers(Jobs);
}
-
-void Job::addCommand(Command *C) {
- cast<JobList>(this)->addJob(C);
-}
-
More information about the cfe-commits
mailing list