aboutsummaryrefslogtreecommitdiff
path: root/clangd/Path.h
blob: b4c93357a5533873c2878cf0eb28007cb51fd7a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//===--- Path.h - Helper typedefs --------------------------------*- C++-*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_PATH_H
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_PATH_H

#include "llvm/ADT/StringRef.h"
#include <string>

namespace clang {
namespace clangd {

/// A typedef to represent a file path. Used solely for more descriptive
/// signatures.
using Path = std::string;
/// A typedef to represent a ref to file path. Used solely for more descriptive
/// signatures.
using PathRef = llvm::StringRef;

} // namespace clangd
} // namespace clang

#endif