9#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_PATH_H
10#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_PATH_H
12#include "llvm/ADT/StringRef.h"
13#include "llvm/Support/Path.h"
17#if defined(_WIN32) || defined(__APPLE__)
18#define CLANGD_PATH_CASE_INSENSITIVE
42 llvm::sys::path::Style Style = llvm::sys::path::Style::native);
std::string maybeCaseFoldPath(PathRef Path)
bool pathEqual(PathRef A, PathRef B)
std::string Path
A typedef to represent a file path.
bool pathStartsWith(PathRef Ancestor, PathRef Path, llvm::sys::path::Style Style)
Checks if Ancestor is a proper ancestor of Path.
PathRef absoluteParent(PathRef Path)
Variant of parent_path that operates only on absolute paths.
llvm::StringRef PathRef
A typedef to represent a ref to file path.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//