clang-tools 8.0.0

Path.h
Go to the documentation of this file.
1 //===--- Path.h - Helper typedefs --------------------------------*- C++-*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_PATH_H
11 #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_PATH_H
12
13 #include "llvm/ADT/StringRef.h"
14 #include <string>
15
16 namespace clang {
17 namespace clangd {
18
19 /// A typedef to represent a file path. Used solely for more descriptive
20 /// signatures.
21 using Path = std::string;
22 /// A typedef to represent a ref to file path. Used solely for more descriptive
23 /// signatures.
24 using PathRef = llvm::StringRef;
25
26 } // namespace clangd
27 } // namespace clang
28
29 #endif
clang::clangd::PathRef
llvm::StringRef PathRef
A typedef to represent a ref to file path.
Definition: Path.h:24
clang::clangd::Path
std::string Path
A typedef to represent a file path.
Definition: Path.h:21
clang
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
Definition: ChangeNamespace.cpp:18