Home
last modified time | relevance | path

Searched refs:getSema (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/Sema/
DTreeTransform.h137 Sema &getSema() const { return SemaRef; } in getSema() function
941 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc, in RebuildPackExpansionType()
995 return getSema().Context.getSubstTemplateTemplateParmPack(Param, ArgPack); in RebuildTemplateName()
1006 return getSema().ActOnCompoundStmt(LBraceLoc, RBraceLoc, Statements, in RebuildCompoundStmt()
1019 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS, in RebuildCaseStmt()
1028 getSema().ActOnCaseStmtBody(S, Body); in RebuildCaseStmtBody()
1039 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
1069 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
1078 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Cond, in RebuildSwitchStmtStart()
1088 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
[all …]
DSemaTemplateInstantiate.cpp713 return getSema().CheckParameterPacksForExpansion(EllipsisLoc, in TryExpandParameterPacks()
834 getSema().CallsUndergoingInstantiation.push_back(CE); in TransformCallExpr()
837 getSema().CallsUndergoingInstantiation.pop_back(); in TransformCallExpr()
868 getSema().MarkDeclarationsReferencedInType(Loc, T); in AlreadyTransformed()
892 assert(getSema().ArgumentPackSubstitutionIndex >= 0); in TransformDecl()
893 assert(getSema().ArgumentPackSubstitutionIndex < (int)Arg.pack_size()); in TransformDecl()
894 Arg = Arg.pack_begin()[getSema().ArgumentPackSubstitutionIndex]; in TransformDecl()
911 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs); in TransformDefinition()
915 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition()
926 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
[all …]
DSemaType.cpp143 Sema &getSema() const { in getSema() function in __anon75bdc9bf0111::TypeProcessingState
192 diagnoseBadTypeAttribute(getSema(), **i, type); in diagnoseIgnoredTypeAttrs()
324 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeObjCPointerTypeAttr()
416 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeFunctionTypeAttr()
509 if (!state.getSema().getLangOpts().ObjCAutoRefCount) in distributeTypeAttrsFromDeclarator()
585 Sema &S = state.getSema(); in ConvertDeclSpecToType()
1645 Sema &S = state.getSema(); in inferARCWriteback()
1787 Sema &SemaRef = state.getSema(); in GetDeclSpecTypeForDeclarator()
2150 Sema &S = state.getSema(); in GetFullTypeForDeclarator()
2860 Sema &S = state.getSema(); in transferARCOwnershipToDeclaratorChunk()
[all …]
DSemaLookup.cpp710 TemplateDeductionInfo Info(R.getSema().Context, R.getNameLoc()); in LookupDirect()
725 = R.getSema().Context.getFunctionType(R.getLookupName().getCXXNameType(), in LookupDirect()
730 if (R.getSema().DeduceTemplateArguments(ConvTemplate, 0, ExpectedType, in LookupDirect()
2849 Result.getSema().ForceDeclarationOfImplicitMembers(Class); in LookupVisibleDecls()
3013 LookupResult IvarResult(Result.getSema(), Result.getLookupName(), in LookupVisibleDecls()
3043 Entity = Result.getSema().Context.getTranslationUnitDecl(); in LookupVisibleDecls()
DSemaCodeComplete.cpp254 Sema &getSema() const { return SemaRef; } in getSema() function in __anone17ed4b10111::ResultBuilder
1207 Accessible = Results.getSema().IsSimplyAccessible(ND, Ctx); in FoundDecl()
3404 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCProperties()
4439 if (Results.getSema().getLangOpts().CPlusPlus || in AddObjCExpressionResults()
4440 Results.getSema().getLangOpts().ConstStrings) in AddObjCExpressionResults()
5267 ASTContext &Context = Results.getSema().Context; in getPreferredArgumentTypeForMessageSend()
6139 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCKeyValueCompletions()
DSemaDecl.cpp503 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && in isResultTypeOrTemplate()
/external/clang/include/clang/Frontend/
DCompilerInstance.h401 Sema &getSema() const { in getSema() function
DASTUnit.h459 Sema &getSema() const { in getSema() function
/external/clang/lib/ARCMigrate/
DARCMT.cpp340 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, ARCMTMacroLocs); in checkForManualIssues()
638 Unit->getSema(), TA, ARCMTMacroLocs); in applyTransform()
/external/clang/lib/Frontend/
DChainedIncludesSource.cpp147 ParseAST(Clang->getSema()); in create()
DFrontendAction.cpp421 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
DCompilerInstance.cpp954 ModuleManager->InitializeSema(getSema()); in loadModule()
DASTUnit.cpp2498 Writer.WriteAST(getSema(), 0, std::string(), 0, "", hasErrors); in serialize()
/external/clang/include/clang/Sema/
DLookup.h522 Sema &getSema() const { return SemaRef; } in getSema() function
DTemplate.h258 const Sema &getSema() const { return SemaRef; } in getSema() function
/external/clang/include/clang/Serialization/
DASTReader.h1490 Sema *getSema() { return SemaObj; } in getSema() function
/external/clang/lib/Serialization/
DASTReader.cpp5435 if (!getSema()) in ReadMethodPool()
5438 Sema &S = *getSema(); in ReadMethodPool()