/external/clang/lib/Frontend/ |
H A D | TestModuleFileExtension.cpp | 22 Sema &SemaRef, 21 writeExtensionContents( Sema &SemaRef, llvm::BitstreamWriter &Stream) argument
|
/external/clang/lib/ARCMigrate/ |
H A D | Internals.h | 150 Sema &SemaRef; member in class:clang::arcmt::MigrationPass 161 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags),
|
/external/clang/lib/Sema/ |
H A D | SemaCoroutine.cpp | 162 static ExprResult buildOperatorCoawaitCall(Sema &SemaRef, Scope *S, argument 165 SemaRef.LookupOverloadedOperatorName(OO_Coawait, S, E->getType(), QualType(), 167 return SemaRef.CreateOverloadedUnaryOp(Loc, UO_Coawait, Functions, E);
|
H A D | CodeCompleteConsumer.cpp | 432 PrintingCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef, argument 447 = Results[I].CreateCodeCompletionString(SemaRef, Context, 466 = Results[I].CreateCodeCompletionString(SemaRef, Context, 511 PrintingCodeCompleteConsumer::ProcessOverloadCandidates(Sema &SemaRef, argument 517 = Candidates[I].CreateSignatureString(CurrentArg, SemaRef,
|
H A D | SemaLookup.cpp | 1521 bool LookupResult::isVisibleSlow(Sema &SemaRef, NamedDecl *D) { argument 1525 if (SemaRef.getLangOpts().ModulesLocalVisibility) { 1526 DeclModule = SemaRef.getOwningModule(D); 1537 (SemaRef.isModuleVisible(DeclModule) || 1538 SemaRef.hasVisibleMergedDefinition(D))) 1551 ? isVisible(SemaRef, cast<NamedDecl>(DC)) 1552 : SemaRef.hasVisibleDefinition(cast<NamedDecl>(DC))) { 1553 if (SemaRef.ActiveTemplateInstantiations.empty() && 1555 !SemaRef.getLangOpts().ModulesLocalVisibility) { 1566 llvm::DenseSet<Module*> &LookupModules = SemaRef [all...] |
H A D | Sema.cpp | 425 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { argument 437 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 443 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 453 VD->isUsableInConstantExpressions(SemaRef->Context)) 460 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 466 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
|
H A D | SemaExprMember.cpp | 33 static bool isProvablyNotDerivedFrom(Sema &SemaRef, CXXRecordDecl *Record, argument 89 static IMAKind ClassifyImplicitMemberAccess(Sema &SemaRef, argument 93 DeclContext *DC = SemaRef.getFunctionLevelDeclContext(); 95 bool isStaticContext = SemaRef.CXXThisTypeOverride.isNull() && 135 switch (SemaRef.ExprEvalContexts.back().Context) { 137 if (isField && SemaRef.getLangOpts().CPlusPlus11) 187 if (isProvablyNotDerivedFrom(SemaRef, contextClass, Classes)) 196 static void diagnoseInstanceReference(Sema &SemaRef, argument 207 DeclContext *FunctionLevelDC = SemaRef.getFunctionLevelDeclContext(); 217 SemaRef 499 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument 614 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, Expr *BaseExpr, const RecordType *RTy, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, bool HasTemplateArgs, TypoExpr *&TE) argument 668 Sema &SemaRef; member in struct:QueryState 908 BuildMemberExpr( Sema &SemaRef, ASTContext &C, Expr *Base, bool isArrow, SourceLocation OpLoc, 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 D | SemaLambda.cpp | 225 getGenericLambdaTemplateParameterList(LambdaScopeInfo *LSI, Sema &SemaRef) { argument 234 SemaRef.Context,
|
H A D | SemaOpenMP.cpp | 120 Sema &SemaRef; member in class:__anon1491::final 132 explicit DSAStackTy(Sema &S) : Stack(1), SemaRef(S) {} 618 static VarDecl *buildVarDecl(Sema &SemaRef, SourceLocation Loc, QualType Type, argument 620 DeclContext *DC = SemaRef.CurContext; 621 IdentifierInfo *II = &SemaRef.PP.getIdentifierTable().get(Name); 622 TypeSourceInfo *TInfo = SemaRef.Context.getTrivialTypeSourceInfo(Type, Loc); 624 VarDecl::Create(SemaRef.Context, DC, Loc, Loc, II, Type, TInfo, SC_None); 654 SemaRef.getLangOpts().OpenMPUseTLS && 655 SemaRef.getASTContext().getTargetInfo().isTLSSupported())) || 658 addDSA(D, buildDeclRefExpr(SemaRef, V [all...] |
H A D | SemaTemplateInstantiate.cpp | 205 Sema &SemaRef, ActiveTemplateInstantiation::InstantiationKind Kind, 209 : SemaRef(SemaRef), SavedInNonInstantiationSFINAEContext( 210 SemaRef.InNonInstantiationSFINAEContext) { 213 if (SemaRef.Diags.hasFatalErrorOccurred()) { 228 SemaRef.InNonInstantiationSFINAEContext = false; 229 SemaRef.ActiveTemplateInstantiations.push_back(Inst); 231 ++SemaRef.NonInstantiationEntries; 236 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, 238 : InstantiatingTemplate(SemaRef, 204 InstantiatingTemplate( Sema &SemaRef, ActiveTemplateInstantiation::InstantiationKind Kind, SourceLocation PointOfInstantiation, SourceRange InstantiationRange, Decl *Entity, NamedDecl *Template, ArrayRef<TemplateArgument> TemplateArgs, sema::TemplateDeductionInfo *DeductionInfo) argument 235 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, SourceRange InstantiationRange) argument 242 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionDecl *Entity, ExceptionSpecification, SourceRange InstantiationRange) argument 249 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateDecl *Template, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument 258 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionTemplateDecl *FunctionTemplate, ArrayRef<TemplateArgument> TemplateArgs, ActiveTemplateInstantiation::InstantiationKind Kind, sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) argument 268 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, ClassTemplatePartialSpecializationDecl *PartialSpec, ArrayRef<TemplateArgument> TemplateArgs, sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) argument 279 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, VarTemplatePartialSpecializationDecl *PartialSpec, ArrayRef<TemplateArgument> TemplateArgs, sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) argument 290 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, ParmVarDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument 299 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, NamedDecl *Template, NonTypeTemplateParmDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument 309 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, NamedDecl *Template, TemplateTemplateParmDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument 319 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateDecl *Template, NamedDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument 630 TemplateInstantiator(Sema &SemaRef, const MultiLevelTemplateArgumentList &TemplateArgs, SourceLocation Loc, DeclarationName Entity) argument [all...] |
H A D | SemaTemplateDeduction.cpp | 3930 SubstituteAutoTransform(Sema &SemaRef, QualType Replacement) argument 3931 : TreeTransform<SubstituteAutoTransform>(SemaRef), 3952 SemaRef.Context.getAutoType(Dependent ? QualType() : Replacement,
|
H A D | SemaTemplateInstantiateDecl.cpp | 40 static bool SubstQualifier(Sema &SemaRef, const DeclT *OldDecl, DeclT *NewDecl, argument 49 SemaRef, 55 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), 67 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); 72 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); 444 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), 458 = NamespaceAliasDecl::Create(SemaRef.Context, Owner, 475 DI = SemaRef.SubstType(DI, TemplateArgs, 479 DI = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef [all...] |
H A D | SemaCodeComplete.cpp | 123 Sema &SemaRef; member in class:__anon1441::ResultBuilder 171 explicit ResultBuilder(Sema &SemaRef, CodeCompletionAllocator &Allocator, argument 175 : SemaRef(SemaRef), Allocator(Allocator), CCTUInfo(CCTUInfo), 189 if (ObjCMethodDecl *Method = SemaRef.getCurMethodDecl()) 206 return SemaRef.CodeCompleter && 207 SemaRef.CodeCompleter->includeCodePatterns(); 221 PreferredType = SemaRef.Context.getCanonicalType(T); 258 Sema &getSema() const { return SemaRef; } 497 static bool shouldIgnoreDueToReservedName(const NamedDecl *ND, Sema &SemaRef) { argument 1531 AddOrdinaryNameResults(Sema::ParserCompletionContext CCC, Scope *S, Sema &SemaRef, ResultBuilder &Results) argument 3949 mergeCandidatesWithResults(Sema &SemaRef, SmallVectorImpl<ResultCandidate> &Results, OverloadCandidateSet &CandidateSet, SourceLocation Loc) argument 3970 getParamType(Sema &SemaRef, ArrayRef<ResultCandidate> Candidates, unsigned N) argument 3995 CodeCompleteOverloadResults(Sema &SemaRef, Scope *S, MutableArrayRef<ResultCandidate> Candidates, unsigned CurrentArg, bool CompleteExpressionWithCurrentArg = true) argument 5585 AddClassMessageCompletions(Sema &SemaRef, Scope *S, ParsedType Receiver, ArrayRef<IdentifierInfo *> SelIdents, bool AtArgumentExpression, bool IsSuper, ResultBuilder &Results) argument [all...] |
H A D | SemaExprCXX.cpp | 514 getUuidAttrOfType(Sema &SemaRef, QualType QT, argument 538 getUuidAttrOfType(SemaRef, TA.getAsType(), UuidAttrs); 540 getUuidAttrOfType(SemaRef, TA.getAsDecl()->getType(), UuidAttrs); 2779 DiagnoseMismatchedNewDelete(Sema &SemaRef, SourceLocation DeleteLoc, argument 2781 SourceLocation EndOfDelete = SemaRef.getLocForEndOfToken(DeleteLoc); 2787 DeleteLoc, tok::l_square, SemaRef.getSourceManager(), 2788 SemaRef.getLangOpts(), true); 2792 SemaRef.Diag(DeleteLoc, diag::warn_mismatched_delete_new) 2796 SemaRef.Diag(NE->getExprLoc(), diag::note_allocated_here) 6677 static ExprResult attemptRecovery(Sema &SemaRef, argument 6831 TransformTypos(Sema &SemaRef, VarDecl *InitDecl, llvm::function_ref<ExprResult(Expr *)> Filter) argument [all...] |
H A D | SemaInit.cpp | 238 Sema &SemaRef; member in class:__anon1484::InitListChecker 321 static ExprResult PerformEmptyInit(Sema &SemaRef, 376 ExprResult InitListChecker::PerformEmptyInit(Sema &SemaRef, argument 385 InitListExpr DummyInitList(SemaRef.Context, Loc, None, Loc); 391 bool EmptyInitList = SemaRef.getLangOpts().CPlusPlus11 && 404 InitExpr = VerifyOnly ? &DummyInitList : new (SemaRef.Context) 405 InitListExpr(SemaRef.Context, Loc, None, Loc); 406 InitExpr->setType(SemaRef.Context.VoidTy); 414 InitializationSequence InitSeq(SemaRef, Entity, Kind, SubInit); 425 .BestViableFunction(SemaRef, Kin 1945 ExpandAnonymousFieldDesignator(Sema &SemaRef, DesignatedInitExpr *DIE, unsigned DesigIdx, IndirectFieldDecl *IndirectField) argument 1973 CloneDesignatedInitExpr(Sema &SemaRef, DesignatedInitExpr *DIE) argument [all...] |
H A D | SemaOverload.cpp | 5333 diagnoseAmbiguousConversion(Sema &SemaRef, SourceLocation Loc, Expr *From, argument 5340 Converter.diagnoseAmbiguous(SemaRef, Loc, T) << From->getSourceRange(); 5345 Converter.noteAmbiguous(SemaRef, Conv, ConvTy); 5351 diagnoseNoViableConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From, argument 5364 ConvTy.getAsStringInternal(TypeStr, SemaRef.getPrintingPolicy()); 5366 Converter.diagnoseExplicitConv(SemaRef, Loc, T, ConvTy) 5370 SemaRef.getLocForEndOfToken(From->getLocEnd()), ")"); 5371 Converter.noteExplicitConv(SemaRef, Conversion, ConvTy); 5375 if (SemaRef.isSFINAEContext()) 5378 SemaRef 5391 recordConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From, Sema::ContextualImplicitConverter &Converter, QualType T, bool HadMultipleCandidates, DeclAccessPair &Found) argument 5419 finishContextualImplicitConversion( Sema &SemaRef, SourceLocation Loc, Expr *From, Sema::ContextualImplicitConverter &Converter) argument 5430 collectViableConversionCandidates(Sema &SemaRef, Expr *From, QualType ToType, UnresolvedSetImpl &ViableConversions, OverloadCandidateSet &CandidateSet) argument 6857 Sema &SemaRef; member in class:__anon1500::BuiltinCandidateTypeSet 6870 BuiltinCandidateTypeSet(Sema &SemaRef) argument [all...] |
H A D | SemaStmt.cpp | 495 Sema &SemaRef; member in class:__anon1503::CommaVisitor 497 CommaVisitor(Sema &SemaRef) : Inherited(SemaRef.Context), SemaRef(SemaRef) {} argument 500 SemaRef.DiagnoseCommaOperator(E->getLHS(), E->getExprLoc()); 1852 static bool FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, argument 1855 ExprResult Res = SemaRef.CorrectDelayedTyposInExpr(Init); 1867 SemaRef.DeduceAutoType(Decl->getTypeSourceInfo(), Init, InitType) == 1869 SemaRef 1902 NoteForRangeBeginEndFunction(Sema &SemaRef, Expr *E, BeginEndFunction BEF) argument 1925 BuildForRangeVarDecl(Sema &SemaRef, SourceLocation Loc, QualType Type, const char *Name) argument 2030 BuildNonArrayForRange(Sema &SemaRef, Expr *BeginRange, Expr *EndRange, QualType RangeType, VarDecl *BeginVar, VarDecl *EndVar, SourceLocation ColonLoc, OverloadCandidateSet *CandidateSet, ExprResult *BeginExpr, ExprResult *EndExpr, BeginEndFunction *BEF) argument 2114 RebuildForRangeWithDereference(Sema &SemaRef, Scope *S, SourceLocation ForLoc, SourceLocation CoawaitLoc, Stmt *LoopVarDecl, SourceLocation ColonLoc, Expr *Range, SourceLocation RangeLoc, SourceLocation RParenLoc) argument 2152 InvalidateOnErrorScope(Sema &SemaRef, Decl *D, bool Enabled) argument 2447 DiagnoseForRangeReferenceVariableCopies(Sema &SemaRef, const VarDecl *VD, QualType RangeInitType) argument 2521 DiagnoseForRangeConstVariableCopies(Sema &SemaRef, const VarDecl *VD) argument 2562 DiagnoseForRangeVariableCopies(Sema &SemaRef, const CXXForRangeStmt *ForStmt) argument [all...] |
H A D | SemaTemplate.cpp | 500 static TemplateArgumentLoc translateTemplateArgument(Sema &SemaRef, argument 506 QualType T = SemaRef.GetTypeFromParser(Arg.getAsType(), &DI); 508 DI = SemaRef.Context.getTrivialTypeSourceInfo(T, Arg.getLocation()); 526 SemaRef.Context), 544 static void maybeDiagnoseTemplateParameterShadow(Sema &SemaRef, Scope *S, argument 547 NamedDecl *PrevDecl = SemaRef.LookupSingleName( 550 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl); 2040 checkBuiltinTemplateIdType(Sema &SemaRef, BuiltinTemplateDecl *BTD, argument 2044 ASTContext &Context = SemaRef.getASTContext(); 2053 SemaRef 3247 SubstDefaultTemplateArgument(Sema &SemaRef, TemplateDecl *Template, SourceLocation TemplateLoc, SourceLocation RAngleLoc, TemplateTypeParmDecl *Param, SmallVectorImpl<TemplateArgument> &Converted) argument 3304 SubstDefaultTemplateArgument(Sema &SemaRef, TemplateDecl *Template, SourceLocation TemplateLoc, SourceLocation RAngleLoc, NonTypeTemplateParmDecl *Param, SmallVectorImpl<TemplateArgument> &Converted) argument 3355 SubstDefaultTemplateArgument(Sema &SemaRef, TemplateDecl *Template, SourceLocation TemplateLoc, SourceLocation RAngleLoc, TemplateTemplateParmDecl *Param, SmallVectorImpl<TemplateArgument> &Converted, NestedNameSpecifierLoc &QualifierLoc) argument 8401 CurrentInstantiationRebuilder(Sema &SemaRef, SourceLocation Loc, DeclarationName Entity) argument [all...] |
H A D | SemaType.cpp | 2777 Sema &SemaRef = state.getSema(); local 2805 T = SemaRef.Context.VoidTy; 2813 T = SemaRef.GetTypeFromParser(D.getName().ConversionFunctionId, 2835 if (!(SemaRef.getLangOpts().CPlusPlus14 2843 bool Cxx = SemaRef.getLangOpts().CPlusPlus; 2844 switch (cast<TagDecl>(SemaRef.CurContext)->getTagKind()) { 2871 if (!SemaRef.getLangOpts().CPlusPlus14 || 2876 if (!SemaRef.getLangOpts().CPlusPlus14 || 2904 (!SemaRef.getLangOpts().CPlusPlus11 || 2915 if (SemaRef [all...] |
H A D | SemaChecking.cpp | 242 static bool SemaBuiltinSEHScopeCheck(Sema &SemaRef, CallExpr *TheCall, argument 248 if (!SemaRef.ActiveTemplateInstantiations.empty()) 251 Scope *S = SemaRef.getCurScope(); 256 SemaRef.Diag(TheCall->getExprLoc(), DiagID) 8589 static bool CheckForReference(Sema &SemaRef, const Expr *E, argument 8602 if (!Call->getCallReturnType(SemaRef.Context)->isReferenceType()) 8609 SemaRef.Diag(E->getExprLoc(), PD); 8613 SemaRef.Diag(FD->getLocation(), diag::note_reference_is_return_value) << FD; 8975 Sema &SemaRef; member in class:__anon1434::SequenceChecker 9033 EvalOK = E->EvaluateAsBooleanCondition(Result, Self.SemaRef [all...] |
H A D | SemaDecl.cpp | 710 static bool isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result, argument 714 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupTagName); 715 SemaRef.LookupParsedName(R, S, &SS); 741 SemaRef.Diag(NameLoc, diag::err_use_of_tag_name_without_tag) 742 << Name << TagName << SemaRef.getLangOpts().CPlusPlus 747 SemaRef.Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type) 752 SemaRef.LookupParsedName(Result, S, &SS); 4088 static bool CheckAnonMemberRedeclaration(Sema &SemaRef, argument 4094 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupMemberName, 4096 if (!SemaRef 4129 InjectAnonymousStructOrUnionMembers(Sema &SemaRef, Scope *S, DeclContext *Owner, RecordDecl *AnonRecord, AccessSpecifier AS, SmallVectorImpl<NamedDecl *> &Chaining) argument 7160 DiagnoseInvalidRedeclaration( Sema &SemaRef, LookupResult &Previous, FunctionDecl *NewFD, ActOnFDArgs &ExtraArgs, bool IsLocalFriend, Scope *S) argument 7300 getFunctionStorageClass(Sema &SemaRef, Declarator &D) argument 7335 CreateNewFunctionDecl(Sema &SemaRef, Declarator &D, DeclContext *DC, QualType &R, TypeSourceInfo *TInfo, StorageClass SC, bool &IsVirtualOkay) argument 12171 createFriendTagNNSFixIt(Sema &SemaRef, NamedDecl *ND, Scope *S, SourceLocation NameLoc) argument [all...] |
H A D | SemaDeclCXX.cpp | 764 static bool CheckConstexprParameterTypes(Sema &SemaRef, argument 774 SemaRef.RequireLiteralType(ParamLoc, *i, 863 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl, argument 889 SemaRef.Diag(TL.getBeginLoc(), diag::err_constexpr_vla) 901 SemaRef.Diag(DS->getLocStart(), 902 SemaRef.getLangOpts().CPlusPlus14 922 SemaRef.Diag(VD->getLocation(), 929 SemaRef.RequireLiteralType( 936 SemaRef.Diag(VD->getLocation(), 942 SemaRef 976 CheckConstexprCtorInitializer(Sema &SemaRef, const FunctionDecl *Dcl, FieldDecl *Field, llvm::SmallSet<Decl*, 16> &Inits, bool &Diagnosed) argument 1015 CheckConstexprFunctionStmt(Sema &SemaRef, const FunctionDecl *Dcl, Stmt *S, SmallVectorImpl<SourceLocation> &ReturnStmts, SourceLocation &Cxx1yLoc) argument 2615 DiagnoseUninitializedFields( Sema &SemaRef, const CXXConstructorDecl *Constructor) argument 2746 FindBaseInitializer(Sema &SemaRef, CXXRecordDecl *ClassDecl, QualType BaseType, const CXXBaseSpecifier *&DirectBaseSpec, const CXXBaseSpecifier *&VirtualBaseSpec) argument 3324 CastForMoving(Sema &SemaRef, Expr *E, QualType T = QualType()) argument 3347 BuildImplicitBaseInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, ImplicitInitializerKind ImplicitInitKind, CXXBaseSpecifier *BaseSpec, bool IsInheritedVirtualBase, CXXCtorInitializer *&CXXBaseInit) argument 3430 BuildImplicitMemberInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, ImplicitInitializerKind ImplicitInitKind, FieldDecl *Field, IndirectFieldDecl *Indirect, CXXCtorInitializer *&CXXMemberInit) argument 3763 CollectFieldInitializer(Sema &SemaRef, BaseAndFieldInfo &Info, FieldDecl *Field, IndirectFieldDecl *Indirect = nullptr) argument 4049 DiagnoseBaseOrMemInitializerOrder( Sema &SemaRef, const CXXConstructorDecl *Constructor, ArrayRef<CXXCtorInitializer *> Inits) argument 11657 CheckOperatorNewDeleteDeclarationScope(Sema &SemaRef, const FunctionDecl *FnDecl) argument 11677 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl, CanQualType ExpectedResultType, CanQualType ExpectedFirstParamType, unsigned DependentParamTypeDiag, unsigned InvalidParamTypeDiag) argument 11725 CheckOperatorNewDeclaration(Sema &SemaRef, const FunctionDecl *FnDecl) argument 11756 CheckOperatorDeleteDeclaration(Sema &SemaRef, FunctionDecl *FnDecl) argument 11914 checkLiteralOperatorTemplateParameterList(Sema &SemaRef, FunctionTemplateDecl *TpDecl) argument [all...] |
/external/clang/include/clang/Sema/ |
H A D | SemaInternal.h | 71 SourceLocation Loc, Sema &SemaRef, 75 if (Var->hasDefinition(SemaRef.Context) == VarDecl::DeclarationOnly && 78 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()]; 83 SemaRef.tryCaptureVariable(Var, Loc, Sema::TryCapture_Implicit, 89 Var->markUsed(SemaRef.Context); 109 TypoCorrectionConsumer(Sema &SemaRef, argument 117 SavedTCIndex(0), SemaRef(SemaRef), S(S), 120 Result(SemaRef, TypoName, LookupKind), 121 Namespaces(SemaRef 70 MarkVarDeclODRUsed(VarDecl *Var, SourceLocation Loc, Sema &SemaRef, const unsigned *const FunctionScopeIndexToStopAt) argument 322 Sema &SemaRef; member in class:clang::TypoCorrectionConsumer [all...] |
H A D | Lookup.h | 129 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo, argument 135 SemaPtr(&SemaRef), 151 LookupResult(Sema &SemaRef, DeclarationName Name, argument 157 SemaPtr(&SemaRef), 333 static bool isVisible(Sema &SemaRef, NamedDecl *D) { argument 340 return isVisibleSlow(SemaRef, D); 356 static bool isVisibleSlow(Sema &SemaRef, NamedDecl *D);
|
H A D | Sema.h | 1092 Sema &SemaRef; member in class:clang::Sema::SemaDiagnosticBuilder 1096 SemaDiagnosticBuilder(DiagnosticBuilder &DB, Sema &SemaRef, unsigned DiagID) argument 1097 : DiagnosticBuilder(DB), SemaRef(SemaRef), DiagID(DiagID) { } 1124 SemaRef.EmitCurrentDiagnostic(DiagID); 6822 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, 6829 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, 6835 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, 6842 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, 6852 InstantiatingTemplate(Sema &SemaRef, SourceLocatio 6909 Sema &SemaRef; member in struct:clang::Sema::InstantiatingTemplate 6952 Sema &SemaRef; member in class:clang::Sema::SFINAETrap 6958 SFINAETrap(Sema &SemaRef, bool AccessCheckingSFINAE = false) argument 6987 Sema &SemaRef; member in class:clang::Sema::TentativeAnalysisScope 6992 TentativeAnalysisScope(Sema &SemaRef) argument [all...] |