13 #ifndef LLVM_CLANG_AST_COMMENTPARSER_H 14 #define LLVM_CLANG_AST_COMMENTPARSER_H 20 #include "llvm/Support/Allocator.h" 31 void operator=(
const Parser &) =
delete;
40 llvm::BumpPtrAllocator &Allocator;
48 return Diags.
Report(Loc, DiagID);
61 if (MoreLATokens.empty())
64 Tok = MoreLATokens.pop_back_val();
67 void putBack(
const Token &OldTok) {
68 MoreLATokens.push_back(Tok);
76 MoreLATokens.push_back(Tok);
77 MoreLATokens.append(Toks.rbegin(), std::prev(Toks.rend()));
82 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.