| clang 22.0.0git
    | 
This class provides information about commands that can be used in comments. More...
#include "clang/AST/CommentCommandTraits.h"
| Public Types | |
| enum | KnownCommandIDs { KCI_Last } | 
| Public Member Functions | |
| CommandTraits (llvm::BumpPtrAllocator &Allocator, const CommentOptions &CommentOptions) | |
| void | registerCommentOptions (const CommentOptions &CommentOptions) | 
| const CommandInfo * | getCommandInfoOrNULL (StringRef Name) const | 
| const CommandInfo * | getCommandInfo (StringRef Name) const | 
| const CommandInfo * | getTypoCorrectCommandInfo (StringRef Typo) const | 
| const CommandInfo * | getCommandInfo (unsigned CommandID) const | 
| const CommandInfo * | registerUnknownCommand (StringRef CommandName) | 
| const CommandInfo * | registerBlockCommand (StringRef CommandName) | 
| Static Public Member Functions | |
| static const CommandInfo * | getBuiltinCommandInfo (StringRef Name) | 
| static const CommandInfo * | getBuiltinCommandInfo (unsigned CommandID) | 
This class provides information about commands that can be used in comments.
Definition at line 149 of file CommentCommandTraits.h.
| Enumerator | |
|---|---|
| KCI_Last | |
Definition at line 151 of file CommentCommandTraits.h.
| clang::comments::CommandTraits::CommandTraits | ( | llvm::BumpPtrAllocator & | Allocator, | 
| const CommentOptions & | CommentOptions ) | 
Definition at line 17 of file CommentCommandTraits.cpp.
References registerCommentOptions().
Referenced by getBuiltinCommandInfo().
| 
 | static | 
Name is not a builtin command. References CommandTraits(), and getBuiltinCommandInfo().
Referenced by getBuiltinCommandInfo(), getCommandInfo(), and getCommandInfoOrNULL().
| 
 | static | 
CommandID is not a builtin command. Definition at line 115 of file CommentCommandTraits.cpp.
| 
 | inline | 
Definition at line 167 of file CommentCommandTraits.h.
References getCommandInfoOrNULL(), and clang::comments::CommandInfo::Name.
| const CommandInfo * clang::comments::CommandTraits::getCommandInfo | ( | unsigned | CommandID | ) | const | 
Definition at line 39 of file CommentCommandTraits.cpp.
References getBuiltinCommandInfo().
| const CommandInfo * clang::comments::CommandTraits::getCommandInfoOrNULL | ( | StringRef | Name | ) | const | 
Definition at line 33 of file CommentCommandTraits.cpp.
References getBuiltinCommandInfo().
Referenced by getCommandInfo().
| const CommandInfo * clang::comments::CommandTraits::getTypoCorrectCommandInfo | ( | StringRef | Typo | ) | const | 
Definition at line 46 of file CommentCommandTraits.cpp.
References abs().
| const CommandInfo * clang::comments::CommandTraits::registerBlockCommand | ( | StringRef | CommandName | ) | 
Definition at line 109 of file CommentCommandTraits.cpp.
References clang::comments::CommandInfo::IsBlockCommand.
Referenced by registerCommentOptions().
| void clang::comments::CommandTraits::registerCommentOptions | ( | const CommentOptions & | CommentOptions | ) | 
Definition at line 23 of file CommentCommandTraits.cpp.
References clang::CommentOptions::BlockCommandNames, and registerBlockCommand().
Referenced by CommandTraits().
| const CommandInfo * clang::comments::CommandTraits::registerUnknownCommand | ( | StringRef | CommandName | ) | 
Definition at line 102 of file CommentCommandTraits.cpp.
References clang::comments::CommandInfo::IsUnknownCommand.