Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A 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()
818 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl()
832 = NamespaceAliasDecl::Create(SemaRef.Context, Owner, in VisitNamespaceAliasDecl()
849 DI = SemaRef.SubstType(DI, TemplateArgs, in InstantiateTypedefNameDecl()
853 DI = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef.Context.IntTy); in InstantiateTypedefNameDecl()
856 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType()); in InstantiateTypedefNameDecl()
[all …]
H A 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 …]
H A DSemaOpenMP.cpp50 Sema &SemaRef, Expr *E,
212 Sema &SemaRef; member in __anon5b04668f0111::DSAStackTy
315 explicit DSAStackTy(Sema &S) : SemaRef(S) {} in DSAStackTy()
445 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()
458 for (const FunctionScopeInfo *FSI : llvm::reverse(SemaRef.FunctionScopes)) { in popFunction()
654 SemaRef.Diag(CNew->getBeginLoc(), in hasDuplicateRequiresClause()
657 SemaRef.Diag(CPrev->getBeginLoc(), in hasDuplicateRequiresClause()
1395 static VarDecl *buildVarDecl(Sema &SemaRef, SourceLocation Loc, QualType Type, in buildVarDecl() argument
1398 DeclContext *DC = SemaRef.CurContext; in buildVarDecl()
1399 IdentifierInfo *II = &SemaRef.PP.getIdentifierTable().get(Name); in buildVarDecl()
[all …]
H A DSemaAvailability.cpp652 Sema &SemaRef; member in __anon91f9a75b0411::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 …]
H A DSemaInit.cpp286 Sema &SemaRef; member in __anon778db8540111::InitListChecker
296 DummyExpr = new (SemaRef.Context) NoInitExpr(SemaRef.Context.VoidTy); in getDummyInit()
388 unsigned DiagID = SemaRef.getLangOpts().CPlusPlus in diagnoseInitOverride()
392 if (InOverloadResolution && SemaRef.getLangOpts().CPlusPlus) { in diagnoseInitOverride()
432 SemaRef.Diag(NewInitRange.getBegin(), DiagID) in diagnoseInitOverride()
434 SemaRef.Diag(OldInit->getBeginLoc(), diag::note_previous_initializer) in diagnoseInitOverride()
435 << (OldInit->HasSideEffects(SemaRef.Context) && FullyOverwritten) in diagnoseInitOverride()
496 InitListExpr DummyInitList(SemaRef.Context, Loc, None, Loc); in PerformEmptyInit()
502 bool EmptyInitList = SemaRef.getLangOpts().CPlusPlus11 && in PerformEmptyInit()
515 InitExpr = VerifyOnly ? &DummyInitList : new (SemaRef.Context) in PerformEmptyInit()
[all …]
H A 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()
938 return SemaRef.Context.getTypeDeclType(Typedef); in RebuildTypedefType()
944 return SemaRef.Context.getMacroQualifiedType(T, MacroII); in RebuildMacroQualifiedType()
949 return SemaRef.Context.getTypeDeclType(Record); in RebuildRecordType()
954 return SemaRef.Context.getTypeDeclType(Enum); in RebuildEnumType()
988 return SemaRef.Context.getAutoType(Deduced, Keyword, in RebuildAutoType()
[all …]
H A 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 …]
H A DSemaLookup.cpp93 Sema &SemaRef; member in __anon8d9d45fa0111::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()
1678 bool LookupResult::isVisibleSlow(Sema &SemaRef, NamedDecl *D) { in isVisibleSlow() argument
1682 Module *DeclModule = SemaRef.getOwningModule(D); in isVisibleSlow()
1686 if (SemaRef.isModuleVisible(DeclModule, D->isModulePrivate())) in isVisibleSlow()
1719 VisibleWithinParent = SemaRef.hasVisibleDefinition(cast<NamedDecl>(DC)); in isVisibleSlow()
1721 VisibleWithinParent = isVisible(SemaRef, cast<NamedDecl>(DC)); in isVisibleSlow()
1723 (isa<FunctionDecl>(DC) && !SemaRef.getLangOpts().CPlusPlus)) in isVisibleSlow()
[all …]
H A DSemaStmt.cpp850 Sema &SemaRef; member in __anon895218280a11::CommaVisitor
852 CommaVisitor(Sema &SemaRef) : Inherited(SemaRef.Context), SemaRef(SemaRef) {} in CommaVisitor() argument
855 SemaRef.DiagnoseCommaOperator(E->getLHS(), E->getExprLoc()); in VisitBinaryOperator()
2327 static bool FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, in FinishForRangeVarDecl() argument
2330 ExprResult Res = SemaRef.CorrectDelayedTyposInExpr(Init); in FinishForRangeVarDecl()
2342 SemaRef.DeduceAutoType(Decl->getTypeSourceInfo(), Init, InitType) == in FinishForRangeVarDecl()
2344 SemaRef.Diag(Loc, DiagID) << Init->getType(); in FinishForRangeVarDecl()
2354 if (SemaRef.getLangOpts().ObjCAutoRefCount && in FinishForRangeVarDecl()
2355 SemaRef.inferObjCARCLifetime(Decl)) in FinishForRangeVarDecl()
2358 SemaRef.AddInitializerToDecl(Decl, Init, /*DirectInit=*/false); in FinishForRangeVarDecl()
[all …]
H A DSemaCodeComplete.cpp153 Sema &SemaRef; member in __anon4254e5140111::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()
741 static bool shouldIgnoreDueToReservedName(const NamedDecl *ND, Sema &SemaRef) { in shouldIgnoreDueToReservedName() argument
742 ReservedIdentifierStatus Status = ND->isReserved(SemaRef.getLangOpts()); in shouldIgnoreDueToReservedName()
[all …]
H A 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()
H A DSemaDeclCXX.cpp1633 static bool CheckLiteralType(Sema &SemaRef, Sema::CheckConstexprKind Kind, in CheckLiteralType() argument
1641 return SemaRef.RequireLiteralType(Loc, T, DiagID, in CheckLiteralType()
1645 return !T->isLiteralType(SemaRef.Context); in CheckLiteralType()
1652 static bool CheckConstexprDestructorSubobjects(Sema &SemaRef, in CheckConstexprDestructorSubobjects() argument
1662 SemaRef.Diag(DD->getLocation(), diag::err_constexpr_dtor_subobject) in CheckConstexprDestructorSubobjects()
1665 SemaRef.Diag(Loc, diag::note_constexpr_dtor_subobject) in CheckConstexprDestructorSubobjects()
1683 static bool CheckConstexprParameterTypes(Sema &SemaRef, in CheckConstexprParameterTypes() argument
1693 if (CheckLiteralType(SemaRef, Kind, ParamLoc, *i, in CheckConstexprParameterTypes()
1704 static bool CheckConstexprReturnType(Sema &SemaRef, const FunctionDecl *FD, in CheckConstexprReturnType() argument
1706 if (CheckLiteralType(SemaRef, Kind, FD->getLocation(), FD->getReturnType(), in CheckConstexprReturnType()
[all …]
H A DSemaTemplate.cpp918 static TemplateArgumentLoc translateTemplateArgument(Sema &SemaRef, in translateTemplateArgument() argument
924 QualType T = SemaRef.GetTypeFromParser(Arg.getAsType(), &DI); in translateTemplateArgument()
926 DI = SemaRef.Context.getTrivialTypeSourceInfo(T, Arg.getLocation()); in translateTemplateArgument()
943 SemaRef.Context, TArg, in translateTemplateArgument()
944 Arg.getScopeSpec().getWithLocInContext(SemaRef.Context), in translateTemplateArgument()
961 static void maybeDiagnoseTemplateParameterShadow(Sema &SemaRef, Scope *S, in maybeDiagnoseTemplateParameterShadow() argument
964 NamedDecl *PrevDecl = SemaRef.LookupSingleName( in maybeDiagnoseTemplateParameterShadow()
967 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl); in maybeDiagnoseTemplateParameterShadow()
2092 Sema &SemaRef, in ExtractTypeForDeductionGuide() argument
2094 : Base(SemaRef), MaterializedTypedefs(MaterializedTypedefs) {} in ExtractTypeForDeductionGuide()
[all …]
H A DSemaOverload.cpp5890 diagnoseAmbiguousConversion(Sema &SemaRef, SourceLocation Loc, Expr *From, in diagnoseAmbiguousConversion() argument
5897 Converter.diagnoseAmbiguous(SemaRef, Loc, T) << From->getSourceRange(); in diagnoseAmbiguousConversion()
5902 Converter.noteAmbiguous(SemaRef, Conv, ConvTy); in diagnoseAmbiguousConversion()
5908 diagnoseNoViableConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From, in diagnoseNoViableConversion() argument
5921 ConvTy.getAsStringInternal(TypeStr, SemaRef.getPrintingPolicy()); in diagnoseNoViableConversion()
5923 Converter.diagnoseExplicitConv(SemaRef, Loc, T, ConvTy) in diagnoseNoViableConversion()
5927 SemaRef.getLocForEndOfToken(From->getEndLoc()), ")"); in diagnoseNoViableConversion()
5928 Converter.noteExplicitConv(SemaRef, Conversion, ConvTy); in diagnoseNoViableConversion()
5932 if (SemaRef.isSFINAEContext()) in diagnoseNoViableConversion()
5935 SemaRef.CheckMemberOperatorAccess(From->getExprLoc(), From, nullptr, Found); in diagnoseNoViableConversion()
[all …]
H A DSemaCoroutine.cpp254 static ExprResult buildOperatorCoawaitLookupExpr(Sema &SemaRef, Scope *S, in buildOperatorCoawaitLookupExpr() argument
257 SemaRef.Context.DeclarationNames.getCXXOperatorName(OO_Coawait); in buildOperatorCoawaitLookupExpr()
258 LookupResult Operators(SemaRef, OpName, SourceLocation(), in buildOperatorCoawaitLookupExpr()
260 SemaRef.LookupName(Operators, S); in buildOperatorCoawaitLookupExpr()
268 SemaRef.Context, /*NamingClass*/ nullptr, NestedNameSpecifierLoc(), in buildOperatorCoawaitLookupExpr()
277 static ExprResult buildOperatorCoawaitCall(Sema &SemaRef, SourceLocation Loc, in buildOperatorCoawaitCall() argument
282 return SemaRef.CreateOverloadedUnaryOp(Loc, UO_Coawait, Functions, E); in buildOperatorCoawaitCall()
285 static ExprResult buildOperatorCoawaitCall(Sema &SemaRef, Scope *S, in buildOperatorCoawaitCall() argument
287 ExprResult R = buildOperatorCoawaitLookupExpr(SemaRef, S, Loc); in buildOperatorCoawaitCall()
290 return buildOperatorCoawaitCall(SemaRef, Loc, E, in buildOperatorCoawaitCall()
H A DSemaExprCXX.cpp681 getUuidAttrOfType(Sema &SemaRef, QualType QT, in getUuidAttrOfType() argument
705 getUuidAttrOfType(SemaRef, TA.getAsType(), UuidAttrs); in getUuidAttrOfType()
707 getUuidAttrOfType(SemaRef, TA.getAsDecl()->getType(), UuidAttrs); in getUuidAttrOfType()
3384 DiagnoseMismatchedNewDelete(Sema &SemaRef, SourceLocation DeleteLoc, in DiagnoseMismatchedNewDelete() argument
3386 SourceLocation EndOfDelete = SemaRef.getLocForEndOfToken(DeleteLoc); in DiagnoseMismatchedNewDelete()
3392 DeleteLoc, tok::l_square, SemaRef.getSourceManager(), in DiagnoseMismatchedNewDelete()
3393 SemaRef.getLangOpts(), true); in DiagnoseMismatchedNewDelete()
3397 SemaRef.Diag(DeleteLoc, diag::warn_mismatched_delete_new) in DiagnoseMismatchedNewDelete()
3401 SemaRef.Diag(NE->getExprLoc(), diag::note_allocated_here) in DiagnoseMismatchedNewDelete()
7384 canRecoverDotPseudoDestructorCallsOnPointerObjects(Sema &SemaRef, in canRecoverDotPseudoDestructorCallsOnPointerObjects() argument
[all …]
H A DSemaExpr.cpp2102 const TypoCorrection &TC, Sema &SemaRef, const CXXScopeSpec &SS, in emitEmptyLookupTypoDiagnostic() argument
2106 SS.isEmpty() ? nullptr : SemaRef.computeDeclContext(SS, false); in emitEmptyLookupTypoDiagnostic()
2111 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << Ctx in emitEmptyLookupTypoDiagnostic()
2114 SemaRef.Diag(TypoLoc, DiagnosticID) << Typo; in emitEmptyLookupTypoDiagnostic()
2118 std::string CorrectedStr = TC.getAsString(SemaRef.getLangOpts()); in emitEmptyLookupTypoDiagnostic()
2125 SemaRef.diagnoseTypo(TC, SemaRef.PDiag(DiagnosticSuggestID) << Typo, in emitEmptyLookupTypoDiagnostic()
2126 SemaRef.PDiag(NoteID)); in emitEmptyLookupTypoDiagnostic()
2128 SemaRef.diagnoseTypo(TC, SemaRef.PDiag(diag::err_no_member_suggest) in emitEmptyLookupTypoDiagnostic()
2131 SemaRef.PDiag(NoteID)); in emitEmptyLookupTypoDiagnostic()
5711 FunctionCallCCC(Sema &SemaRef, const IdentifierInfo *FuncName, in FunctionCallCCC() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A 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 …]
H A 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
H A DLookup.h145 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo,
148 : SemaPtr(&SemaRef), NameInfo(NameInfo), LookupKind(LookupKind),
158 LookupResult(Sema &SemaRef, DeclarationName Name,
161 : SemaPtr(&SemaRef), NameInfo(Name, NameLoc), LookupKind(LookupKind),
349 static bool isVisible(Sema &SemaRef, NamedDecl *D) { in isVisible() argument
356 return isVisibleSlow(SemaRef, D); in isVisible()
372 static bool isVisibleSlow(Sema &SemaRef, NamedDecl *D);
H A DSema.h1575 Sema &SemaRef; variable
1579 ImmediateDiagBuilder(DiagnosticBuilder &DB, Sema &SemaRef, unsigned DiagID) in ImmediateDiagBuilder() argument
1580 : DiagnosticBuilder(DB), SemaRef(SemaRef), DiagID(DiagID) {} in ImmediateDiagBuilder()
1581 ImmediateDiagBuilder(DiagnosticBuilder &&DB, Sema &SemaRef, unsigned DiagID) in ImmediateDiagBuilder() argument
1582 : DiagnosticBuilder(DB), SemaRef(SemaRef), DiagID(DiagID) {} in ImmediateDiagBuilder()
1607 SemaRef.EmitCurrentDiagnostic(DiagID); in ~ImmediateDiagBuilder()
8822 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
8829 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
8835 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
8842 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DASTWriter.h505 void WriteSelectors(Sema &SemaRef);
506 void WriteReferencedSelectorsPool(Sema &SemaRef);
512 void WriteOpenCLExtensions(Sema &SemaRef);
513 void WriteCUDAPragmas(Sema &SemaRef);
515 void WriteLateParsedTemplates(Sema &SemaRef);
516 void WriteOptimizePragmaOptions(Sema &SemaRef);
517 void WriteMSStructPragmaOptions(Sema &SemaRef);
518 void WriteMSPointersToMembersPragmaOptions(Sema &SemaRef);
519 void WritePackPragmaOptions(Sema &SemaRef);
520 void WriteFloatControlPragmaOptions(Sema &SemaRef);
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp3100 void ASTWriter::WriteSelectors(Sema &SemaRef) { in WriteSelectors() argument
3104 if (SemaRef.MethodPool.empty() && SelectorIDs.empty()) in WriteSelectors()
3118 Sema::GlobalMethodPool::iterator F = SemaRef.MethodPool.find(S); in WriteSelectors()
3124 if (F != SemaRef.MethodPool.end()) { in WriteSelectors()
3200 void ASTWriter::WriteReferencedSelectorsPool(Sema &SemaRef) { in WriteReferencedSelectorsPool() argument
3203 if (SemaRef.ReferencedSelectors.empty()) in WriteReferencedSelectorsPool()
3212 for (auto &SelectorAndLocation : SemaRef.ReferencedSelectors) { in WriteReferencedSelectorsPool()
3950 void ASTWriter::WriteOpenCLExtensions(Sema &SemaRef) { in WriteOpenCLExtensions() argument
3951 if (!SemaRef.Context.getLangOpts().OpenCL) in WriteOpenCLExtensions()
3954 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DInternals.h151 Sema &SemaRef; variable
162 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags), in MigrationPass()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DTestModuleFileExtension.h33 void writeExtensionContents(Sema &SemaRef,

12