mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[driver] Make Command::getExecutable() return a const char *, since a Command’s executable must always be a null-terminated C string.
Swift SVN r11426
This commit is contained in:
@@ -144,7 +144,7 @@ public:
|
||||
const Action &getSource() const { return Source; }
|
||||
const Tool &getCreator() const { return Creator; }
|
||||
|
||||
StringRef getExecutable() const { return Executable; }
|
||||
const char *getExecutable() const { return Executable; }
|
||||
const llvm::opt::ArgStringList &getArguments() const { return Arguments; }
|
||||
|
||||
const JobList &getInputs() const { return *Inputs; }
|
||||
|
||||
Reference in New Issue
Block a user