Home
last modified time | relevance | path

Searched refs:TheSema (Results 1 – 5 of 5) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/include/clang/Frontend/
HDCompilerInstance.h103 std::unique_ptr<Sema> TheSema; variable
486 bool hasSema() const { return (bool)TheSema; } in hasSema()
489 assert(TheSema && "Compiler instance has no Sema object!"); in getSema()
490 return *TheSema; in getSema()
HDASTUnit.h112 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()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDASTUnit.cpp337 if (!TheSema) in CacheCodeCompletionResults()
351 TheSema->GatherGlobalCodeCompletions(*CachedCompletionAllocator, in CacheCodeCompletionResults()
364 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults()
399 if (TheSema->Context.getLangOpts().CPlusPlus && IsNestedNameSpecifier && in CacheCodeCompletionResults()
427 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults()
448 *TheSema, CCContext, *CachedCompletionAllocator, CCTUInfo, in CacheCodeCompletionResults()
750 AST->TheSema.reset(new Sema(PP, Context, *AST->Consumer)); in LoadFromASTFile()
751 AST->TheSema->Initialize(); in LoadFromASTFile()
752 AST->Reader->InitializeSema(*AST->TheSema); in LoadFromASTFile()
1086 TheSema.reset(); in Parse()
[all …]
HDCompilerInstance.cpp102 TheSema.reset(S); in setSema()
114 return std::move(TheSema); in takeSema()
521 TheSema.reset(new Sema(getPreprocessor(), getASTContext(), getASTConsumer(), in createSema()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaDeclObjC.cpp454 static void diagnoseUseOfProtocols(Sema &TheSema, in diagnoseUseOfProtocols() argument
461 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols()
463 (void)TheSema.DiagnoseUseOfDecl(ProtoRefs[i], ProtoLocs[i]); in diagnoseUseOfProtocols()