From 06d4ba388873e6d1cfa9cd715a8935ecc8cd2097 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 18 Jan 2015 16:23:48 +0000 Subject: Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_360/rc1@226102 --- include/clang/Driver/Compilation.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/clang/Driver/Compilation.h') diff --git a/include/clang/Driver/Compilation.h b/include/clang/Driver/Compilation.h index c1c0f4326d76..5574e2ca0533 100644 --- a/include/clang/Driver/Compilation.h +++ b/include/clang/Driver/Compilation.h @@ -7,8 +7,8 @@ // //===----------------------------------------------------------------------===// -#ifndef CLANG_DRIVER_COMPILATION_H_ -#define CLANG_DRIVER_COMPILATION_H_ +#ifndef LLVM_CLANG_DRIVER_COMPILATION_H +#define LLVM_CLANG_DRIVER_COMPILATION_H #include "clang/Driver/Job.h" #include "clang/Driver/Util.h" @@ -94,7 +94,7 @@ public: JobList &getJobs() { return Jobs; } const JobList &getJobs() const { return Jobs; } - void addCommand(Command *C) { Jobs.addJob(C); } + void addCommand(std::unique_ptr C) { Jobs.addJob(std::move(C)); } const llvm::opt::ArgStringList &getTempFiles() const { return TempFiles; } -- cgit v1.2.3