Searched refs:TheSema (Results 1 – 7 of 7) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | TemplateInstCallback.h | 28 virtual void initialize(const Sema &TheSema) = 0; 31 virtual void finalize(const Sema &TheSema) = 0; 38 virtual void atTemplateEnd(const Sema &TheSema, 44 const Sema &TheSema) { in initialize() argument 47 C->initialize(TheSema); in initialize() 53 const Sema &TheSema) { in finalize() argument 56 C->finalize(TheSema); in finalize() 62 const Sema &TheSema, in atTemplateBegin() argument 66 C->atTemplateBegin(TheSema, Inst); in atTemplateBegin() 72 const Sema &TheSema, in atTemplateEnd() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendActions.cpp | 364 void atTemplateBegin(const Sema &TheSema, in atTemplateBegin() argument 366 displayTemplightEntry<true>(llvm::outs(), TheSema, Inst); in atTemplateBegin() 369 void atTemplateEnd(const Sema &TheSema, in atTemplateEnd() argument 371 displayTemplightEntry<false>(llvm::outs(), TheSema, Inst); in atTemplateEnd() 441 getTemplightEntry<BeginInstantiation>(TheSema, Inst); in displayTemplightEntry() 448 static void printEntryName(const Sema &TheSema, const Decl *Entity, in printEntryName() argument 452 PrintingPolicy Policy = TheSema.Context.getPrintingPolicy(); in printEntryName() 467 Decl->getLocation().print(OS, TheSema.getSourceManager()); in printEntryName() 483 NamedCtx->getNameForDiagnostic(OS, TheSema.getLangOpts(), true); in printEntryName() 523 static TemplightEntry getTemplightEntry(const Sema &TheSema, in getTemplightEntry() argument [all …]
|
| H A D | ASTUnit.cpp | 364 if (!TheSema) in CacheCodeCompletionResults() 378 TheSema->GatherGlobalCodeCompletions(*CachedCompletionAllocator, in CacheCodeCompletionResults() 391 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults() 454 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults() 475 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults() 894 AST->TheSema.reset(new Sema(PP, *AST->Ctx, *AST->Consumer)); in LoadFromASTFile() 895 AST->TheSema->Initialize(); in LoadFromASTFile() 896 AST->Reader->InitializeSema(*AST->TheSema); in LoadFromASTFile() 1475 TheSema = CI.takeSema(); in transferASTDataFromCompilerInstance() 1611 AST->TheSema.reset(); in LoadFromCompilerInvocationAction() [all …]
|
| H A D | CompilerInstance.cpp | 184 TheSema.reset(S); in setSema() 199 return std::move(TheSema); in takeSema() 748 TheSema.reset(new Sema(getPreprocessor(), getASTContext(), getASTConsumer(), in createSema() 752 TheSema->APINotes.setSwiftVersion(getAPINotesOpts().SwiftVersion); in createSema() 756 TheSema->addExternalSource(ExternalSemaSrc.get()); in createSema() 757 ExternalSemaSrc->InitializeSema(*TheSema); in createSema() 763 (void)TheSema->APINotes.loadCurrentModuleAPINotes( in createSema()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | CompilerInstance.h | 117 std::unique_ptr<Sema> TheSema; variable 535 bool hasSema() const { return (bool)TheSema; } in hasSema() 538 assert(TheSema && "Compiler instance has no Sema object!"); in getSema() 539 return *TheSema; in getSema()
|
| H A D | ASTUnit.h | 137 std::unique_ptr<Sema> TheSema; variable 457 bool hasSema() const { return (bool)TheSema; } in hasSema() 460 assert(TheSema && "ASTUnit does not have a Sema object!"); in getSema() 461 return *TheSema; in getSema()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 525 static void diagnoseUseOfProtocols(Sema &TheSema, in diagnoseUseOfProtocols() argument 532 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() 534 (void)TheSema.DiagnoseUseOfDecl(ProtoRefs[i], ProtoLocs[i], in diagnoseUseOfProtocols()
|