14 #ifndef LLVM_CLANG_AST_COMMENTPARSER_H 15 #define LLVM_CLANG_AST_COMMENTPARSER_H 21 #include "llvm/Support/Allocator.h" 32 void operator=(
const Parser &) =
delete;
41 llvm::BumpPtrAllocator &Allocator;
49 return Diags.
Report(Loc, DiagID);
62 if (MoreLATokens.empty())
65 Tok = MoreLATokens.pop_back_val();
68 void putBack(
const Token &OldTok) {
69 MoreLATokens.push_back(Tok);
77 MoreLATokens.push_back(Tok);
78 MoreLATokens.append(Toks.rbegin(), std::prev(Toks.rend()));
83 bool isTokBlockCommand() {
static DiagnosticBuilder Diag(DiagnosticsEngine *Diags, const LangOptions &Features, FullSourceLoc TokLoc, const char *TokBegin, const char *TokRangeBegin, const char *TokRangeEnd, unsigned DiagID)
Produce a diagnostic highlighting some portion of a literal.
DiagnosticBuilder Report(SourceLocation Loc, unsigned DiagID)
Issue the message to the client.
Concrete class used by the front-end to report problems and issues.
Defines the Diagnostic-related interfaces.
A little helper class used to produce diagnostics.
Encodes a location in the source.
Dataflow Directional Tag Classes.
This class handles loading and caching of source files into memory.