#include "llvm/Testing/Annotations/Annotations.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/raw_ostream.h"
usingnamespacellvm;
static void require(bool Assertion, const char *Msg, llvm::StringRef Code) { … }
Annotations::Annotations(llvm::StringRef Text) { … }
size_t Annotations::point(llvm::StringRef Name) const { … }
std::pair<size_t, llvm::StringRef>
Annotations::pointWithPayload(llvm::StringRef Name) const { … }
std::vector<size_t> Annotations::points(llvm::StringRef Name) const { … }
std::vector<std::pair<size_t, llvm::StringRef>>
Annotations::pointsWithPayload(llvm::StringRef Name) const { … }
llvm::StringMap<llvm::SmallVector<size_t, 1>> Annotations::all_points() const { … }
Annotations::Range Annotations::range(llvm::StringRef Name) const { … }
std::pair<Annotations::Range, llvm::StringRef>
Annotations::rangeWithPayload(llvm::StringRef Name) const { … }
std::vector<Annotations::Range>
Annotations::ranges(llvm::StringRef Name) const { … }
std::vector<std::pair<Annotations::Range, llvm::StringRef>>
Annotations::rangesWithPayload(llvm::StringRef Name) const { … }
llvm::StringMap<llvm::SmallVector<Annotations::Range, 1>>
Annotations::all_ranges() const { … }
llvm::raw_ostream &llvm::operator<<(llvm::raw_ostream &O,
const llvm::Annotations::Range &R) { … }