clang API Documentation

Typedefs | Functions
clang::markup Namespace Reference

Typedefs

typedef llvm::DenseMap< FileID,
unsigned
FIDMap

Functions

void AddFID (FIDMap &FIDs, SmallVectorImpl< FileID > &V, const SourceManager &SM, SourceLocation L)
unsigned GetFID (const FIDMap &FIDs, const SourceManager &SM, SourceLocation L)
raw_ostream & Indent (raw_ostream &o, const unsigned indent)
raw_ostream & EmitPlistHeader (raw_ostream &o)
raw_ostream & EmitInteger (raw_ostream &o, int64_t value)
raw_ostream & EmitString (raw_ostream &o, StringRef s)
void EmitLocation (raw_ostream &o, const SourceManager &SM, const LangOptions &LangOpts, SourceLocation L, const FIDMap &FM, unsigned indent, bool extend=false)
void EmitRange (raw_ostream &o, const SourceManager &SM, const LangOptions &LangOpts, CharSourceRange R, const FIDMap &FM, unsigned indent)

Typedef Documentation

typedef llvm::DenseMap<FileID, unsigned> clang::markup::FIDMap

Definition at line 20 of file PlistSupport.h.


Function Documentation

void clang::markup::AddFID ( FIDMap &  FIDs,
SmallVectorImpl< FileID > &  V,
const SourceManager &  SM,
SourceLocation  L 
) [inline]
raw_ostream& clang::markup::EmitInteger ( raw_ostream &  o,
int64_t  value 
) [inline]

Definition at line 55 of file PlistSupport.h.

Referenced by EmitLocation(), and ReportEvent().

void clang::markup::EmitLocation ( raw_ostream &  o,
const SourceManager &  SM,
const LangOptions &  LangOpts,
SourceLocation  L,
const FIDMap &  FM,
unsigned  indent,
bool  extend = false 
) [inline]
raw_ostream& clang::markup::EmitPlistHeader ( raw_ostream &  o) [inline]

Definition at line 46 of file PlistSupport.h.

Referenced by clang::arcmt::writeARCDiagsToPlist().

void clang::markup::EmitRange ( raw_ostream &  o,
const SourceManager &  SM,
const LangOptions &  LangOpts,
CharSourceRange  R,
const FIDMap &  FM,
unsigned  indent 
) [inline]
raw_ostream& clang::markup::EmitString ( raw_ostream &  o,
StringRef  s 
) [inline]
unsigned clang::markup::GetFID ( const FIDMap &  FIDs,
const SourceManager &  SM,
SourceLocation  L 
) [inline]
raw_ostream& clang::markup::Indent ( raw_ostream &  o,
const unsigned  indent 
) [inline]

Definition at line 40 of file PlistSupport.h.

Referenced by EmitLocation(), EmitRange(), ReportControlFlow(), and ReportEvent().