33 Sema(
const Sema &) =
delete;
34 void operator=(
const Sema &) =
delete;
37 llvm::BumpPtrAllocator &Allocator;
55 llvm::StringMap<TParamCommandComment *> TemplateParameterDocs;
64 return Diags.Report(Loc, DiagID);
72 Sema(llvm::BumpPtrAllocator &Allocator,
const SourceManager &SourceMgr,
82 return Source.copy(Allocator);
139 StringRef CommandName);
198 void resolveParamCommandIndexes(
const FullComment *FC);
202 bool involvesFunctionType();
204 bool isFunctionDecl();
205 bool isAnyFunctionDecl();
209 bool isFunctionPointerVarDecl();
211 bool isObjCMethodDecl();
212 bool isObjCPropertyDecl();
213 bool isTemplateOrSpecialization();
214 bool isExplicitFunctionTemplateInstantiation();
215 bool isRecordLikeDecl();
216 bool isClassOrStructDecl();
219 bool isClassOrStructOrTagTypedefDecl();
221 bool isObjCInterfaceDecl();
222 bool isObjCProtocolDecl();
223 bool isClassTemplateDecl();
224 bool isFunctionTemplateDecl();
230 void inspectThisDecl();
233 unsigned resolveParmVarReference(StringRef Name,
238 unsigned correctTypoInParmVarReference(StringRef Typo,
241 bool resolveTParamReference(StringRef Name,
245 StringRef correctTypoInTParamReference(