clang 22.0.0git
|
#include "clang/AST/CommentSema.h"
Definition at line 32 of file CommentSema.h.
clang::comments::Sema::Sema | ( | llvm::BumpPtrAllocator & | Allocator, |
const SourceManager & | SourceMgr, | ||
DiagnosticsEngine & | Diags, | ||
CommandTraits & | Traits, | ||
const Preprocessor * | PP ) |
Definition at line 28 of file CommentSema.cpp.
References clang::nullptr.
void clang::comments::Sema::actOnBlockCommandArgs | ( | BlockCommandComment * | Command, |
ArrayRef< BlockCommandComment::Argument > | Args ) |
Definition at line 62 of file CommentSema.cpp.
References clang::comments::BlockCommandComment::setArgs().
void clang::comments::Sema::actOnBlockCommandFinish | ( | BlockCommandComment * | Command, |
ParagraphComment * | Paragraph ) |
Definition at line 67 of file CommentSema.cpp.
References clang::comments::BlockCommandComment::setParagraph().
BlockCommandComment * clang::comments::Sema::actOnBlockCommandStart | ( | SourceLocation | LocBegin, |
SourceLocation | LocEnd, | ||
unsigned | CommandID, | ||
CommandMarkerKind | CommandMarker ) |
Definition at line 50 of file CommentSema.cpp.
FullComment * clang::comments::Sema::actOnFullComment | ( | ArrayRef< BlockContentComment * > | Blocks | ) |
Definition at line 520 of file CommentSema.cpp.
References clang::comments::Comment::getLocation(), clang::comments::Comment::getSourceRange(), clang::comments::HTMLTagComment::getTagName(), and clang::comments::HTMLTagComment::setIsMalformed().
HTMLEndTagComment * clang::comments::Sema::actOnHTMLEndTag | ( | SourceLocation | LocBegin, |
SourceLocation | LocEnd, | ||
StringRef | TagName ) |
void clang::comments::Sema::actOnHTMLStartTagFinish | ( | HTMLStartTagComment * | Tag, |
ArrayRef< HTMLStartTagComment::Attribute > | Attrs, | ||
SourceLocation | GreaterLoc, | ||
bool | IsSelfClosing ) |
Definition at line 439 of file CommentSema.cpp.
References clang::comments::HTMLStartTagComment::setAttrs().
HTMLStartTagComment * clang::comments::Sema::actOnHTMLStartTagStart | ( | SourceLocation | LocBegin, |
StringRef | TagName ) |
Definition at line 434 of file CommentSema.cpp.
InlineCommandComment * clang::comments::Sema::actOnInlineCommand | ( | SourceLocation | CommandLocBegin, |
SourceLocation | CommandLocEnd, | ||
unsigned | CommandID, | ||
CommandMarkerKind | CommandMarker, | ||
ArrayRef< Comment::Argument > | Args ) |
Definition at line 364 of file CommentSema.cpp.
ParagraphComment * clang::comments::Sema::actOnParagraphComment | ( | ArrayRef< InlineContentComment * > | Content | ) |
Definition at line 45 of file CommentSema.cpp.
void clang::comments::Sema::actOnParamCommandDirectionArg | ( | ParamCommandComment * | Command, |
SourceLocation | ArgLocBegin, | ||
SourceLocation | ArgLocEnd, | ||
StringRef | Arg ) |
Definition at line 232 of file CommentSema.cpp.
References clang::FixItHint::CreateReplacement(), clang::comments::ParamCommandComment::getDirectionAsString(), clang::comments::getParamPassDirection(), clang::comments::In, clang::isWhitespace(), and clang::comments::ParamCommandComment::setDirection().
void clang::comments::Sema::actOnParamCommandFinish | ( | ParamCommandComment * | Command, |
ParagraphComment * | Paragraph ) |
Definition at line 276 of file CommentSema.cpp.
References clang::comments::BlockCommandComment::setParagraph().
void clang::comments::Sema::actOnParamCommandParamNameArg | ( | ParamCommandComment * | Command, |
SourceLocation | ArgLocBegin, | ||
SourceLocation | ArgLocEnd, | ||
StringRef | Arg ) |
ParamCommandComment * clang::comments::Sema::actOnParamCommandStart | ( | SourceLocation | LocBegin, |
SourceLocation | LocEnd, | ||
unsigned | CommandID, | ||
CommandMarkerKind | CommandMarker ) |
Definition at line 80 of file CommentSema.cpp.
References clang::comments::BlockCommandComment::getCommandNameRange(), and clang::comments::Comment::getLocation().
TextComment * clang::comments::Sema::actOnText | ( | SourceLocation | LocBegin, |
SourceLocation | LocEnd, | ||
StringRef | Text ) |
Definition at line 390 of file CommentSema.cpp.
References clang::Text.
void clang::comments::Sema::actOnTParamCommandFinish | ( | TParamCommandComment * | Command, |
ParagraphComment * | Paragraph ) |
Definition at line 357 of file CommentSema.cpp.
References clang::comments::BlockCommandComment::setParagraph().
void clang::comments::Sema::actOnTParamCommandParamNameArg | ( | TParamCommandComment * | Command, |
SourceLocation | ArgLocBegin, | ||
SourceLocation | ArgLocEnd, | ||
StringRef | Arg ) |
Definition at line 300 of file CommentSema.cpp.
References copyArray(), clang::FixItHint::CreateReplacement(), clang::comments::Comment::getLocation(), clang::IdentifierInfo::getName(), clang::comments::BlockCommandComment::getNumArgs(), clang::TemplateParameterList::getParam(), clang::comments::TParamCommandComment::getParamNameRange(), clang::comments::BlockCommandComment::setArgs(), clang::comments::TParamCommandComment::setPosition(), and clang::TemplateParameterList::size().
TParamCommandComment * clang::comments::Sema::actOnTParamCommandStart | ( | SourceLocation | LocBegin, |
SourceLocation | LocEnd, | ||
unsigned | CommandID, | ||
CommandMarkerKind | CommandMarker ) |
Definition at line 282 of file CommentSema.cpp.
References clang::comments::BlockCommandComment::getCommandNameRange(), and clang::comments::Comment::getLocation().
InlineContentComment * clang::comments::Sema::actOnUnknownCommand | ( | SourceLocation | LocBegin, |
SourceLocation | LocEnd, | ||
StringRef | CommandName ) |
Definition at line 375 of file CommentSema.cpp.
References actOnUnknownCommand().
Referenced by actOnUnknownCommand().
InlineContentComment * clang::comments::Sema::actOnUnknownCommand | ( | SourceLocation | LocBegin, |
SourceLocation | LocEnd, | ||
unsigned | CommandID ) |
Definition at line 382 of file CommentSema.cpp.
References clang::comments::Normal.
void clang::comments::Sema::actOnVerbatimBlockFinish | ( | VerbatimBlockComment * | Block, |
SourceLocation | CloseNameLocBegin, | ||
StringRef | CloseName, | ||
ArrayRef< VerbatimBlockLineComment * > | Lines ) |
Definition at line 410 of file CommentSema.cpp.
References clang::Block.
VerbatimBlockLineComment * clang::comments::Sema::actOnVerbatimBlockLine | ( | SourceLocation | Loc, |
StringRef | Text ) |
Definition at line 405 of file CommentSema.cpp.
References clang::Text.
VerbatimBlockComment * clang::comments::Sema::actOnVerbatimBlockStart | ( | SourceLocation | Loc, |
unsigned | CommandID ) |
Definition at line 396 of file CommentSema.cpp.
References clang::SourceLocation::getLocWithOffset().
VerbatimLineComment * clang::comments::Sema::actOnVerbatimLine | ( | SourceLocation | LocBegin, |
unsigned | CommandID, | ||
SourceLocation | TextBegin, | ||
StringRef | Text ) |
Definition at line 419 of file CommentSema.cpp.
References clang::SourceLocation::getLocWithOffset(), and clang::Text.
Returns a copy of array, owned by Sema's allocator.
Definition at line 80 of file CommentSema.h.
Referenced by actOnTParamCommandParamNameArg().
void clang::comments::Sema::setDecl | ( | const Decl * | D | ) |
Definition at line 36 of file CommentSema.cpp.
References clang::comments::DeclInfo::CommentDecl.
Referenced by clang::RawComment::parse().