Lines Matching defs:CurrentPath
355 [this, &RootPath](StringRef CurrentPath) -> std::optional<OptionsSource> {
356 const auto Iter = CachedOptions.Memorized.find(CurrentPath);
359 std::optional<OptionsSource> OptionsSource = tryReadConfigFile(CurrentPath);
363 while (RootPath != CurrentPath) {
369 CachedOptions.Memorized[CurrentPath] = Index;
370 RootPath = llvm::sys::path::parent_path(CurrentPath);
374 for (StringRef CurrentPath = RootPath; !CurrentPath.empty();
375 CurrentPath = llvm::sys::path::parent_path(CurrentPath)) {
377 MemorizedConfigFile(CurrentPath)) {