Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDTreeTransform.h137 Sema &getSema() const { return SemaRef; } in getSema() function
1034 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc, in RebuildPackExpansionType()
1088 return getSema().Context.getSubstTemplateTemplateParmPack(Param, ArgPack); in RebuildTemplateName()
1099 return getSema().ActOnCompoundStmt(LBraceLoc, RBraceLoc, Statements, in RebuildCompoundStmt()
1112 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS, in RebuildCaseStmt()
1121 getSema().ActOnCaseStmtBody(S, Body); in RebuildCaseStmtBody()
1132 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
1162 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
1171 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Cond, in RebuildSwitchStmtStart()
1181 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
[all …]
HDSemaTemplateInstantiate.cpp665 return getSema().CheckParameterPacksForExpansion(EllipsisLoc, in TryExpandParameterPacks()
821 getSema().CallsUndergoingInstantiation.push_back(CE); in TransformCallExpr()
824 getSema().CallsUndergoingInstantiation.pop_back(); in TransformCallExpr()
838 TemplateDeclInstantiator DeclInstantiator(getSema(), in TransformTemplateParameterList()
856 getSema().MarkDeclarationsReferencedInType(Loc, T); in AlreadyTransformed()
889 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg); in TransformDecl()
906 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs); in TransformDefinition()
910 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition()
921 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
931 if (getSema().ArgumentPackSubstitutionIndex == -1) in TransformFirstQualifierInScope()
[all …]
HDSemaType.cpp165 Sema &getSema() const { in getSema() function in __anon1d61f5900111::TypeProcessingState
217 diagnoseBadTypeAttribute(getSema(), **i, type); in diagnoseIgnoredTypeAttrs()
438 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeObjCPointerTypeAttr()
530 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeFunctionTypeAttr()
632 if (!state.getSema().getLangOpts().ObjCAutoRefCount) in distributeTypeAttrsFromDeclarator()
1167 Sema &S = state.getSema(); in ConvertDeclSpecToType()
2331 Sema &S = state.getSema(); in inferARCWriteback()
2543 Sema &SemaRef = state.getSema(); in GetDeclSpecTypeForDeclarator()
3187 Sema &S = state.getSema(); in checkNullabilityConsistency()
3221 Sema &S = state.getSema(); in GetFullTypeForDeclarator()
[all …]
HDSemaLookup.cpp292 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, in configure()
303 getSema().DeclareGlobalNewDelete(); in configure()
314 if (!getSema().Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in configure()
407 QualType T = getSema().Context.getTypeDeclType(TD); in resolveKind()
408 if (!UniqueTypes.insert(getSema().Context.getCanonicalType(T)).second) { in resolveKind()
748 = R.getSema().Context.getFunctionType(R.getLookupName().getCXXNameType(), in LookupDirect()
753 if (R.getSema().DeduceTemplateArguments(ConvTemplate, nullptr, ExpectedType, in LookupDirect()
1430 return findAcceptableDecl(getSema(), D); in getAcceptableDeclSlow()
3186 !Result.getSema().getLangOpts().CPlusPlus) { in LookupVisibleDecls()
3187 auto &S = Result.getSema(); in LookupVisibleDecls()
[all …]
HDSemaCodeComplete.cpp259 Sema &getSema() const { return SemaRef; } in getSema() function in __anonedb641820111::ResultBuilder
1260 Accessible = Results.getSema().IsSimplyAccessible(ND, Ctx); in FoundDecl()
3583 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCProperties()
4666 if (Results.getSema().getLangOpts().Modules) { in AddObjCTopLevelResults()
4699 if (Results.getSema().getLangOpts().CPlusPlus || in AddObjCExpressionResults()
4700 Results.getSema().getLangOpts().ConstStrings) in AddObjCExpressionResults()
5535 ASTContext &Context = Results.getSema().Context; in getPreferredArgumentTypeForMessageSend()
6403 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCKeyValueCompletions()
HDSemaDecl.cpp652 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && in isResultTypeOrTemplate()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDLookup.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()
HDTemplate.h258 const Sema &getSema() const { return SemaRef; } in getSema() function
/NextBSD/contrib/llvm/tools/lldb/source/Expression/
HDClangModulesDeclVendor.cpp384 clang::LookupResult lookup_result(m_compiler_instance->getSema(), in FindDecls()
389 …m_compiler_instance->getSema().LookupName(lookup_result, m_compiler_instance->getSema().getScopeFo… in FindDecls()
721 …:Parser> parser(new clang::Parser(instance->getPreprocessor(), instance->getSema(), skipFunctionBo… in Create()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDARCMT.cpp312 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, capturedDiags, in checkForManualIssues()
577 Unit->getSema(), TA, capturedDiags, ARCMTMacroLocs); in applyTransform()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDChainedIncludesSource.cpp199 ParseAST(Clang->getSema()); in createChainedIncludesSource()
HDFrontendAction.cpp536 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
HDASTUnit.cpp2503 getSema(), hasErrors, OS); in serialize()
2508 return serializeUnit(Writer, Buffer, getSema(), hasErrors, OS); in serialize()
HDCompilerInstance.cpp1262 ModuleManager->InitializeSema(getSema()); in createModuleManager()
/NextBSD/contrib/llvm/tools/clang/include/clang/Frontend/
HDCompilerInstance.h488 Sema &getSema() const { in getSema() function
HDASTUnit.h515 Sema &getSema() const { in getSema() function
/NextBSD/contrib/llvm/tools/clang/include/clang/Serialization/
HDASTReader.h2066 Sema *getSema() { return SemaObj; } in getSema() function
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReader.cpp7013 if (!getSema()) in ReadMethodPool()
7016 Sema &S = *getSema(); in ReadMethodPool()