/external/llvm-project/clang/include/clang/Sema/ |
D | TemplateInstCallback.h | 28 virtual void initialize(const Sema &TheSema) = 0; 31 virtual void finalize(const Sema &TheSema) = 0; 34 virtual void atTemplateBegin(const Sema &TheSema, 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() [all …]
|
/external/llvm-project/clang/lib/Frontend/ |
D | FrontendActions.cpp | 392 void atTemplateBegin(const Sema &TheSema, in atTemplateBegin() argument 394 displayTemplightEntry<true>(llvm::outs(), TheSema, Inst); in atTemplateBegin() 397 void atTemplateEnd(const Sema &TheSema, in atTemplateEnd() argument 399 displayTemplightEntry<false>(llvm::outs(), TheSema, Inst); in atTemplateEnd() 454 static void displayTemplightEntry(llvm::raw_ostream &Out, const Sema &TheSema, in displayTemplightEntry() argument 461 getTemplightEntry<BeginInstantiation>(TheSema, Inst); in displayTemplightEntry() 469 static TemplightEntry getTemplightEntry(const Sema &TheSema, in getTemplightEntry() argument 476 PrintingPolicy Policy = TheSema.Context.getPrintingPolicy(); in getTemplightEntry() 481 TheSema.getSourceManager().getPresumedLoc(Inst.Entity->getLocation()); in getTemplightEntry() 488 TheSema.getSourceManager().getPresumedLoc(Inst.PointOfInstantiation); in getTemplightEntry()
|
D | ASTUnit.cpp | 365 if (!TheSema) in CacheCodeCompletionResults() 379 TheSema->GatherGlobalCodeCompletions(*CachedCompletionAllocator, in CacheCodeCompletionResults() 392 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults() 427 if (TheSema->Context.getLangOpts().CPlusPlus && IsNestedNameSpecifier && in CacheCodeCompletionResults() 455 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults() 476 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults() 861 AST->TheSema.reset(new Sema(PP, *AST->Ctx, *AST->Consumer)); in LoadFromASTFile() 862 AST->TheSema->Initialize(); in LoadFromASTFile() 863 AST->Reader->InitializeSema(*AST->TheSema); in LoadFromASTFile() 1451 TheSema = CI.takeSema(); in transferASTDataFromCompilerInstance() [all …]
|
D | CompilerInstance.cpp | 124 TheSema.reset(S); in setSema() 139 return std::move(TheSema); in takeSema() 636 TheSema.reset(new Sema(getPreprocessor(), getASTContext(), getASTConsumer(), in createSema() 640 TheSema->addExternalSource(ExternalSemaSrc.get()); in createSema() 641 ExternalSemaSrc->InitializeSema(*TheSema); in createSema()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInstance.h | 106 std::unique_ptr<Sema> TheSema; variable 491 bool hasSema() const { return (bool)TheSema; } in hasSema() 494 assert(TheSema && "Compiler instance has no Sema object!"); in getSema() 495 return *TheSema; in getSema()
|
D | ASTUnit.h | 112 std::unique_ptr<Sema> TheSema; variable 514 bool hasSema() const { return (bool)TheSema; } in hasSema() 516 assert(TheSema && "ASTUnit does not have a Sema object!"); in getSema() 517 return *TheSema; in getSema()
|
/external/llvm-project/clang/include/clang/Frontend/ |
D | CompilerInstance.h | 110 std::unique_ptr<Sema> TheSema; variable 501 bool hasSema() const { return (bool)TheSema; } in hasSema() 504 assert(TheSema && "Compiler instance has no Sema object!"); in getSema() 505 return *TheSema; in getSema()
|
D | ASTUnit.h | 135 std::unique_ptr<Sema> TheSema; variable 454 bool hasSema() const { return (bool)TheSema; } in hasSema() 457 assert(TheSema && "ASTUnit does not have a Sema object!"); in getSema() 458 return *TheSema; in getSema()
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 338 if (!TheSema) in CacheCodeCompletionResults() 352 TheSema->GatherGlobalCodeCompletions(*CachedCompletionAllocator, in CacheCodeCompletionResults() 365 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults() 400 if (TheSema->Context.getLangOpts().CPlusPlus && IsNestedNameSpecifier && in CacheCodeCompletionResults() 428 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults() 449 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults() 751 AST->TheSema.reset(new Sema(PP, Context, *AST->Consumer)); in LoadFromASTFile() 752 AST->TheSema->Initialize(); in LoadFromASTFile() 753 AST->Reader->InitializeSema(*AST->TheSema); in LoadFromASTFile() 1087 TheSema.reset(); in Parse() [all …]
|
D | CompilerInstance.cpp | 108 TheSema.reset(S); in setSema() 123 return std::move(TheSema); in takeSema() 538 TheSema.reset(new Sema(getPreprocessor(), getASTContext(), getASTConsumer(), in createSema()
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 451 static void diagnoseUseOfProtocols(Sema &TheSema, in diagnoseUseOfProtocols() argument 458 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols() 460 (void)TheSema.DiagnoseUseOfDecl(ProtoRefs[i], ProtoLocs[i]); in diagnoseUseOfProtocols()
|
/external/llvm-project/clang/lib/Sema/ |
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()
|