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

/external/clang/include/clang/Frontend/
H A DCompilerInstance.h100 std::unique_ptr<Sema> TheSema; member in class:clang::CompilerInstance
455 bool hasSema() const { return (bool)TheSema; }
458 assert(TheSema && "Compiler instance has no Sema object!");
459 return *TheSema;
462 Sema *takeSema() { return TheSema.release(); }
463 void resetAndLeakSema() { BuryPointer(TheSema.release()); }
H A DASTUnit.h110 std::unique_ptr<Sema> TheSema; member in class:clang::ASTUnit
499 bool hasSema() const { return (bool)TheSema; }
501 assert(TheSema && "ASTUnit does not have a Sema object!");
502 return *TheSema;
/external/clang/lib/Frontend/
H A DASTUnit.cpp341 if (!TheSema)
355 TheSema->GatherGlobalCodeCompletions(*CachedCompletionAllocator,
366 CachedResult.Completion = Results[I].CreateCodeCompletionString(*TheSema,
404 if (TheSema->Context.getLangOpts().CPlusPlus &&
432 = Results[I].CreateCodeCompletionString(*TheSema,
455 = Results[I].CreateCodeCompletionString(*TheSema,
764 AST->TheSema.reset(new Sema(PP, Context, *AST->Consumer));
765 AST->TheSema->Initialize();
766 AST->Reader->InitializeSema(*AST->TheSema);
1093 TheSema
[all...]
H A DCompilerInstance.cpp101 TheSema.reset(S);
511 TheSema.reset(new Sema(getPreprocessor(), getASTContext(), getASTConsumer(),

Completed in 277 milliseconds