summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Support/Program.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Support/Program.h')
-rw-r--r--llvm/include/llvm/Support/Program.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/Program.h b/llvm/include/llvm/Support/Program.h
index b89a0f73ec6..43302101e3e 100644
--- a/llvm/include/llvm/Support/Program.h
+++ b/llvm/include/llvm/Support/Program.h
@@ -67,8 +67,7 @@ struct ProcessInfo {
/// \returns The fully qualified path to the first \p Name in \p Paths if it
/// exists. \p Name if \p Name has slashes in it. Otherwise an error.
ErrorOr<std::string>
- findProgramByName(StringRef Name,
- ArrayRef<StringRef> Paths = ArrayRef<StringRef>());
+ findProgramByName(StringRef Name, ArrayRef<StringRef> Paths = None);
// These functions change the specified standard stream (stdin or stdout) to
// binary mode. They return errc::success if the specified stream
OpenPOWER on IntegriCloud