13#ifndef LLVM_CLANG_AST_COMMENTSEMA_H
14#define LLVM_CLANG_AST_COMMENTSEMA_H
19#include "llvm/ADT/ArrayRef.h"
20#include "llvm/ADT/StringMap.h"
21#include "llvm/ADT/StringRef.h"
22#include "llvm/Support/Allocator.h"
34 void operator=(
const Sema &) =
delete;
37 llvm::BumpPtrAllocator &Allocator;
55 llvm::StringMap<TParamCommandComment *> TemplateParameterDocs;
82 return Source.copy(Allocator);
138 StringRef CommandName);
197 void resolveParamCommandIndexes(
const FullComment *FC);
201 bool involvesFunctionType();
203 bool isFunctionDecl();
204 bool isAnyFunctionDecl();
208 bool isFunctionPointerVarDecl();
209 bool isFunctionOrMethodVariadic();
210 bool isObjCMethodDecl();
211 bool isObjCPropertyDecl();
212 bool isTemplateOrSpecialization();
213 bool isRecordLikeDecl();
214 bool isClassOrStructDecl();
217 bool isClassOrStructOrTagTypedefDecl();
219 bool isObjCInterfaceDecl();
220 bool isObjCProtocolDecl();
221 bool isClassTemplateDecl();
222 bool isFunctionTemplateDecl();
228 void inspectThisDecl();
231 unsigned resolveParmVarReference(StringRef Name,
236 unsigned correctTypoInParmVarReference(StringRef Typo,
239 bool resolveTParamReference(StringRef Name,
243 StringRef correctTypoInTParamReference(
Defines the Diagnostic-related interfaces.
Defines the clang::SourceLocation class and associated facilities.
Decl - This represents one declaration (or definition), e.g.
A little helper class used to produce diagnostics.
Concrete class used by the front-end to report problems and issues.
DiagnosticBuilder Report(SourceLocation Loc, unsigned DiagID)
Issue the message to the client.
Engages in a tight little dance with the lexer to efficiently preprocess tokens.
Encodes a location in the source.
This class handles loading and caching of source files into memory.
Stores a list of template parameters for a TemplateDecl and its derived classes.
@ Decl
The l-value was an access to a declared entity or something equivalently strong, like the address of ...
The JSON file list parser is used to communicate input to InstallAPI.