Home
last modified time | relevance | path

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

/external/clang/include/clang/Frontend/
DCompilerInstance.h96 OwningPtr<Sema> TheSema; variable
416 bool hasSema() const { return TheSema != 0; } in hasSema()
419 assert(TheSema && "Compiler instance has no Sema object!"); in getSema()
420 return *TheSema; in getSema()
423 Sema *takeSema() { return TheSema.take(); } in takeSema()
DASTUnit.h90 OwningPtr<Sema> TheSema; variable
459 bool hasSema() const { return TheSema; } in hasSema()
461 assert(TheSema && "ASTUnit does not have a Sema object!"); in getSema()
462 return *TheSema; in getSema()
/external/clang/lib/Frontend/
DASTUnit.cpp346 if (!TheSema) in CacheCodeCompletionResults()
360 TheSema->GatherGlobalCodeCompletions(*CachedCompletionAllocator, in CacheCodeCompletionResults()
371 CachedResult.Completion = Results[I].CreateCodeCompletionString(*TheSema, in CacheCodeCompletionResults()
409 if (TheSema->Context.getLangOpts().CPlusPlus && in CacheCodeCompletionResults()
437 = Results[I].CreateCodeCompletionString(*TheSema, in CacheCodeCompletionResults()
460 = Results[I].CreateCodeCompletionString(*TheSema, in CacheCodeCompletionResults()
832 AST->TheSema.reset(new Sema(PP, Context, *AST->Consumer)); in LoadFromASTFile()
833 AST->TheSema->Initialize(); in LoadFromASTFile()
834 ReaderPtr->InitializeSema(*AST->TheSema); in LoadFromASTFile()
1116 TheSema.reset(); in Parse()
[all …]
DCompilerInstance.cpp90 TheSema.reset(S); in setSema()
415 TheSema.reset(new Sema(getPreprocessor(), getASTContext(), getASTConsumer(), in createSema()