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)
93 LLVM_PREFERRED_TYPE(
bool)
100 LLVM_PREFERRED_TYPE(
bool)
104 LLVM_PREFERRED_TYPE(
bool)
111 LLVM_PREFERRED_TYPE(
bool)
121 LLVM_PREFERRED_TYPE(
bool)
125 LLVM_PREFERRED_TYPE(
bool)
130 LLVM_PREFERRED_TYPE(
bool)
134 LLVM_PREFERRED_TYPE(
bool)
139 LLVM_PREFERRED_TYPE(
bool)
148#define COMMENT_COMMAND(NAME) KCI_##NAME,
149#include "clang/AST/CommentCommandList.inc"
150#undef COMMENT_COMMAND
166 llvm_unreachable(
"the command should be known");
169 const CommandInfo *getTypoCorrectCommandInfo(StringRef Typo)
const;
171 const CommandInfo *getCommandInfo(
unsigned CommandID)
const;
173 const CommandInfo *registerUnknownCommand(StringRef CommandName);
175 const CommandInfo *registerBlockCommand(StringRef CommandName);
183 static const CommandInfo *getBuiltinCommandInfo(
unsigned CommandID);
190 const CommandInfo *getRegisteredCommandInfo(
unsigned CommandID)
const;
192 CommandInfo *createCommandInfoWithName(StringRef CommandName);
197 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.