clang API Documentation
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 llvm::DenseMap<FileID, unsigned> clang::markup::FIDMap |
Definition at line 20 of file PlistSupport.h.
| void clang::markup::AddFID | ( | FIDMap & | FIDs, |
| SmallVectorImpl< FileID > & | V, | ||
| const SourceManager & | SM, | ||
| SourceLocation | L | ||
| ) | [inline] |
Definition at line 22 of file PlistSupport.h.
References clang::SourceManager::getExpansionLoc(), and clang::SourceManager::getFileID().
Referenced by clang::arcmt::writeARCDiagsToPlist().
| 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] |
Definition at line 91 of file PlistSupport.h.
References EmitInteger(), clang::FullSourceLoc::getExpansionColumnNumber(), clang::FullSourceLoc::getExpansionLineNumber(), clang::SourceManager::getExpansionLoc(), GetFID(), Indent(), clang::Lexer::MeasureTokenLength(), and SM.
Referenced by EmitRange(), ReportEvent(), and clang::arcmt::writeARCDiagsToPlist().
| 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] |
Definition at line 111 of file PlistSupport.h.
References EmitLocation(), clang::CharSourceRange::getBegin(), clang::CharSourceRange::getEnd(), Indent(), and clang::CharSourceRange::isTokenRange().
Referenced by ReportControlFlow(), ReportEvent(), and clang::arcmt::writeARCDiagsToPlist().
| raw_ostream& clang::markup::EmitString | ( | raw_ostream & | o, |
| StringRef | s | ||
| ) | [inline] |
Definition at line 62 of file PlistSupport.h.
Referenced by clang::LogDiagnosticPrinter::EndSourceFile(), ReportControlFlow(), ReportEvent(), and clang::arcmt::writeARCDiagsToPlist().
| unsigned clang::markup::GetFID | ( | const FIDMap & | FIDs, |
| const SourceManager & | SM, | ||
| SourceLocation | L | ||
| ) | [inline] |
Definition at line 32 of file PlistSupport.h.
References clang::SourceManager::getExpansionLoc(), and clang::SourceManager::getFileID().
Referenced by EmitLocation().
| 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().