clang-tools  14.0.0git
Namespaces | Typedefs | Functions
Path.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Path.h"
#include <string>
Include dependency graph for Path.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Typedefs

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

Functions

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. More...
 
PathRef clang::clangd::absoluteParent (PathRef Path)
 Variant of parent_path that operates only on absolute paths. More...