16 #ifndef LLVM_CLANG_AST_COMMENTCOMMANDTRAITS_H 17 #define LLVM_CLANG_AST_COMMENTCOMMANDTRAITS_H 21 #include "llvm/ADT/SmallVector.h" 22 #include "llvm/ADT/StringRef.h" 23 #include "llvm/Support/Allocator.h" 24 #include "llvm/Support/ErrorHandling.h" 131 #define COMMENT_COMMAND(NAME) KCI_##NAME, 132 #include "clang/AST/CommentCommandList.inc" 133 #undef COMMENT_COMMAND 147 if (
const CommandInfo *Info = getCommandInfoOrNULL(Name))
149 llvm_unreachable(
"the command should be known");
152 const CommandInfo *getTypoCorrectCommandInfo(StringRef Typo)
const;
154 const CommandInfo *getCommandInfo(
unsigned CommandID)
const;
156 const CommandInfo *registerUnknownCommand(StringRef CommandName);
158 const CommandInfo *registerBlockCommand(StringRef CommandName);
166 static const CommandInfo *getBuiltinCommandInfo(
unsigned CommandID);
172 const CommandInfo *getRegisteredCommandInfo(StringRef Name)
const;
173 const CommandInfo *getRegisteredCommandInfo(
unsigned CommandID)
const;
175 CommandInfo *createCommandInfoWithName(StringRef CommandName);
180 llvm::BumpPtrAllocator &Allocator;
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
Dataflow Directional Tag Classes.