#ifndef LLVM_CLANG_BASIC_PLISTSUPPORT_H
#define LLVM_CLANG_BASIC_PLISTSUPPORT_H
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cstdint>
namespace clang {
namespace markup {
FIDMap;
inline unsigned AddFID(FIDMap &FIDs, SmallVectorImpl<FileID> &V,
FileID FID) { … }
inline unsigned AddFID(FIDMap &FIDs, SmallVectorImpl<FileID> &V,
const SourceManager &SM, SourceLocation L) { … }
inline unsigned GetFID(const FIDMap &FIDs, FileID FID) { … }
inline unsigned GetFID(const FIDMap &FIDs, const SourceManager &SM,
SourceLocation L) { … }
inline raw_ostream &Indent(raw_ostream &o, const unsigned indent) { … }
inline raw_ostream &EmitPlistHeader(raw_ostream &o) { … }
inline raw_ostream &EmitInteger(raw_ostream &o, int64_t value) { … }
inline raw_ostream &EmitString(raw_ostream &o, StringRef s) { … }
inline void EmitLocation(raw_ostream &o, const SourceManager &SM,
SourceLocation L, const FIDMap &FM, unsigned indent) { … }
inline void EmitRange(raw_ostream &o, const SourceManager &SM,
CharSourceRange R, const FIDMap &FM, unsigned indent) { … }
}
}
#endif