Lines Matching refs:Expr
33 StringRef Expr, SmallVectorImpl<char> &Output) { in ResolveExact() argument
36 assert(!llvm::any_of(Expr, [](char c) { return path::is_separator(c); })); in ResolveExact()
37 assert(Expr.empty() || Expr[0] == '~'); in ResolveExact()
39 return !fs::real_path(Expr, Output, true); in ResolveExact()
42 bool StandardTildeExpressionResolver::ResolvePartial(StringRef Expr, in ResolvePartial() argument
46 assert(!llvm::any_of(Expr, [](char c) { return path::is_separator(c); })); in ResolvePartial()
47 assert(Expr.empty() || Expr[0] == '~'); in ResolvePartial()
53 if (Expr.empty()) in ResolvePartial()
59 Expr = Expr.drop_front(); in ResolvePartial()
63 if (!ThisName.startswith(Expr)) in ResolvePartial()
77 StringRef Expr, llvm::SmallVectorImpl<char> &Output) { in ResolveFullPath() argument
78 if (!Expr.startswith("~")) { in ResolveFullPath()
79 Output.assign(Expr.begin(), Expr.end()); in ResolveFullPath()
85 Expr.take_until([](char c) { return path::is_separator(c); }); in ResolveFullPath()
88 Output.assign(Expr.begin(), Expr.end()); in ResolveFullPath()
92 Output.append(Expr.begin() + Left.size(), Expr.end()); in ResolveFullPath()