clang 20.0.0git
|
Namespaces | |
namespace | tok |
Classes | |
class | BlockCommandComment |
A command that has zero or more word-like arguments (number of word-like arguments depends on command name) and a paragraph as an argument (e. More... | |
class | BlockContentComment |
Block content (contains inline content). More... | |
class | BriefParser |
A very simple comment parser that extracts "a brief description". More... | |
struct | CommandInfo |
Information about a single command. More... | |
class | CommandTraits |
This class provides information about commands that can be used in comments. More... | |
class | Comment |
Any part of the comment. More... | |
class | CommentVisitor |
class | CommentVisitorBase |
class | ConstCommentVisitor |
struct | DeclInfo |
Information about the declaration, useful to clients of FullComment. More... | |
class | FullComment |
A full comment attached to a declaration, contains block content. More... | |
class | HTMLEndTagComment |
A closing HTML tag. More... | |
class | HTMLStartTagComment |
An opening HTML tag with attributes. More... | |
class | HTMLTagComment |
Abstract class for opening and closing HTML tags. More... | |
class | InlineCommandComment |
A command with word-like arguments that is considered inline content. More... | |
class | InlineContentComment |
Inline content (contained within a block). More... | |
class | Lexer |
Comment lexer. More... | |
class | ParagraphComment |
A single paragraph that contains inline content. More... | |
class | ParamCommandComment |
Doxygen \param command. More... | |
class | Parser |
Doxygen comment parser. More... | |
class | Sema |
class | TextComment |
Plain text. More... | |
class | TextTokenRetokenizer |
Re-lexes a sequence of tok::text tokens. More... | |
class | Token |
Comment token. More... | |
class | TParamCommandComment |
Doxygen \tparam command, describes a template parameter. More... | |
class | VerbatimBlockComment |
A verbatim block command (e. More... | |
class | VerbatimBlockLineComment |
A line of text contained in a verbatim block. More... | |
class | VerbatimLineComment |
A verbatim line command. More... | |
Enumerations | |
enum | CommandMarkerKind { CMK_Backslash = 0 , CMK_At = 1 } |
Describes the syntax that was used in a documentation command. More... | |
enum class | CommentKind { None = 0 , COMMENT , COMMENT_RANGE , LAST_COMMENT_RANGE , ABSTRACT_COMMENT } |
enum class | InlineCommandRenderKind { Normal , Bold , Monospaced , Emphasized , Anchor } |
The most appropriate rendering mode for this command, chosen on command semantics in Doxygen. More... | |
enum class | ParamCommandPassDirection { In , Out , InOut } |
Functions | |
static TypeLoc | lookThroughTypedefOrTypeAliasLocs (TypeLoc &SrcTL) |
static bool | getFunctionTypeLoc (TypeLoc TL, FunctionTypeLoc &ResFTL) |
static bool | isHTMLNamedCharacterReferenceCharacter (char C) |
static bool | isHTMLDecimalCharacterReferenceCharacter (char C) |
static bool | isHTMLHexCharacterReferenceCharacter (char C) |
static StringRef | convertCodePointToUTF8 (llvm::BumpPtrAllocator &Allocator, unsigned CodePoint) |
static ParamCommandPassDirection | getParamPassDirection (StringRef Arg) |
Turn a string into the corresponding PassDirection or -1 if it's not valid. | |
static bool | isClassOrStructDeclImpl (const Decl *D) |
Describes the syntax that was used in a documentation command.
Exact values of this enumeration are important because they used to select parts of diagnostic messages. Audit diagnostics before changing or adding a new value.
Enumerator | |
---|---|
CMK_Backslash | Command started with a backslash character: \foo
|
CMK_At | Command started with an 'at' character: @foo
|
|
strong |
|
strong |
|
strong |
|
inlinestatic |
Definition at line 39 of file CommentLexer.cpp.
|
static |
Definition at line 156 of file Comment.cpp.
References clang::TemplateArgumentLoc::getArgument(), clang::TypeLoc::getAs(), clang::TemplateArgument::getKind(), clang::TypeSourceInfo::getTypeLoc(), clang::TemplateArgumentLoc::getTypeSourceInfo(), clang::TypeLoc::getUnqualifiedLoc(), lookThroughTypedefOrTypeAliasLocs(), and clang::TemplateArgument::Type.
Referenced by clang::comments::DeclInfo::fill().
|
static |
Turn a string into the corresponding PassDirection or -1 if it's not valid.
Definition at line 222 of file CommentSema.cpp.
References In, InOut, and Out.
Referenced by clang::comments::Sema::actOnParamCommandDirectionArg().
Definition at line 875 of file CommentSema.cpp.
References D.
|
inlinestatic |
Definition at line 31 of file CommentLexer.cpp.
References clang::C, and clang::isDigit().
|
inlinestatic |
Definition at line 35 of file CommentLexer.cpp.
References clang::C, and clang::isHexDigit().
|
inlinestatic |
Definition at line 27 of file CommentLexer.cpp.
References clang::C, and clang::isLetter().
Definition at line 128 of file Comment.cpp.
References clang::TypeLoc::getAs(), clang::TypeLoc::getUnqualifiedLoc(), and clang::TypeLoc::IgnoreParens().
Referenced by getFunctionTypeLoc().