Searched refs:SemaRef (Results 1 - 25 of 28) sorted by relevance

12

/external/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp45 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(),
61 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(),
217 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(),
231 = NamespaceAliasDecl::Create(SemaRef.Context, Owner,
248 DI = SemaRef.SubstType(DI, TemplateArgs,
252 DI = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef.Context.IntTy);
255 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType());
266 RD->getEnclosingNamespaceContext() == SemaRef.getStdNamespace() &&
269 SemaRef
3022 InstantiateExceptionSpec(Sema &SemaRef, FunctionDecl *New, const FunctionProtoType *Proto, const MultiLevelTemplateArgumentList &TemplateArgs) argument
[all...]
H A DSemaTemplateInstantiate.cpp209 SemaRef.InNonInstantiationSFINAEContext;
221 SemaRef.InNonInstantiationSFINAEContext = false;
222 SemaRef.ActiveTemplateInstantiations.push_back(Inst);
224 ++SemaRef.NonInstantiationEntries;
229 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, argument
232 : SemaRef(SemaRef)
239 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, argument
242 : SemaRef(SemaRef)
249 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateDecl *Template, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument
261 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionTemplateDecl *FunctionTemplate, ArrayRef<TemplateArgument> TemplateArgs, ActiveTemplateInstantiation::InstantiationKind Kind, sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) argument
274 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, ClassTemplatePartialSpecializationDecl *PartialSpec, ArrayRef<TemplateArgument> TemplateArgs, sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) argument
286 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, VarTemplatePartialSpecializationDecl *PartialSpec, ArrayRef<TemplateArgument> TemplateArgs, sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) argument
299 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, ParmVarDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument
312 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, NamedDecl *Template, NonTypeTemplateParmDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument
324 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, NamedDecl *Template, TemplateTemplateParmDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument
336 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateDecl *Template, NamedDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument
649 TemplateInstantiator(Sema &SemaRef, const MultiLevelTemplateArgumentList &TemplateArgs, SourceLocation Loc, DeclarationName Entity) argument
[all...]
H A DTreeTransform.h113 Sema &SemaRef; member in class:clang::TreeTransform
122 TreeTransform(Sema &SemaRef) : SemaRef(SemaRef) { } argument
137 Sema &getSema() const { return SemaRef; }
148 bool AlwaysRebuild() { return SemaRef.ArgumentPackSubstitutionIndex != -1; }
536 return SemaRef.Context.getTrivialTypeSourceInfo(T,
765 return SemaRef.Context.getTypeDeclType(Typedef);
770 return SemaRef.Context.getTypeDeclType(Record);
775 return SemaRef
[all...]
H A DSemaInit.cpp236 Sema &SemaRef; member in class:__anon18057::InitListChecker
316 static ExprResult PerformEmptyInit(Sema &SemaRef,
342 ExprResult InitListChecker::PerformEmptyInit(Sema &SemaRef, argument
350 InitListExpr DummyInitList(SemaRef.Context, Loc, None, Loc);
356 bool EmptyInitList = SemaRef.getLangOpts().CPlusPlus11 &&
369 InitExpr = VerifyOnly ? &DummyInitList : new (SemaRef.Context)
370 InitListExpr(SemaRef.Context, Loc, None, Loc);
371 InitExpr->setType(SemaRef.Context.VoidTy);
379 InitializationSequence InitSeq(SemaRef, Entity, Kind, SubInit);
390 .BestViableFunction(SemaRef, Kin
1700 ExpandAnonymousFieldDesignator(Sema &SemaRef, DesignatedInitExpr *DIE, unsigned DesigIdx, IndirectFieldDecl *IndirectField) argument
1746 CloneDesignatedInitExpr(Sema &SemaRef, DesignatedInitExpr *DIE) argument
[all...]
H A DSemaExprMember.cpp36 static bool isProvablyNotDerivedFrom(Sema &SemaRef, CXXRecordDecl *Record, argument
91 static IMAKind ClassifyImplicitMemberAccess(Sema &SemaRef, argument
96 DeclContext *DC = SemaRef.getFunctionLevelDeclContext();
98 bool isStaticContext = SemaRef.CXXThisTypeOverride.isNull() &&
139 switch (SemaRef.ExprEvalContexts.back().Context) {
141 if (isField && SemaRef.getLangOpts().CPlusPlus11)
190 if (isProvablyNotDerivedFrom(SemaRef, contextClass, Classes))
199 static void diagnoseInstanceReference(Sema &SemaRef, argument
207 DeclContext *FunctionLevelDC = SemaRef.getFunctionLevelDeclContext();
217 SemaRef
484 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument
592 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, SourceRange BaseRange, const RecordType *RTy, SourceLocation OpLoc, CXXScopeSpec &SS, bool HasTemplateArgs) argument
867 BuildMemberExpr(Sema &SemaRef, ASTContext &C, Expr *Base, bool isArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo, QualType Ty, ExprValueKind VK, ExprObjectKind OK, const TemplateArgumentListInfo *TemplateArgs = nullptr) argument
[all...]
H A DSemaLookup.cpp288 IDNS = getIDNS(LookupKind, SemaRef.getLangOpts().CPlusPlus,
299 SemaRef.DeclareGlobalNewDelete();
310 if (!SemaRef.Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID))
403 QualType T = SemaRef.Context.getTypeDeclType(TD);
404 if (!UniqueTypes.insert(SemaRef.Context.getCanonicalType(T))) {
1231 bool LookupResult::isVisibleSlow(Sema &SemaRef, NamedDecl *D) { argument
1232 assert(D->isHidden() && !SemaRef.ActiveTemplateInstantiations.empty() &&
1238 llvm::DenseSet<Module*> &LookupModules = SemaRef.getLookupModules();
1268 static NamedDecl *findAcceptableDecl(Sema &SemaRef, NamedDecl *D) { argument
1269 assert(!LookupResult::isVisible(SemaRef,
3334 TypoCorrectionConsumer(Sema &SemaRef, const DeclarationNameInfo &TypoName, Sema::LookupNameKind LookupKind, Scope *S, CXXScopeSpec *SS, CorrectionCandidateCallback &CCC, DeclContext *MemberContext, bool EnteringContext) argument
3461 Sema &SemaRef; member in class:__anon18068::TypoCorrectionConsumer
3889 LookupPotentialTypoResult(Sema &SemaRef, LookupResult &Res, IdentifierInfo *Name, Scope *S, CXXScopeSpec *SS, DeclContext *MemberContext, bool EnteringContext, bool isObjCIvarLookup, bool FindHidden) argument
3942 AddKeywordsToConsumer(Sema &SemaRef, TypoCorrectionConsumer &Consumer, Scope *S, CorrectionCandidateCallback &CCC, bool AfterNestedNameSpecifier) argument
4088 checkCorrectionVisibility(Sema &SemaRef, TypoCorrection &TC) argument
[all...]
H A DSemaOpenMP.cpp109 Sema &SemaRef; member in class:__anon18069::DSAStackTy
119 explicit DSAStackTy(Sema &S) : Stack(1), SemaRef(S) {}
391 bool IsConstant = Type.isConstant(SemaRef.getASTContext());
401 SemaRef.getLangOpts().CPlusPlus ? Type->getAsCXXRecordDecl() : nullptr;
403 !(SemaRef.getLangOpts().CPlusPlus && RD && RD->hasMutableFields())) {
543 Sema &SemaRef; member in class:__anon18070::VarDeclFilterCCC
546 explicit VarDeclFilterCCC(Sema &S) : SemaRef(S) {}
551 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(),
552 SemaRef
696 Sema &SemaRef; member in class:__anon18071::LocalVarRefChecker
719 LocalVarRefChecker(Sema &SemaRef) argument
782 ReportOriginalDSA(Sema &SemaRef, DSAStackTy *Stack, const VarDecl *VD, DSAStackTy::DSAVarData DVar, bool IsLoopIterVar = false) argument
834 Sema &SemaRef; member in class:__anon18073::DSAAttrChecker
908 DSAAttrChecker(DSAStackTy *S, Sema &SemaRef, CapturedStmt *CS) argument
995 CheckNestingOfRegions(Sema &SemaRef, DSAStackTy *Stack, OpenMPDirectiveKind CurrentRegion, SourceLocation StartLoc) argument
1231 Sema &SemaRef; member in class:__anon18074::OpenMPIterationSpaceChecker
1258 OpenMPIterationSpaceChecker(Sema &SemaRef, SourceLocation DefaultLoc) argument
1587 CheckOpenMPIterationSpace( OpenMPDirectiveKind DKind, Stmt *S, Sema &SemaRef, DSAStackTy &DSA, unsigned CurrentNestedLoopCount, unsigned NestedLoopCount, Expr *NestedLoopCountExpr, llvm::DenseMap<VarDecl *, Expr *> &VarsWithImplicitDSA) argument
1719 CheckOpenMPLoop(OpenMPDirectiveKind DKind, Expr *NestedLoopCountExpr, Stmt *AStmt, Sema &SemaRef, DSAStackTy &DSA, llvm::DenseMap<VarDecl *, Expr *> &VarsWithImplicitDSA) argument
[all...]
H A DSemaCodeComplete.cpp124 Sema &SemaRef; member in class:__anon18020::ResultBuilder
172 explicit ResultBuilder(Sema &SemaRef, CodeCompletionAllocator &Allocator, argument
176 : SemaRef(SemaRef), Allocator(Allocator), CCTUInfo(CCTUInfo),
190 if (ObjCMethodDecl *Method = SemaRef.getCurMethodDecl())
207 return SemaRef.CodeCompleter &&
208 SemaRef.CodeCompleter->includeCodePatterns();
222 PreferredType = SemaRef.Context.getCanonicalType(T);
259 Sema &getSema() const { return SemaRef; }
525 SemaRef
1516 AddOrdinaryNameResults(Sema::ParserCompletionContext CCC, Scope *S, Sema &SemaRef, ResultBuilder &Results) argument
5342 AddClassMessageCompletions(Sema &SemaRef, Scope *S, ParsedType Receiver, ArrayRef<IdentifierInfo *> SelIdents, bool AtArgumentExpression, bool IsSuper, ResultBuilder &Results) argument
[all...]
H A DCodeCompleteConsumer.cpp435 PrintingCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef, argument
450 = Results[I].CreateCodeCompletionString(SemaRef, getAllocator(),
468 = Results[I].CreateCodeCompletionString(SemaRef, getAllocator(),
487 PrintingCodeCompleteConsumer::ProcessOverloadCandidates(Sema &SemaRef, argument
493 = Candidates[I].CreateSignatureString(CurrentArg, SemaRef,
H A DSemaDeclCXX.cpp718 static bool CheckConstexprParameterTypes(Sema &SemaRef, argument
728 SemaRef.RequireLiteralType(ParamLoc, *i,
816 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl, argument
842 SemaRef.Diag(TL.getBeginLoc(), diag::err_constexpr_vla)
854 SemaRef.Diag(DS->getLocStart(),
855 SemaRef.getLangOpts().CPlusPlus1y
875 SemaRef.Diag(VD->getLocation(),
882 SemaRef.RequireLiteralType(
889 SemaRef.Diag(VD->getLocation(),
895 SemaRef
929 CheckConstexprCtorInitializer(Sema &SemaRef, const FunctionDecl *Dcl, FieldDecl *Field, llvm::SmallSet<Decl*, 16> &Inits, bool &Diagnosed) argument
968 CheckConstexprFunctionStmt(Sema &SemaRef, const FunctionDecl *Dcl, Stmt *S, SmallVectorImpl<SourceLocation> &ReturnStmts, SourceLocation &Cxx1yLoc) argument
2369 DiagnoseUninitializedFields( Sema &SemaRef, const CXXConstructorDecl *Constructor) argument
2471 FindBaseInitializer(Sema &SemaRef, CXXRecordDecl *ClassDecl, QualType BaseType, const CXXBaseSpecifier *&DirectBaseSpec, const CXXBaseSpecifier *&VirtualBaseSpec) argument
3037 CastForMoving(Sema &SemaRef, Expr *E, QualType T = QualType()) argument
3060 BuildImplicitBaseInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, ImplicitInitializerKind ImplicitInitKind, CXXBaseSpecifier *BaseSpec, bool IsInheritedVirtualBase, CXXCtorInitializer *&CXXBaseInit) argument
3170 BuildImplicitMemberInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, ImplicitInitializerKind ImplicitInitKind, FieldDecl *Field, IndirectFieldDecl *Indirect, CXXCtorInitializer *&CXXMemberInit) argument
3501 CollectFieldInitializer(Sema &SemaRef, BaseAndFieldInfo &Info, FieldDecl *Field, IndirectFieldDecl *Indirect = nullptr) argument
3785 DiagnoseBaseOrMemInitializerOrder( Sema &SemaRef, const CXXConstructorDecl *Constructor, ArrayRef<CXXCtorInitializer *> Inits) argument
8512 InheritingConstructorInfo(Sema &SemaRef, CXXRecordDecl *Derived) argument
8779 Sema &SemaRef; member in class:__anon18040::InheritingConstructorInfo
10835 CheckOperatorNewDeleteDeclarationScope(Sema &SemaRef, const FunctionDecl *FnDecl) argument
10855 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl, CanQualType ExpectedResultType, CanQualType ExpectedFirstParamType, unsigned DependentParamTypeDiag, unsigned InvalidParamTypeDiag) argument
10903 CheckOperatorNewDeclaration(Sema &SemaRef, const FunctionDecl *FnDecl) argument
10934 CheckOperatorDeleteDeclaration(Sema &SemaRef, FunctionDecl *FnDecl) argument
[all...]
H A DSemaStmt.cpp1805 static bool FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, argument
1811 SemaRef.DeduceAutoType(Decl->getTypeSourceInfo(), Init, InitType) ==
1813 SemaRef.Diag(Loc, DiagID) << Init->getType();
1823 if (SemaRef.getLangOpts().ObjCAutoRefCount &&
1824 SemaRef.inferObjCARCLifetime(Decl))
1827 SemaRef.AddInitializerToDecl(Decl, Init, /*DirectInit=*/false,
1829 SemaRef.FinalizeDeclaration(Decl);
1830 SemaRef.CurContext->addHiddenDecl(Decl);
1840 void NoteForRangeBeginEndFunction(Sema &SemaRef, Expr *E, argument
1853 Description = SemaRef
1863 BuildForRangeVarDecl(Sema &SemaRef, SourceLocation Loc, QualType Type, const char *Name) argument
1959 BuildNonArrayForRange(Sema &SemaRef, Scope *S, Expr *BeginRange, Expr *EndRange, QualType RangeType, VarDecl *BeginVar, VarDecl *EndVar, SourceLocation ColonLoc, OverloadCandidateSet *CandidateSet, ExprResult *BeginExpr, ExprResult *EndExpr, Sema::BeginEndFunction *BEF) argument
2037 RebuildForRangeWithDereference(Sema &SemaRef, Scope *S, SourceLocation ForLoc, Stmt *LoopVarDecl, SourceLocation ColonLoc, Expr *Range, SourceLocation RangeLoc, SourceLocation RParenLoc) argument
2075 InvalidateOnErrorScope(Sema &SemaRef, Decl *D, bool Enabled) argument
[all...]
H A DSemaOverload.cpp5155 diagnoseAmbiguousConversion(Sema &SemaRef, SourceLocation Loc, Expr *From, argument
5162 Converter.diagnoseAmbiguous(SemaRef, Loc, T) << From->getSourceRange();
5167 Converter.noteAmbiguous(SemaRef, Conv, ConvTy);
5173 diagnoseNoViableConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From, argument
5186 ConvTy.getAsStringInternal(TypeStr, SemaRef.getPrintingPolicy());
5188 Converter.diagnoseExplicitConv(SemaRef, Loc, T, ConvTy)
5192 SemaRef.getLocForEndOfToken(From->getLocEnd()), ")");
5193 Converter.noteExplicitConv(SemaRef, Conversion, ConvTy);
5197 if (SemaRef.isSFINAEContext())
5200 SemaRef
5213 recordConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From, Sema::ContextualImplicitConverter &Converter, QualType T, bool HadMultipleCandidates, DeclAccessPair &Found) argument
5241 finishContextualImplicitConversion( Sema &SemaRef, SourceLocation Loc, Expr *From, Sema::ContextualImplicitConverter &Converter) argument
5252 collectViableConversionCandidates(Sema &SemaRef, Expr *From, QualType ToType, UnresolvedSetImpl &ViableConversions, OverloadCandidateSet &CandidateSet) argument
6545 Sema &SemaRef; member in class:clang::__anon18087::BuiltinCandidateTypeSet
6558 BuiltinCandidateTypeSet(Sema &SemaRef) argument
10297 DiagnoseTwoPhaseLookup(Sema &SemaRef, SourceLocation FnLoc, const CXXScopeSpec &SS, LookupResult &R, OverloadCandidateSet::CandidateSetKind CSK, TemplateArgumentListInfo *ExplicitTemplateArgs, ArrayRef<Expr *> Args) argument
10398 DiagnoseTwoPhaseOperatorLookup(Sema &SemaRef, OverloadedOperatorKind Op, SourceLocation OpLoc, ArrayRef<Expr *> Args) argument
10411 Sema &SemaRef; member in class:__anon18091::BuildRecoveryCallExprRAII
10429 BuildRecoveryCallExpr(Sema &SemaRef, Scope *S, Expr *Fn, UnresolvedLookupExpr *ULE, SourceLocation LParenLoc, MutableArrayRef<Expr *> Args, SourceLocation RParenLoc, bool EmptyLookup, bool AllowTypoCorrection) argument
10562 FinishOverloadedCallExpr(Sema &SemaRef, Scope *S, Expr *Fn, UnresolvedLookupExpr *ULE, SourceLocation LParenLoc, MultiExprArg Args, SourceLocation RParenLoc, Expr *ExecConfig, OverloadCandidateSet *CandidateSet, OverloadCandidateSet::iterator *Best, OverloadingResult OverloadResult, bool AllowTypoCorrection) argument
[all...]
H A DSema.cpp375 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { argument
387 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
393 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
403 VD->isUsableInConstantExpressions(SemaRef->Context))
410 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
416 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
H A DSemaType.cpp2110 Sema &SemaRef = state.getSema(); local
2141 T = SemaRef.Context.VoidTy;
2149 T = SemaRef.GetTypeFromParser(D.getName().ConversionFunctionId,
2164 (!SemaRef.getLangOpts().CPlusPlus11 || !D.isFunctionDeclarator())) {
2178 if (!(SemaRef.getLangOpts().CPlusPlus1y
2185 switch (cast<TagDecl>(SemaRef.CurContext)->getTagKind()) {
2211 if (!SemaRef.getLangOpts().CPlusPlus1y)
2215 if (!SemaRef.getLangOpts().CPlusPlus1y)
2240 if (SemaRef.getLangOpts().CPlusPlus11 && Error != -1) {
2262 SemaRef
[all...]
H A DSemaDecl.cpp618 static bool isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result, argument
622 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupTagName);
623 SemaRef.LookupParsedName(R, S, &SS);
649 SemaRef.Diag(NameLoc, diag::err_use_of_tag_name_without_tag)
650 << Name << TagName << SemaRef.getLangOpts().CPlusPlus
655 SemaRef.Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type)
660 SemaRef.LookupParsedName(Result, S, &SS);
3540 static bool CheckAnonMemberRedeclaration(Sema &SemaRef, argument
3546 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupMemberName,
3548 if (!SemaRef
3582 InjectAnonymousStructOrUnionMembers(Sema &SemaRef, Scope *S, DeclContext *Owner, RecordDecl *AnonRecord, AccessSpecifier AS, SmallVectorImpl<NamedDecl *> &Chaining, bool MSAnonStruct) argument
6282 DiagnoseInvalidRedeclaration( Sema &SemaRef, LookupResult &Previous, FunctionDecl *NewFD, ActOnFDArgs &ExtraArgs, bool IsLocalFriend, Scope *S) argument
6422 getFunctionStorageClass(Sema &SemaRef, Declarator &D) argument
6458 CreateNewFunctionDecl(Sema &SemaRef, Declarator &D, DeclContext *DC, QualType &R, TypeSourceInfo *TInfo, FunctionDecl::StorageClass SC, bool &IsVirtualOkay) argument
[all...]
H A DSemaTemplate.cpp485 static TemplateArgumentLoc translateTemplateArgument(Sema &SemaRef, argument
491 QualType T = SemaRef.GetTypeFromParser(Arg.getAsType(), &DI);
493 DI = SemaRef.Context.getTrivialTypeSourceInfo(T, Arg.getLocation());
511 SemaRef.Context),
529 static void maybeDiagnoseTemplateParameterShadow(Sema &SemaRef, Scope *S, argument
532 NamedDecl *PrevDecl = SemaRef.LookupSingleName(
535 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl);
3118 /// \param SemaRef the semantic analysis object for which we are performing
3137 SubstDefaultTemplateArgument(Sema &SemaRef, argument
3148 Sema::InstantiatingTemplate Inst(SemaRef, TemplateLo
3195 SubstDefaultTemplateArgument(Sema &SemaRef, TemplateDecl *Template, SourceLocation TemplateLoc, SourceLocation RAngleLoc, NonTypeTemplateParmDecl *Param, SmallVectorImpl<TemplateArgument> &Converted) argument
3247 SubstDefaultTemplateArgument(Sema &SemaRef, TemplateDecl *Template, SourceLocation TemplateLoc, SourceLocation RAngleLoc, TemplateTemplateParmDecl *Param, SmallVectorImpl<TemplateArgument> &Converted, NestedNameSpecifierLoc &QualifierLoc) argument
7980 CurrentInstantiationRebuilder(Sema &SemaRef, SourceLocation Loc, DeclarationName Entity) argument
[all...]
/external/clang/include/clang/Sema/
H A DSemaInternal.h58 SourceLocation Loc, Sema &SemaRef,
62 if (Var->hasDefinition(SemaRef.Context) == VarDecl::DeclarationOnly &&
65 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()];
69 SemaRef.tryCaptureVariable(Var, Loc, Sema::TryCapture_Implicit,
75 Var->markUsed(SemaRef.Context);
57 MarkVarDeclODRUsed(VarDecl *Var, SourceLocation Loc, Sema &SemaRef, const unsigned *const FunctionScopeIndexToStopAt) argument
H A DTemplate.h186 Sema &SemaRef;
246 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false)
247 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope),
251 SemaRef.CurrentInstantiationScope = this;
258 const Sema &getSema() const { return SemaRef; }
268 SemaRef.CurrentInstantiationScope = Outer;
277 new LocalInstantiationScope(SemaRef, CombineWithOuterScope);
367 Sema &SemaRef;
[all...]
H A DLookup.h129 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo, argument
135 SemaRef(SemaRef),
151 LookupResult(Sema &SemaRef, DeclarationName Name, argument
157 SemaRef(SemaRef),
177 SemaRef(Other.SemaRef),
289 static bool isVisible(Sema &SemaRef, NamedDecl *D) { argument
294 if (SemaRef
660 Sema &SemaRef; member in class:clang::LookupResult
[all...]
H A DSema.h974 Sema &SemaRef; member in class:clang::Sema::SemaDiagnosticBuilder
978 SemaDiagnosticBuilder(DiagnosticBuilder &DB, Sema &SemaRef, unsigned DiagID) argument
979 : DiagnosticBuilder(DB), SemaRef(SemaRef), DiagID(DiagID) { }
998 SemaRef.EmitCurrentDiagnostic(DiagID);
6317 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6324 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6330 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6337 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6347 InstantiatingTemplate(Sema &SemaRef, SourceLocatio
6402 Sema &SemaRef; member in struct:clang::Sema::InstantiatingTemplate
6447 Sema &SemaRef; member in class:clang::Sema::SFINAETrap
6453 SFINAETrap(Sema &SemaRef, bool AccessCheckingSFINAE = false) argument
6482 Sema &SemaRef; member in class:clang::Sema::TentativeAnalysisScope
6487 TentativeAnalysisScope(Sema &SemaRef) argument
[all...]
H A DTypoCorrection.h308 FunctionCallFilterCCC(Sema &SemaRef, unsigned NumArgs,
/external/clang/include/clang/Serialization/
H A DASTWriter.h477 void WriteSelectors(Sema &SemaRef);
478 void WriteReferencedSelectorsPool(Sema &SemaRef);
486 void WriteOpenCLExtensions(Sema &SemaRef);
490 void WriteLateParsedTemplates(Sema &SemaRef);
491 void WriteOptimizePragmaOptions(Sema &SemaRef);
511 void WriteASTCore(Sema &SemaRef,
523 /// \param SemaRef a reference to the semantic analysis object that processed
531 void WriteAST(Sema &SemaRef,
/external/clang/lib/Serialization/
H A DASTWriter.cpp2837 void ASTWriter::WriteSelectors(Sema &SemaRef) { argument
2841 if (SemaRef.MethodPool.empty() && SelectorIDs.empty())
2856 Sema::GlobalMethodPool::iterator F = SemaRef.MethodPool.find(S);
2862 if (F != SemaRef.MethodPool.end()) {
2936 void ASTWriter::WriteReferencedSelectorsPool(Sema &SemaRef) { argument
2938 if (SemaRef.ReferencedSelectors.empty())
2947 SemaRef.ReferencedSelectors.begin(),
2948 E = SemaRef.ReferencedSelectors.end(); S != E; ++S) {
3668 void ASTWriter::WriteOpenCLExtensions(Sema &SemaRef) { argument
3669 if (!SemaRef
3830 WriteLateParsedTemplates(Sema &SemaRef) argument
3855 WriteOptimizePragmaOptions(Sema &SemaRef) argument
3963 WriteAST(Sema &SemaRef, const std::string &OutputFile, Module *WritingModule, StringRef isysroot, bool hasErrors) argument
3999 WriteASTCore(Sema &SemaRef, StringRef isysroot, const std::string &OutputFile, Module *WritingModule) argument
[all...]
/external/clang/lib/ARCMigrate/
H A DInternals.h150 Sema &SemaRef; member in class:clang::arcmt::MigrationPass
161 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags),
H A DTransforms.cpp33 EnableCFBridgeFns = SemaRef.isKnownName("CFBridgingRetain") &&
34 SemaRef.isKnownName("CFBridgingRelease");

Completed in 3066 milliseconds

12