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"
53 LLVM_PREFERRED_TYPE(
bool)
57 LLVM_PREFERRED_TYPE(
bool)
62 LLVM_PREFERRED_TYPE(
bool)
66 LLVM_PREFERRED_TYPE(
bool)
71 LLVM_PREFERRED_TYPE(
bool)
76 LLVM_PREFERRED_TYPE(
bool)
80 LLVM_PREFERRED_TYPE(
bool)
84 LLVM_PREFERRED_TYPE(
bool)
88 LLVM_PREFERRED_TYPE(
bool)
92 LLVM_PREFERRED_TYPE(
bool)
97 LLVM_PREFERRED_TYPE(
bool)
104 LLVM_PREFERRED_TYPE(
bool)
108 LLVM_PREFERRED_TYPE(
bool)
115 LLVM_PREFERRED_TYPE(
bool)
125 LLVM_PREFERRED_TYPE(
bool)
129 LLVM_PREFERRED_TYPE(
bool)
134 LLVM_PREFERRED_TYPE(
bool)
138 LLVM_PREFERRED_TYPE(
bool)
143 LLVM_PREFERRED_TYPE(
bool)
152#define COMMENT_COMMAND(NAME) KCI_##NAME,
153#include "clang/AST/CommentCommandList.inc"
154#undef COMMENT_COMMAND
170 llvm_unreachable(
"the command should be known");
173 const CommandInfo *getTypoCorrectCommandInfo(StringRef Typo)
const;
175 const CommandInfo *getCommandInfo(
unsigned CommandID)
const;
177 const CommandInfo *registerUnknownCommand(StringRef CommandName);
179 const CommandInfo *registerBlockCommand(StringRef CommandName);
187 static const CommandInfo *getBuiltinCommandInfo(
unsigned CommandID);
194 const CommandInfo *getRegisteredCommandInfo(
unsigned CommandID)
const;
196 CommandInfo *createCommandInfoWithName(StringRef CommandName);
201 llvm::BumpPtrAllocator &Allocator;
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
The JSON file list parser is used to communicate input to InstallAPI.