Searched refs:getSema (Results 1 - 22 of 22) sorted by relevance

/external/clang/lib/Sema/
H A DTreeTransform.h138 Sema &getSema() const { return SemaRef; } function in class:clang::TreeTransform
1039 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc,
1093 return getSema().Context.getSubstTemplateTemplateParmPack(Param, ArgPack);
1104 return getSema().ActOnCompoundStmt(LBraceLoc, RBraceLoc, Statements,
1117 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS,
1126 getSema().ActOnCaseStmtBody(S, Body);
1137 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt,
1167 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else);
1176 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Cond,
1186 return getSema()
[all...]
H A DSemaTemplateInstantiate.cpp665 return getSema().CheckParameterPacksForExpansion(EllipsisLoc,
830 TemplateDeclInstantiator DeclInstantiator(getSema(),
848 getSema().MarkDeclarationsReferencedInType(Loc, T);
881 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg);
898 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs);
902 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst);
913 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD));
923 if (getSema().ArgumentPackSubstitutionIndex == -1)
926 Arg = getPackSubstitutedTemplateArgument(getSema(), Ar
[all...]
H A DSemaType.cpp164 Sema &getSema() const { function in class:__anon1407::TypeProcessingState
214 diagnoseBadTypeAttribute(getSema(), *Attr, type);
435 diagnoseBadTypeAttribute(state.getSema(), attr, type);
527 diagnoseBadTypeAttribute(state.getSema(), attr, type);
629 if (!state.getSema().getLangOpts().ObjCAutoRefCount)
1179 Sema &S = state.getSema();
2354 Sema &S = state.getSema();
2566 Sema &SemaRef = state.getSema();
3223 Sema &S = state.getSema();
3257 Sema &S = state.getSema();
[all...]
H A DSemaLookup.cpp293 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus,
304 getSema().DeclareGlobalNewDelete();
315 if (!getSema().Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID))
513 QualType T = getSema().Context.getTypeDeclType(TD);
515 std::make_pair(getSema().Context.getCanonicalType(T), I));
535 if (isPreferredLookupResult(getSema(), getLookupKind(), Decls[I],
562 if (getSema().isEquivalentInternalLinkageDeclaration(HasNonFunction,
600 getSema().diagnoseEquivalentInternalLinkageDeclarations(
888 = R.getSema().Context.getFunctionType(R.getLookupName().getCXXNameType(),
893 if (R.getSema()
[all...]
H A DSemaCodeComplete.cpp259 Sema &getSema() const { return SemaRef; } function in class:__anon1323::ResultBuilder
1260 Accessible = Results.getSema().IsSimplyAccessible(ND, Ctx);
3584 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema());
4667 if (Results.getSema().getLangOpts().Modules) {
4700 if (Results.getSema().getLangOpts().CPlusPlus ||
4701 Results.getSema().getLangOpts().ConstStrings)
5536 ASTContext &Context = Results.getSema().Context;
6404 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema());
H A DSemaExprMember.cpp659 QueryState Q = {R.getSema(), R.getLookupNameInfo(), R.getLookupKind(),
H A DSemaDecl.cpp652 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus &&
/external/clang/unittests/CodeGen/
H A DBufferSourceTest.cpp76 clang::ParseAST(compiler.getSema(), false, false);
/external/clang/unittests/Sema/
H A DExternalSemaSourceTest.cpp161 Sources[I]->InitializeSema(CI.getSema());
162 CI.getSema().addExternalSource(Sources[I]);
164 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats,
/external/clang/include/clang/Sema/
H A DLookup.h306 if (isVisible(getSema(), D) || isHiddenDeclarationVisible(D))
551 Sema &getSema() const { return *SemaPtr; } function in class:clang::LookupResult
635 getSema().DiagnoseAmbiguousLookup(*this);
636 else if (isClassLookup() && getSema().getLangOpts().AccessControl)
637 getSema().CheckLookupAccess(*this);
H A DTemplate.h258 const Sema &getSema() const { return SemaRef; }
/external/clang/examples/PrintFunctionNames/
H A DPrintFunctionNames.cpp70 clang::Sema &sema = Instance.getSema();
/external/clang/unittests/Frontend/
H A DFrontendActionTest.cpp62 CI.getSema().ActOnEndOfTranslationUnit();
/external/clang/lib/ARCMigrate/
H A DARCMT.cpp316 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, capturedDiags,
581 Unit->getSema(), TA, capturedDiags, ARCMTMacroLocs);
/external/clang/lib/Frontend/
H A DChainedIncludesSource.cpp202 ParseAST(Clang->getSema());
H A DFrontendAction.cpp538 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats,
H A DASTUnit.cpp2507 getSema(), hasErrors, OS);
2512 return serializeUnit(Writer, Buffer, getSema(), hasErrors, OS);
H A DCompilerInstance.cpp1287 ModuleManager->InitializeSema(getSema());
/external/clang/include/clang/Frontend/
H A DCompilerInstance.h493 Sema &getSema() const { function in class:clang::CompilerInstance
H A DASTUnit.h515 Sema &getSema() const { function in class:clang::ASTUnit
/external/clang/include/clang/Serialization/
H A DASTReader.h2097 Sema *getSema() { return SemaObj; } function in class:clang::ASTReader
/external/clang/lib/Serialization/
H A DASTReader.cpp7150 if (!getSema())
7153 Sema &S = *getSema();

Completed in 561 milliseconds