We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac72084 + 564732e commit 75995f0Copy full SHA for 75995f0
lib/Basic/Program.cpp
@@ -100,7 +100,7 @@ swift::ExecuteWithPipe(llvm::StringRef program,
100
llvm::BumpPtrAllocator Alloc;
101
const char **argv = toNullTerminatedCStringArray(args, Alloc);
102
const char **envp = nullptr;
103
- if (env.hasValue()) {
+ if (env.has_value()) {
104
envp = toNullTerminatedCStringArray(*env, Alloc);
105
}
106
const char *progCStr = args[0] == program
0 commit comments