Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DTreeTransform.h138 Sema &getSema() const { return SemaRef; } in getSema() function
1048 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc, in RebuildPackExpansionType()
1105 return getSema().Context.getSubstTemplateTemplateParmPack(Param, ArgPack); in RebuildTemplateName()
1116 return getSema().ActOnCompoundStmt(LBraceLoc, RBraceLoc, Statements, in RebuildCompoundStmt()
1129 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS, in RebuildCaseStmt()
1138 getSema().ActOnCaseStmtBody(S, Body); in RebuildCaseStmtBody()
1149 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
1179 return getSema().ActOnIfStmt(IfLoc, IsConstexpr, Init, Cond, Then, in RebuildIfStmt()
1189 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Init, Cond); in RebuildSwitchStmtStart()
1198 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
[all …]
DSemaTemplateInstantiate.cpp662 return getSema().CheckParameterPacksForExpansion(EllipsisLoc, in TryExpandParameterPacks()
832 TemplateDeclInstantiator DeclInstantiator(getSema(), in TransformTemplateParameterList()
850 getSema().MarkDeclarationsReferencedInType(Loc, T); in AlreadyTransformed()
883 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg); in TransformDecl()
900 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs); in TransformDefinition()
904 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition()
915 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
925 if (getSema().ArgumentPackSubstitutionIndex == -1) in TransformFirstQualifierInScope()
928 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg); in TransformFirstQualifierInScope()
939 getSema().Diag(Loc, diag::err_nested_name_spec_non_tag) << T; in TransformFirstQualifierInScope()
[all …]
DSemaType.cpp171 Sema &getSema() const { in getSema() function in __anon0c34bf780111::TypeProcessingState
221 diagnoseBadTypeAttribute(getSema(), *Attr, type); in diagnoseIgnoredTypeAttrs()
445 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeObjCPointerTypeAttr()
539 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeFunctionTypeAttr()
641 if (!state.getSema().getLangOpts().ObjCAutoRefCount) in distributeTypeAttrsFromDeclarator()
1248 Sema &S = state.getSema(); in ConvertDeclSpecToType()
2559 Sema &S = state.getSema(); in inferARCWriteback()
2777 Sema &SemaRef = state.getSema(); in GetDeclSpecTypeForDeclarator()
3460 Sema &S = state.getSema(); in checkNullabilityConsistency()
3494 Sema &S = state.getSema(); in GetFullTypeForDeclarator()
[all …]
DSemaLookup.cpp296 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, in configure()
307 getSema().DeclareGlobalNewDelete(); in configure()
318 if (!getSema().Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in configure()
524 QualType T = getSema().Context.getTypeDeclType(TD); in resolveKind()
526 std::make_pair(getSema().Context.getCanonicalType(T), I)); in resolveKind()
546 if (isPreferredLookupResult(getSema(), getLookupKind(), Decls[I], in resolveKind()
573 if (getSema().isEquivalentInternalLinkageDeclaration(HasNonFunction, in resolveKind()
611 getSema().diagnoseEquivalentInternalLinkageDeclarations( in resolveKind()
903 = R.getSema().Context.getFunctionType(R.getLookupName().getCXXNameType(), in LookupDirect()
908 if (R.getSema().DeduceTemplateArguments(ConvTemplate, nullptr, ExpectedType, in LookupDirect()
[all …]
DSemaCodeComplete.cpp258 Sema &getSema() const { return SemaRef; } in getSema() function in __anond408736a0111::ResultBuilder
1273 Accessible = Results.getSema().IsSimplyAccessible(ND, Ctx); in FoundDecl()
3597 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCProperties()
4687 if (Results.getSema().getLangOpts().Modules) { in AddObjCTopLevelResults()
4720 if (Results.getSema().getLangOpts().CPlusPlus || in AddObjCExpressionResults()
4721 Results.getSema().getLangOpts().ConstStrings) in AddObjCExpressionResults()
5556 ASTContext &Context = Results.getSema().Context; in getPreferredArgumentTypeForMessageSend()
6424 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCKeyValueCompletions()
DSemaExprMember.cpp673 QueryState Q = {R.getSema(), R.getLookupNameInfo(), R.getLookupKind(), in LookupMemberExprInRecord()
/external/clang/include/clang/Sema/
DLookup.h349 if (isVisible(getSema(), D) || isHiddenDeclarationVisible(D)) in getAcceptableDecl()
595 Sema &getSema() const { return *SemaPtr; } in getSema() function
679 getSema().DiagnoseAmbiguousLookup(*this); in diagnose()
680 else if (isClassLookup() && getSema().getLangOpts().AccessControl) in diagnose()
681 getSema().CheckLookupAccess(*this); in diagnose()
DTemplate.h258 const Sema &getSema() const { return SemaRef; } in getSema() function
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp207 Sources[I]->InitializeSema(CI.getSema()); in ExecuteAction()
208 CI.getSema().addExternalSource(Sources[I]); in ExecuteAction()
210 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
/external/clang/unittests/CodeGen/
DBufferSourceTest.cpp77 clang::ParseAST(compiler.getSema(), false, false); in TEST()
/external/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp70 clang::Sema &sema = Instance.getSema(); in HandleTranslationUnit()
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp62 CI.getSema().ActOnEndOfTranslationUnit(); in HandleTranslationUnit()
/external/clang/lib/ARCMigrate/
DARCMT.cpp317 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, capturedDiags, in checkForManualIssues()
582 Unit->getSema(), TA, capturedDiags, ARCMTMacroLocs); in applyTransform()
/external/clang/lib/Frontend/
DChainedIncludesSource.cpp202 ParseAST(Clang->getSema()); in createChainedIncludesSource()
DFrontendAction.cpp556 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
DASTUnit.cpp2517 getSema(), hasErrors, OS); in serialize()
2522 return serializeUnit(Writer, Buffer, getSema(), hasErrors, OS); in serialize()
DCompilerInstance.cpp1323 ModuleManager->InitializeSema(getSema()); in createModuleManager()
/external/clang/include/clang/Frontend/
DCompilerInstance.h493 Sema &getSema() const { in getSema() function
DASTUnit.h515 Sema &getSema() const { in getSema() function
/external/v8/tools/clang/blink_gc_plugin/
DRecordInfo.cpp644 clang::Sema& sema = cache_->instance().getSema(); in CreateEdge()
DBlinkGCPluginConsumer.cpp135 clang::Sema& sema = instance_.getSema(); in ParseFunctionTemplates()
/external/v8/tools/clang/plugins/
DFindBadConstructsConsumer.cpp968 clang::Sema& sema = instance().getSema(); in ParseFunctionTemplates()
/external/clang/include/clang/Serialization/
DASTReader.h2107 Sema *getSema() { return SemaObj; } in getSema() function
/external/clang/lib/Serialization/
DASTReader.cpp7198 if (!getSema()) in ReadMethodPool()
7201 Sema &S = *getSema(); in ReadMethodPool()
/external/clang/docs/
DInternalsManual.rst2077 function, which will in turn call ``getSema().BuildXXX`` to perform

12