15 #ifndef LLVM_CLANG_AST_COMMENTCOMMANDTRAITS_H 16 #define LLVM_CLANG_AST_COMMENTCOMMANDTRAITS_H 20 #include "llvm/ADT/SmallVector.h" 21 #include "llvm/ADT/StringRef.h" 22 #include "llvm/Support/Allocator.h" 23 #include "llvm/Support/ErrorHandling.h" 130 #define COMMENT_COMMAND(NAME) KCI_##NAME, 131 #include "clang/AST/CommentCommandList.inc" 132 #undef COMMENT_COMMAND 146 if (
const CommandInfo *Info = getCommandInfoOrNULL(Name))
148 llvm_unreachable(
"the command should be known");
151 const CommandInfo *getTypoCorrectCommandInfo(StringRef Typo)
const;
153 const CommandInfo *getCommandInfo(
unsigned CommandID)
const;
155 const CommandInfo *registerUnknownCommand(StringRef CommandName);
157 const CommandInfo *registerBlockCommand(StringRef CommandName);
165 static const CommandInfo *getBuiltinCommandInfo(
unsigned CommandID);
171 const CommandInfo *getRegisteredCommandInfo(StringRef Name)
const;
172 const CommandInfo *getRegisteredCommandInfo(
unsigned CommandID)
const;
174 CommandInfo *createCommandInfoWithName(StringRef CommandName);
179 llvm::BumpPtrAllocator &Allocator;
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
Dataflow Directional Tag Classes.