Home
last modified time | relevance | path

Searched refs:SemaRef (Results 1 – 25 of 71) sorted by relevance

123

/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp45 static bool SubstQualifier(Sema &SemaRef, const DeclT *OldDecl, DeclT *NewDecl, in SubstQualifier() argument
54 SemaRef, in SubstQualifier()
60 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), in SubstQualifier()
72 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
77 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
787 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl()
801 = NamespaceAliasDecl::Create(SemaRef.Context, Owner, in VisitNamespaceAliasDecl()
818 DI = SemaRef.SubstType(DI, TemplateArgs, in InstantiateTypedefNameDecl()
822 DI = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef.Context.IntTy); in InstantiateTypedefNameDecl()
825 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType()); in InstantiateTypedefNameDecl()
[all …]
DSemaTemplateInstantiate.cpp236 Sema &SemaRef, CodeSynthesisContext::SynthesisKind Kind, in InstantiatingTemplate() argument
240 : SemaRef(SemaRef) { in InstantiatingTemplate()
244 if (SemaRef.Diags.hasFatalErrorOccurred() && in InstantiatingTemplate()
245 SemaRef.hasUncompilableErrorOccurred()) { in InstantiatingTemplate()
260 SemaRef.pushCodeSynthesisContext(Inst); in InstantiatingTemplate()
263 !SemaRef.InstantiatingSpecializations in InstantiatingTemplate()
266 atTemplateBegin(SemaRef.TemplateInstCallbacks, SemaRef, Inst); in InstantiatingTemplate()
271 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, in InstantiatingTemplate() argument
273 : InstantiatingTemplate(SemaRef, in InstantiatingTemplate()
278 Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionDecl *Entity, in InstantiatingTemplate() argument
[all …]
DSemaOpenMP.cpp49 Sema &SemaRef, Expr *E,
211 Sema &SemaRef; member in __anon0bb9e2bb0111::DSAStackTy
314 explicit DSAStackTy(Sema &S) : SemaRef(S) {} in DSAStackTy()
444 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()
457 for (const FunctionScopeInfo *FSI : llvm::reverse(SemaRef.FunctionScopes)) { in popFunction()
653 SemaRef.Diag(CNew->getBeginLoc(), in hasDuplicateRequiresClause()
656 SemaRef.Diag(CPrev->getBeginLoc(), in hasDuplicateRequiresClause()
1394 static VarDecl *buildVarDecl(Sema &SemaRef, SourceLocation Loc, QualType Type, in buildVarDecl() argument
1397 DeclContext *DC = SemaRef.CurContext; in buildVarDecl()
1398 IdentifierInfo *II = &SemaRef.PP.getIdentifierTable().get(Name); in buildVarDecl()
[all …]
DSemaAvailability.cpp652 Sema &SemaRef; member in __anona6de94870411::DiagnoseUnguardedAvailability
663 DiagnoseUnguardedAvailability(Sema &SemaRef, Decl *Ctx) in DiagnoseUnguardedAvailability() argument
664 : SemaRef(SemaRef), Ctx(Ctx) { in DiagnoseUnguardedAvailability()
666 SemaRef.Context.getTargetInfo().getPlatformMinVersion()); in DiagnoseUnguardedAvailability()
727 SemaRef.Diag(E->getBeginLoc(), diag::warn_at_available_unchecked_use) in VisitObjCAvailabilityCheckExpr()
728 << (!SemaRef.getLangOpts().ObjC); in VisitObjCAvailabilityCheckExpr()
740 ShouldDiagnoseAvailabilityOfDecl(SemaRef, D, nullptr, ReceiverClass); in DiagnoseDeclAvailability()
748 getAttrForPlatform(SemaRef.getASTContext(), OffendingDecl); in DiagnoseDeclAvailability()
756 if (!ShouldDiagnoseAvailabilityInContext(SemaRef, Result, Introduced, Ctx, in DiagnoseDeclAvailability()
766 SemaRef.Context, in DiagnoseDeclAvailability()
[all …]
DSemaInit.cpp285 Sema &SemaRef; member in __anon421e39800111::InitListChecker
295 DummyExpr = new (SemaRef.Context) NoInitExpr(SemaRef.Context.VoidTy); in getDummyInit()
386 unsigned DiagID = SemaRef.getLangOpts().CPlusPlus in diagnoseInitOverride()
390 if (InOverloadResolution && SemaRef.getLangOpts().CPlusPlus) { in diagnoseInitOverride()
430 SemaRef.Diag(NewInitRange.getBegin(), DiagID) in diagnoseInitOverride()
432 SemaRef.Diag(OldInit->getBeginLoc(), diag::note_previous_initializer) in diagnoseInitOverride()
433 << (OldInit->HasSideEffects(SemaRef.Context) && FullyOverwritten) in diagnoseInitOverride()
494 InitListExpr DummyInitList(SemaRef.Context, Loc, None, Loc); in PerformEmptyInit()
500 bool EmptyInitList = SemaRef.getLangOpts().CPlusPlus11 && in PerformEmptyInit()
513 InitExpr = VerifyOnly ? &DummyInitList : new (SemaRef.Context) in PerformEmptyInit()
[all …]
DTreeTransform.h120 Sema &SemaRef;
129 TreeTransform(Sema &SemaRef) : SemaRef(SemaRef) { } in TreeTransform() argument
144 Sema &getSema() const { return SemaRef; } in getSema()
155 bool AlwaysRebuild() { return SemaRef.ArgumentPackSubstitutionIndex != -1; } in AlwaysRebuild()
630 return SemaRef.Context.getTrivialTypeSourceInfo(T, in InventTypeSourceInfo()
937 return SemaRef.Context.getTypeDeclType(Typedef); in RebuildTypedefType()
943 return SemaRef.Context.getMacroQualifiedType(T, MacroII); in RebuildMacroQualifiedType()
948 return SemaRef.Context.getTypeDeclType(Record); in RebuildRecordType()
953 return SemaRef.Context.getTypeDeclType(Enum); in RebuildEnumType()
987 return SemaRef.Context.getAutoType(Deduced, Keyword, in RebuildAutoType()
[all …]
DSemaExprMember.cpp32 static bool isProvablyNotDerivedFrom(Sema &SemaRef, CXXRecordDecl *Record, in isProvablyNotDerivedFrom() argument
88 static IMAKind ClassifyImplicitMemberAccess(Sema &SemaRef, in ClassifyImplicitMemberAccess() argument
92 DeclContext *DC = SemaRef.getFunctionLevelDeclContext(); in ClassifyImplicitMemberAccess()
94 bool isStaticContext = SemaRef.CXXThisTypeOverride.isNull() && in ClassifyImplicitMemberAccess()
134 switch (SemaRef.ExprEvalContexts.back().Context) { in ClassifyImplicitMemberAccess()
137 if (isField && SemaRef.getLangOpts().CPlusPlus11) in ClassifyImplicitMemberAccess()
187 if (isProvablyNotDerivedFrom(SemaRef, contextClass, Classes)) in ClassifyImplicitMemberAccess()
196 static void diagnoseInstanceReference(Sema &SemaRef, in diagnoseInstanceReference() argument
207 DeclContext *FunctionLevelDC = SemaRef.getFunctionLevelDeclContext(); in diagnoseInstanceReference()
217 SemaRef.Diag(Loc, diag::err_invalid_member_use_in_static_method) in diagnoseInstanceReference()
[all …]
DSemaLookup.cpp93 Sema &SemaRef; member in __anon3e52c2260111::UnqualUsingDirectiveSet
101 UnqualUsingDirectiveSet(Sema &SemaRef) : SemaRef(SemaRef) {} in UnqualUsingDirectiveSet() argument
120 if (SemaRef.isVisible(I)) in visitScopeChain()
160 if (SemaRef.isVisible(UD) && visited.insert(NS).second) { in addUsingDirectives()
1637 bool LookupResult::isVisibleSlow(Sema &SemaRef, NamedDecl *D) { in isVisibleSlow() argument
1641 Module *DeclModule = SemaRef.getOwningModule(D); in isVisibleSlow()
1645 if (SemaRef.isModuleVisible(DeclModule, D->isModulePrivate())) in isVisibleSlow()
1678 VisibleWithinParent = SemaRef.hasVisibleDefinition(cast<NamedDecl>(DC)); in isVisibleSlow()
1680 VisibleWithinParent = isVisible(SemaRef, cast<NamedDecl>(DC)); in isVisibleSlow()
1682 (isa<FunctionDecl>(DC) && !SemaRef.getLangOpts().CPlusPlus)) in isVisibleSlow()
[all …]
DSemaStmt.cpp569 Sema &SemaRef; member in __anon53e299540311::CommaVisitor
571 CommaVisitor(Sema &SemaRef) : Inherited(SemaRef.Context), SemaRef(SemaRef) {} in CommaVisitor() argument
574 SemaRef.DiagnoseCommaOperator(E->getLHS(), E->getExprLoc()); in VisitBinaryOperator()
2035 static bool FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, in FinishForRangeVarDecl() argument
2038 ExprResult Res = SemaRef.CorrectDelayedTyposInExpr(Init); in FinishForRangeVarDecl()
2050 SemaRef.DeduceAutoType(Decl->getTypeSourceInfo(), Init, InitType) == in FinishForRangeVarDecl()
2052 SemaRef.Diag(Loc, DiagID) << Init->getType(); in FinishForRangeVarDecl()
2062 if (SemaRef.getLangOpts().ObjCAutoRefCount && in FinishForRangeVarDecl()
2063 SemaRef.inferObjCARCLifetime(Decl)) in FinishForRangeVarDecl()
2066 SemaRef.AddInitializerToDecl(Decl, Init, /*DirectInit=*/false); in FinishForRangeVarDecl()
[all …]
DSemaCodeComplete.cpp153 Sema &SemaRef; member in __anon5739d2400111::ResultBuilder
208 explicit ResultBuilder(Sema &SemaRef, CodeCompletionAllocator &Allocator, in ResultBuilder() argument
212 : SemaRef(SemaRef), Allocator(Allocator), CCTUInfo(CCTUInfo), in ResultBuilder()
224 if (ObjCMethodDecl *Method = SemaRef.getCurMethodDecl()) in ResultBuilder()
241 return SemaRef.CodeCompleter && in includeCodePatterns()
242 SemaRef.CodeCompleter->includeCodePatterns(); in includeCodePatterns()
254 PreferredType = SemaRef.Context.getCanonicalType(T); in setPreferredType()
290 Sema &getSema() const { return SemaRef; } in getSema()
711 static bool shouldIgnoreDueToReservedName(const NamedDecl *ND, Sema &SemaRef) { in shouldIgnoreDueToReservedName() argument
724 SemaRef.SourceMgr.isInSystemHeader( in shouldIgnoreDueToReservedName()
[all …]
DCodeCompleteConsumer.cpp536 Sema &SemaRef, CodeCompletionContext Context, CodeCompletionResult *Results, in ProcessCodeCompleteResults() argument
544 StringRef Filter = SemaRef.getPreprocessor().getCodeCompletionFilter(); in ProcessCodeCompleteResults()
566 SemaRef, Context, getAllocator(), CCTUInfo, in ProcessCodeCompleteResults()
581 SemaRef, Context, getAllocator(), CCTUInfo, in ProcessCodeCompleteResults()
595 SourceManager &SM = SemaRef.SourceMgr; in ProcessCodeCompleteResults()
600 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, SemaRef.LangOpts); in ProcessCodeCompleteResults()
645 Sema &SemaRef, unsigned CurrentArg, OverloadCandidate *Candidates, in ProcessOverloadCandidates() argument
648 OpenParLoc.print(OS, SemaRef.getSourceManager()); in ProcessOverloadCandidates()
653 CurrentArg, SemaRef, getAllocator(), CCTUInfo, in ProcessOverloadCandidates()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp40 static bool SubstQualifier(Sema &SemaRef, const DeclT *OldDecl, DeclT *NewDecl, in SubstQualifier() argument
49 SemaRef, in SubstQualifier()
55 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), in SubstQualifier()
67 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
72 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
444 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl()
458 = NamespaceAliasDecl::Create(SemaRef.Context, Owner, in VisitNamespaceAliasDecl()
475 DI = SemaRef.SubstType(DI, TemplateArgs, in InstantiateTypedefNameDecl()
479 DI = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef.Context.IntTy); in InstantiateTypedefNameDecl()
482 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType()); in InstantiateTypedefNameDecl()
[all …]
DSemaOpenMP.cpp120 Sema &SemaRef; member in __anon756b9f4d0111::DSAStackTy
132 explicit DSAStackTy(Sema &S) : Stack(1), SemaRef(S) {} in DSAStackTy()
618 static VarDecl *buildVarDecl(Sema &SemaRef, SourceLocation Loc, QualType Type, in buildVarDecl() argument
620 DeclContext *DC = SemaRef.CurContext; in buildVarDecl()
621 IdentifierInfo *II = &SemaRef.PP.getIdentifierTable().get(Name); in buildVarDecl()
622 TypeSourceInfo *TInfo = SemaRef.Context.getTrivialTypeSourceInfo(Type, Loc); in buildVarDecl()
624 VarDecl::Create(SemaRef.Context, DC, Loc, Loc, II, Type, TInfo, SC_None); in buildVarDecl()
654 SemaRef.getLangOpts().OpenMPUseTLS && in getTopDSA()
655 SemaRef.getASTContext().getTargetInfo().isTLSSupported())) || in getTopDSA()
658 addDSA(D, buildDeclRefExpr(SemaRef, VD, D->getType().getNonReferenceType(), in getTopDSA()
[all …]
DSemaTemplateInstantiate.cpp205 Sema &SemaRef, ActiveTemplateInstantiation::InstantiationKind Kind, in InstantiatingTemplate() argument
209 : SemaRef(SemaRef), SavedInNonInstantiationSFINAEContext( in InstantiatingTemplate()
210 SemaRef.InNonInstantiationSFINAEContext) { in InstantiatingTemplate()
213 if (SemaRef.Diags.hasFatalErrorOccurred()) { in InstantiatingTemplate()
228 SemaRef.InNonInstantiationSFINAEContext = false; in InstantiatingTemplate()
229 SemaRef.ActiveTemplateInstantiations.push_back(Inst); in InstantiatingTemplate()
231 ++SemaRef.NonInstantiationEntries; in InstantiatingTemplate()
236 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, in InstantiatingTemplate() argument
238 : InstantiatingTemplate(SemaRef, in InstantiatingTemplate()
243 Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionDecl *Entity, in InstantiatingTemplate() argument
[all …]
DSemaInit.cpp238 Sema &SemaRef; member in __anonb0b3a9920111::InitListChecker
321 static ExprResult PerformEmptyInit(Sema &SemaRef,
376 ExprResult InitListChecker::PerformEmptyInit(Sema &SemaRef, in PerformEmptyInit() argument
385 InitListExpr DummyInitList(SemaRef.Context, Loc, None, Loc); in PerformEmptyInit()
391 bool EmptyInitList = SemaRef.getLangOpts().CPlusPlus11 && in PerformEmptyInit()
404 InitExpr = VerifyOnly ? &DummyInitList : new (SemaRef.Context) in PerformEmptyInit()
405 InitListExpr(SemaRef.Context, Loc, None, Loc); in PerformEmptyInit()
406 InitExpr->setType(SemaRef.Context.VoidTy); in PerformEmptyInit()
414 InitializationSequence InitSeq(SemaRef, Entity, Kind, SubInit); in PerformEmptyInit()
425 .BestViableFunction(SemaRef, Kind.getLocation(), Best); in PerformEmptyInit()
[all …]
DTreeTransform.h114 Sema &SemaRef;
123 TreeTransform(Sema &SemaRef) : SemaRef(SemaRef) { } in TreeTransform() argument
138 Sema &getSema() const { return SemaRef; } in getSema()
149 bool AlwaysRebuild() { return SemaRef.ArgumentPackSubstitutionIndex != -1; } in AlwaysRebuild()
570 return SemaRef.Context.getTrivialTypeSourceInfo(T, in InventTypeSourceInfo()
822 return SemaRef.Context.getTypeDeclType(Typedef); in RebuildTypedefType()
827 return SemaRef.Context.getTypeDeclType(Record); in RebuildRecordType()
832 return SemaRef.Context.getTypeDeclType(Enum); in RebuildEnumType()
864 return SemaRef.Context.getAutoType(Deduced, Keyword, in RebuildAutoType()
882 return SemaRef.Context.getParenType(InnerType); in RebuildParenType()
[all …]
DSemaExprMember.cpp33 static bool isProvablyNotDerivedFrom(Sema &SemaRef, CXXRecordDecl *Record, in isProvablyNotDerivedFrom() argument
89 static IMAKind ClassifyImplicitMemberAccess(Sema &SemaRef, in ClassifyImplicitMemberAccess() argument
93 DeclContext *DC = SemaRef.getFunctionLevelDeclContext(); in ClassifyImplicitMemberAccess()
95 bool isStaticContext = SemaRef.CXXThisTypeOverride.isNull() && in ClassifyImplicitMemberAccess()
135 switch (SemaRef.ExprEvalContexts.back().Context) { in ClassifyImplicitMemberAccess()
137 if (isField && SemaRef.getLangOpts().CPlusPlus11) in ClassifyImplicitMemberAccess()
187 if (isProvablyNotDerivedFrom(SemaRef, contextClass, Classes)) in ClassifyImplicitMemberAccess()
196 static void diagnoseInstanceReference(Sema &SemaRef, in diagnoseInstanceReference() argument
207 DeclContext *FunctionLevelDC = SemaRef.getFunctionLevelDeclContext(); in diagnoseInstanceReference()
217 SemaRef.Diag(Loc, diag::err_invalid_member_use_in_static_method) in diagnoseInstanceReference()
[all …]
DSemaStmt.cpp495 Sema &SemaRef; member in __anonc27809660211::CommaVisitor
497 CommaVisitor(Sema &SemaRef) : Inherited(SemaRef.Context), SemaRef(SemaRef) {} in CommaVisitor() argument
500 SemaRef.DiagnoseCommaOperator(E->getLHS(), E->getExprLoc()); in VisitBinaryOperator()
1852 static bool FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, in FinishForRangeVarDecl() argument
1855 ExprResult Res = SemaRef.CorrectDelayedTyposInExpr(Init); in FinishForRangeVarDecl()
1867 SemaRef.DeduceAutoType(Decl->getTypeSourceInfo(), Init, InitType) == in FinishForRangeVarDecl()
1869 SemaRef.Diag(Loc, DiagID) << Init->getType(); in FinishForRangeVarDecl()
1879 if (SemaRef.getLangOpts().ObjCAutoRefCount && in FinishForRangeVarDecl()
1880 SemaRef.inferObjCARCLifetime(Decl)) in FinishForRangeVarDecl()
1883 SemaRef.AddInitializerToDecl(Decl, Init, /*DirectInit=*/false, in FinishForRangeVarDecl()
[all …]
DSemaCodeComplete.cpp123 Sema &SemaRef; member in __anon2cff34520111::ResultBuilder
171 explicit ResultBuilder(Sema &SemaRef, CodeCompletionAllocator &Allocator, in ResultBuilder() argument
175 : SemaRef(SemaRef), Allocator(Allocator), CCTUInfo(CCTUInfo), in ResultBuilder()
189 if (ObjCMethodDecl *Method = SemaRef.getCurMethodDecl()) in ResultBuilder()
206 return SemaRef.CodeCompleter && in includeCodePatterns()
207 SemaRef.CodeCompleter->includeCodePatterns(); in includeCodePatterns()
221 PreferredType = SemaRef.Context.getCanonicalType(T); in setPreferredType()
258 Sema &getSema() const { return SemaRef; } in getSema()
497 static bool shouldIgnoreDueToReservedName(const NamedDecl *ND, Sema &SemaRef) { in shouldIgnoreDueToReservedName() argument
510 SemaRef.SourceMgr.isInSystemHeader( in shouldIgnoreDueToReservedName()
[all …]
DSemaLookup.cpp1521 bool LookupResult::isVisibleSlow(Sema &SemaRef, NamedDecl *D) { in isVisibleSlow() argument
1525 if (SemaRef.getLangOpts().ModulesLocalVisibility) { in isVisibleSlow()
1526 DeclModule = SemaRef.getOwningModule(D); in isVisibleSlow()
1537 (SemaRef.isModuleVisible(DeclModule) || in isVisibleSlow()
1538 SemaRef.hasVisibleMergedDefinition(D))) in isVisibleSlow()
1551 ? isVisible(SemaRef, cast<NamedDecl>(DC)) in isVisibleSlow()
1552 : SemaRef.hasVisibleDefinition(cast<NamedDecl>(DC))) { in isVisibleSlow()
1553 if (SemaRef.ActiveTemplateInstantiations.empty() && in isVisibleSlow()
1555 !SemaRef.getLangOpts().ModulesLocalVisibility) { in isVisibleSlow()
1566 llvm::DenseSet<Module*> &LookupModules = SemaRef.getLookupModules(); in isVisibleSlow()
[all …]
/external/clang/include/clang/Sema/
DTemplate.h186 Sema &SemaRef;
246 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false)
247 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef() argument
251 SemaRef.CurrentInstantiationScope = this; in SemaRef()
258 const Sema &getSema() const { return SemaRef; } in getSema()
268 SemaRef.CurrentInstantiationScope = Outer; in Exit()
279 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes()
282 new LocalInstantiationScope(SemaRef, CombineWithOuterScope); in cloneScopes()
308 SemaRef.CurrentInstantiationScope = oldScope; in cloneScopes()
374 Sema &SemaRef; variable
[all …]
DSemaInternal.h71 SourceLocation Loc, Sema &SemaRef, in MarkVarDeclODRUsed() argument
75 if (Var->hasDefinition(SemaRef.Context) == VarDecl::DeclarationOnly && in MarkVarDeclODRUsed()
78 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()]; in MarkVarDeclODRUsed()
83 SemaRef.tryCaptureVariable(Var, Loc, Sema::TryCapture_Implicit, in MarkVarDeclODRUsed()
89 Var->markUsed(SemaRef.Context); in MarkVarDeclODRUsed()
109 TypoCorrectionConsumer(Sema &SemaRef, in TypoCorrectionConsumer() argument
117 SavedTCIndex(0), SemaRef(SemaRef), S(S), in TypoCorrectionConsumer()
120 Result(SemaRef, TypoName, LookupKind), in TypoCorrectionConsumer()
121 Namespaces(SemaRef.Context, SemaRef.CurContext, SS), in TypoCorrectionConsumer()
214 ASTContext &getContext() const { return SemaRef.Context; } in getContext()
[all …]
/external/llvm-project/clang/include/clang/Sema/
DTemplate.h278 Sema &SemaRef;
333 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false)
334 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef() function
336 SemaRef.CurrentInstantiationScope = this; in SemaRef()
347 const Sema &getSema() const { return SemaRef; } in getSema()
357 SemaRef.CurrentInstantiationScope = Outer; in Exit()
368 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes()
371 new LocalInstantiationScope(SemaRef, CombineWithOuterScope); in cloneScopes()
397 SemaRef.CurrentInstantiationScope = oldScope; in cloneScopes()
466 Sema &SemaRef; variable
[all …]
DSemaInternal.h91 TypoCorrectionConsumer(Sema &SemaRef, in TypoCorrectionConsumer() argument
99 SavedTCIndex(0), SemaRef(SemaRef), S(S), in TypoCorrectionConsumer()
102 Result(SemaRef, TypoName, LookupKind), in TypoCorrectionConsumer()
103 Namespaces(SemaRef.Context, SemaRef.CurContext, SS), in TypoCorrectionConsumer()
201 ASTContext &getContext() const { return SemaRef.Context; } in getContext()
309 Sema &SemaRef; variable
/external/llvm-project/clang/include/clang/Serialization/
DASTWriter.h504 void WriteSelectors(Sema &SemaRef);
505 void WriteReferencedSelectorsPool(Sema &SemaRef);
511 void WriteOpenCLExtensions(Sema &SemaRef);
512 void WriteOpenCLExtensionTypes(Sema &SemaRef);
513 void WriteOpenCLExtensionDecls(Sema &SemaRef);
514 void WriteCUDAPragmas(Sema &SemaRef);
516 void WriteLateParsedTemplates(Sema &SemaRef);
517 void WriteOptimizePragmaOptions(Sema &SemaRef);
518 void WriteMSStructPragmaOptions(Sema &SemaRef);
519 void WriteMSPointersToMembersPragmaOptions(Sema &SemaRef);
[all …]

123