12#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_UNITTESTS_ANNOTATIONS_H
13#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_UNITTESTS_ANNOTATIONS_H
16#include "llvm/Testing/Annotations/Annotations.h"
24 using Base = llvm::Annotations;
27 using llvm::Annotations::Annotations;
30 std::pair<Position, llvm::StringRef>
32 std::vector<Position>
points(llvm::StringRef
Name =
"")
const;
33 std::vector<std::pair<Position, llvm::StringRef>>
37 std::pair<clangd::Range, llvm::StringRef>
39 std::vector<clangd::Range>
ranges(llvm::StringRef
Name =
"")
const;
40 std::vector<std::pair<clangd::Range, llvm::StringRef>>
llvm::SmallString< 256U > Name
Same as llvm::Annotations, but adjusts functions to LSP-specific types for positions and ranges.
clangd::Range range(llvm::StringRef Name="") const
std::vector< Position > points(llvm::StringRef Name="") const
std::vector< clangd::Range > ranges(llvm::StringRef Name="") const
std::vector< std::pair< Position, llvm::StringRef > > pointsWithPayload(llvm::StringRef Name="") const
Position point(llvm::StringRef Name="") const
std::pair< clangd::Range, llvm::StringRef > rangeWithPayload(llvm::StringRef Name="") const
std::vector< std::pair< clangd::Range, llvm::StringRef > > rangesWithPayload(llvm::StringRef Name="") const
std::pair< Position, llvm::StringRef > pointWithPayload(llvm::StringRef Name="") const
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//