clang: clang::comments Namespace Reference (original) (raw)
| 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 } |
| 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) |
◆ CommandMarkerKind
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 |
Definition at line 39 of file Comment.h.
◆ CommentKind
| Enumerator |
|---|
| None |
Definition at line 53 of file Comment.h.
◆ InlineCommandRenderKind
The most appropriate rendering mode for this command, chosen on command semantics in Doxygen.
| Enumerator |
|---|
| Normal |
| Bold |
| Monospaced |
| Emphasized |
| Anchor |
Definition at line 332 of file Comment.h.
◆ ParamCommandPassDirection
| Enumerator |
|---|
| In |
| Out |
| InOut |
Definition at line 729 of file Comment.h.
◆ convertCodePointToUTF8()
| StringRef clang::comments::convertCodePointToUTF8 ( llvm::BumpPtrAllocator & Allocator, unsigned CodePoint ) | inlinestatic |
|---|
◆ getFunctionTypeLoc()
◆ getParamPassDirection()
| ParamCommandPassDirection clang::comments::getParamPassDirection ( StringRef Arg) | static |
|---|
◆ isClassOrStructDeclImpl()
| bool clang::comments::isClassOrStructDeclImpl ( const Decl * D) | static |
|---|
◆ isHTMLDecimalCharacterReferenceCharacter()
| bool clang::comments::isHTMLDecimalCharacterReferenceCharacter ( char C) | inlinestatic |
|---|
◆ isHTMLHexCharacterReferenceCharacter()
| bool clang::comments::isHTMLHexCharacterReferenceCharacter ( char C) | inlinestatic |
|---|
◆ isHTMLNamedCharacterReferenceCharacter()
| bool clang::comments::isHTMLNamedCharacterReferenceCharacter ( char C) | inlinestatic |
|---|
◆ lookThroughTypedefOrTypeAliasLocs()
| TypeLoc clang::comments::lookThroughTypedefOrTypeAliasLocs ( TypeLoc & SrcTL) | static |
|---|