Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DTreeTransform.h137 Sema &getSema() const { return SemaRef; } in getSema() function
1018 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc, in RebuildPackExpansionType()
1072 return getSema().Context.getSubstTemplateTemplateParmPack(Param, ArgPack); in RebuildTemplateName()
1083 return getSema().ActOnCompoundStmt(LBraceLoc, RBraceLoc, Statements, in RebuildCompoundStmt()
1096 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS, in RebuildCaseStmt()
1105 getSema().ActOnCaseStmtBody(S, Body); in RebuildCaseStmtBody()
1116 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
1146 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
1155 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Cond, in RebuildSwitchStmtStart()
1165 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
[all …]
DSemaTemplateInstantiate.cpp665 return getSema().CheckParameterPacksForExpansion(EllipsisLoc, in TryExpandParameterPacks()
807 getSema().CallsUndergoingInstantiation.push_back(CE); in TransformCallExpr()
810 getSema().CallsUndergoingInstantiation.pop_back(); in TransformCallExpr()
846 TemplateDeclInstantiator DeclInstantiator(getSema(), in TransformTemplateParameterList()
864 getSema().MarkDeclarationsReferencedInType(Loc, T); in AlreadyTransformed()
897 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg); in TransformDecl()
914 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs); in TransformDefinition()
918 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition()
929 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
939 if (getSema().ArgumentPackSubstitutionIndex == -1) in TransformFirstQualifierInScope()
[all …]
DSemaType.cpp157 Sema &getSema() const { in getSema() function in __anon2e7915990111::TypeProcessingState
209 diagnoseBadTypeAttribute(getSema(), **i, type); in diagnoseIgnoredTypeAttrs()
417 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeObjCPointerTypeAttr()
509 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeFunctionTypeAttr()
611 if (!state.getSema().getLangOpts().ObjCAutoRefCount) in distributeTypeAttrsFromDeclarator()
701 Sema &S = state.getSema(); in ConvertDeclSpecToType()
1919 Sema &S = state.getSema(); in inferARCWriteback()
2131 Sema &SemaRef = state.getSema(); in GetDeclSpecTypeForDeclarator()
2530 Sema &S = state.getSema(); in GetFullTypeForDeclarator()
3339 Sema &S = state.getSema(); in transferARCOwnershipToDeclaratorChunk()
[all …]
DSemaLookup.cpp289 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, in configure()
300 getSema().DeclareGlobalNewDelete(); in configure()
311 if (!getSema().Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in configure()
404 QualType T = getSema().Context.getTypeDeclType(TD); in resolveKind()
405 if (!UniqueTypes.insert(getSema().Context.getCanonicalType(T)).second) { in resolveKind()
745 = R.getSema().Context.getFunctionType(R.getLookupName().getCXXNameType(), in LookupDirect()
750 if (R.getSema().DeduceTemplateArguments(ConvTemplate, nullptr, ExpectedType, in LookupDirect()
1288 return findAcceptableDecl(getSema(), D); in getAcceptableDeclSlow()
3041 !Result.getSema().getLangOpts().CPlusPlus) { in LookupVisibleDecls()
3042 auto &S = Result.getSema(); in LookupVisibleDecls()
[all …]
DSemaCodeComplete.cpp259 Sema &getSema() const { return SemaRef; } in getSema() function in __anoncc4d5a8b0111::ResultBuilder
1262 Accessible = Results.getSema().IsSimplyAccessible(ND, Ctx); in FoundDecl()
3523 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCProperties()
4601 if (Results.getSema().getLangOpts().Modules) { in AddObjCTopLevelResults()
4634 if (Results.getSema().getLangOpts().CPlusPlus || in AddObjCExpressionResults()
4635 Results.getSema().getLangOpts().ConstStrings) in AddObjCExpressionResults()
5458 ASTContext &Context = Results.getSema().Context; in getPreferredArgumentTypeForMessageSend()
6324 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCKeyValueCompletions()
DSemaDecl.cpp653 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && in isResultTypeOrTemplate()
/external/clang/include/clang/Sema/
DLookup.h305 if (isHiddenDeclarationVisible() || isVisible(getSema(), D)) in getAcceptableDecl()
551 Sema &getSema() const { return *SemaPtr; } in getSema() function
630 getSema().DiagnoseAmbiguousLookup(*this); in diagnose()
631 else if (isClassLookup() && getSema().getLangOpts().AccessControl) in diagnose()
632 getSema().CheckLookupAccess(*this); in diagnose()
DTemplate.h258 const Sema &getSema() const { return SemaRef; } in getSema() function
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp161 Sources[I]->InitializeSema(CI.getSema()); in ExecuteAction()
162 CI.getSema().addExternalSource(Sources[I]); in ExecuteAction()
164 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
/external/clang/unittests/CodeGen/
DBufferSourceTest.cpp74 clang::ParseAST(compiler.getSema(), false, false); in TEST()
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp62 CI.getSema().ActOnEndOfTranslationUnit(); in HandleTranslationUnit()
/external/clang/lib/ARCMigrate/
DARCMT.cpp311 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, capturedDiags, in checkForManualIssues()
573 Unit->getSema(), TA, capturedDiags, ARCMTMacroLocs); in applyTransform()
/external/clang/lib/Frontend/
DChainedIncludesSource.cpp199 ParseAST(Clang->getSema()); in createChainedIncludesSource()
DFrontendAction.cpp537 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
DASTUnit.cpp2477 getSema(), hasErrors, OS); in serialize()
2482 return serializeUnit(Writer, Buffer, getSema(), hasErrors, OS); in serialize()
DCompilerInstance.cpp1277 ModuleManager->InitializeSema(getSema()); in createModuleManager()
/external/clang/include/clang/Frontend/
DCompilerInstance.h476 Sema &getSema() const { in getSema() function
DASTUnit.h511 Sema &getSema() const { in getSema() function
/external/clang/include/clang/Serialization/
DASTReader.h2117 Sema *getSema() { return SemaObj; } in getSema() function
/external/clang/lib/Serialization/
DASTReader.cpp7288 if (!getSema()) in ReadMethodPool()
7291 Sema &S = *getSema(); in ReadMethodPool()
/external/clang/docs/
DInternalsManual.rst1965 function, which will in turn call ``getSema().BuildXXX`` to perform