diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/Windows/Process.inc')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/Support/Windows/Process.inc | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/Windows/Process.inc b/contrib/llvm-project/llvm/lib/Support/Windows/Process.inc index 493209052a1c..a54c06d46870 100644 --- a/contrib/llvm-project/llvm/lib/Support/Windows/Process.inc +++ b/contrib/llvm-project/llvm/lib/Support/Windows/Process.inc @@ -158,7 +158,7 @@ static std::error_code WildcardExpand(StringRef Arg,    // option. Paths that start with \\?\ are absolute paths, and aren't    // expected to be used with wildcard expressions.    if (Arg.find_first_of("*?") == StringRef::npos || Arg == "/?" || -      Arg == "-?" || Arg.startswith("\\\\?\\")) { +      Arg == "-?" || Arg.starts_with("\\\\?\\")) {      Args.push_back(Arg.data());      return EC;    }  | 
