diff options
Diffstat (limited to 'include/clang/Driver/Job.h')
| -rw-r--r-- | include/clang/Driver/Job.h | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/include/clang/Driver/Job.h b/include/clang/Driver/Job.h index ff88256b8c0d..b74b3b4b35e1 100644 --- a/include/clang/Driver/Job.h +++ b/include/clang/Driver/Job.h @@ -97,8 +97,8 @@ public:    virtual void Print(llvm::raw_ostream &OS, const char *Terminator, bool Quote,                       CrashReportInfo *CrashInfo = nullptr) const; -  virtual int Execute(const StringRef **Redirects, std::string *ErrMsg, -                      bool *ExecutionFailed) const; +  virtual int Execute(ArrayRef<Optional<StringRef>> Redirects, +                      std::string *ErrMsg, bool *ExecutionFailed) const;    /// getSource - Return the Action which caused the creation of this job.    const Action &getSource() const { return Source; } @@ -141,7 +141,7 @@ public:    void Print(llvm::raw_ostream &OS, const char *Terminator, bool Quote,               CrashReportInfo *CrashInfo = nullptr) const override; -  int Execute(const StringRef **Redirects, std::string *ErrMsg, +  int Execute(ArrayRef<Optional<StringRef>> Redirects, std::string *ErrMsg,                bool *ExecutionFailed) const override;  private: @@ -158,7 +158,7 @@ public:    void Print(llvm::raw_ostream &OS, const char *Terminator, bool Quote,               CrashReportInfo *CrashInfo = nullptr) const override; -  int Execute(const StringRef **Redirects, std::string *ErrMsg, +  int Execute(ArrayRef<Optional<StringRef>> Redirects, std::string *ErrMsg,                bool *ExecutionFailed) const override;  };  | 
