clang-tools 19.0.0git
Namespaces | Typedefs | Functions
Path.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Path.h"
#include <string>

Go to the source code of this file.


namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::clangd


using clang::clangd::Path = std::string
 A typedef to represent a file path.
using clang::clangd::PathRef = llvm::StringRef
 A typedef to represent a ref to file path.


std::string clang::clangd::maybeCaseFoldPath (PathRef Path)
bool clang::clangd::pathEqual (PathRef A, PathRef B)
bool clang::clangd::pathStartsWith (PathRef Ancestor, PathRef Path, llvm::sys::path::Style Style=llvm::sys::path::Style::native)
 Checks if Ancestor is a proper ancestor of Path.
PathRef clang::clangd::absoluteParent (PathRef Path)
 Variant of parent_path that operates only on absolute paths.