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

12

/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSemaInternal.h46 SourceLocation Loc, Sema &SemaRef,
50 if (Var->hasDefinition(SemaRef.Context) == VarDecl::DeclarationOnly &&
53 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()];
57 SemaRef.tryCaptureVariable(Var, Loc, Sema::TryCapture_Implicit,
63 Var->markUsed(SemaRef.Context);
45 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
666 Sema &SemaRef; member in class:clang::LookupResult
[all...]
H A DSema.h901 Sema &SemaRef; member in class:clang::Sema::SemaDiagnosticBuilder
905 SemaDiagnosticBuilder(DiagnosticBuilder &DB, Sema &SemaRef, unsigned DiagID) argument
906 : DiagnosticBuilder(DB), SemaRef(SemaRef), DiagID(DiagID) { }
925 SemaRef.EmitCurrentDiagnostic(DiagID);
6201 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6208 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6214 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6221 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6231 InstantiatingTemplate(Sema &SemaRef, SourceLocatio
6284 Sema &SemaRef; member in struct:clang::Sema::InstantiatingTemplate
6320 Sema &SemaRef; member in class:clang::Sema::SFINAETrap
6326 SFINAETrap(Sema &SemaRef, bool AccessCheckingSFINAE = false) argument
6355 Sema &SemaRef; member in class:clang::Sema::TentativeAnalysisScope
6360 TentativeAnalysisScope(Sema &SemaRef) argument
[all...]
H A DTypoCorrection.h307 FunctionCallFilterCCC(Sema &SemaRef, unsigned NumArgs,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp45 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(),
61 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(),
178 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(),
192 = NamespaceAliasDecl::Create(SemaRef.Context, Owner,
209 DI = SemaRef.SubstType(DI, TemplateArgs,
213 DI = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef.Context.IntTy);
216 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType());
227 RD->getEnclosingNamespaceContext() == SemaRef.getStdNamespace() &&
230 SemaRef
2993 InstantiateExceptionSpec(Sema &SemaRef, FunctionDecl *New, const FunctionProtoType *Proto, const MultiLevelTemplateArgumentList &TemplateArgs) argument
[all...]
H A DSemaTemplateInstantiate.cpp194 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, argument
197 : SemaRef(SemaRef),
199 SemaRef.InNonInstantiationSFINAEContext)
211 SemaRef.InNonInstantiationSFINAEContext = false;
212 SemaRef.ActiveTemplateInstantiations.push_back(Inst);
217 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, argument
220 : SemaRef(SemaRef),
222 SemaRef
240 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateDecl *Template, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument
265 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionTemplateDecl *FunctionTemplate, ArrayRef<TemplateArgument> TemplateArgs, ActiveTemplateInstantiation::InstantiationKind Kind, sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) argument
294 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, ClassTemplatePartialSpecializationDecl *PartialSpec, ArrayRef<TemplateArgument> TemplateArgs, sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) argument
318 InstantiatingTemplate( Sema &SemaRef, SourceLocation PointOfInstantiation, VarTemplatePartialSpecializationDecl *PartialSpec, ArrayRef<TemplateArgument> TemplateArgs, sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) argument
342 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, ParmVarDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument
366 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, NamedDecl *Template, NonTypeTemplateParmDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument
390 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, NamedDecl *Template, TemplateTemplateParmDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument
414 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateDecl *Template, NamedDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) argument
741 TemplateInstantiator(Sema &SemaRef, const MultiLevelTemplateArgumentList &TemplateArgs, SourceLocation Loc, DeclarationName Entity) argument
[all...]
H A DTreeTransform.h114 Sema &SemaRef; member in class:clang::TreeTransform
123 TreeTransform(Sema &SemaRef) : SemaRef(SemaRef) { } argument
138 Sema &getSema() const { return SemaRef; }
149 bool AlwaysRebuild() { return SemaRef.ArgumentPackSubstitutionIndex != -1; }
537 return SemaRef.Context.getTrivialTypeSourceInfo(T,
758 return SemaRef.Context.getTypeDeclType(Typedef);
763 return SemaRef.Context.getTypeDeclType(Record);
768 return SemaRef
[all...]
H A DSemaInit.cpp236 Sema &SemaRef; member in class:__anon3287::InitListChecker
344 InitializationSequence InitSeq(SemaRef, Entity, Kind, None);
362 Expr *DIE = CXXDefaultInitExpr::Create(SemaRef.Context,
367 ILE->updateInit(SemaRef.Context, Init, DIE);
381 SemaRef.Diag(Loc, diag::err_init_reference_member_uninitialized)
384 SemaRef.Diag(Field->getLocation(),
392 InitializationSequence InitSeq(SemaRef, MemberEntity, Kind, None);
394 InitSeq.Diagnose(SemaRef, MemberEntity, Kind, None);
400 = InitSeq.Perform(SemaRef, MemberEntity, Kind, None);
415 ILE->updateInit(SemaRef
1584 ExpandAnonymousFieldDesignator(Sema &SemaRef, DesignatedInitExpr *DIE, unsigned DesigIdx, IndirectFieldDecl *IndirectField) argument
1630 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
473 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument
583 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, SourceRange BaseRange, const RecordType *RTy, SourceLocation OpLoc, CXXScopeSpec &SS, bool HasTemplateArgs) argument
852 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 = 0) argument
[all...]
H A DSemaCodeComplete.cpp124 Sema &SemaRef; member in class:__anon3250::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; }
523 SemaRef
1517 AddOrdinaryNameResults(Sema::ParserCompletionContext CCC, Scope *S, Sema &SemaRef, ResultBuilder &Results) argument
5403 AddClassMessageCompletions(Sema &SemaRef, Scope *S, ParsedType Receiver, ArrayRef<IdentifierInfo *> SelIdents, bool AtArgumentExpression, bool IsSuper, ResultBuilder &Results) argument
[all...]
H A DSemaLookup.cpp288 IDNS = getIDNS(LookupKind, SemaRef.getLangOpts().CPlusPlus,
300 SemaRef.DeclareGlobalNewDelete();
311 if (!SemaRef.Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID))
405 QualType T = SemaRef.Context.getTypeDeclType(TD);
406 if (!UniqueTypes.insert(SemaRef.Context.getCanonicalType(T))) {
1241 bool LookupResult::isVisibleSlow(Sema &SemaRef, NamedDecl *D) { argument
1242 assert(D->isHidden() && !SemaRef.ActiveTemplateInstantiations.empty() &&
1248 llvm::DenseSet<Module*> &LookupModules = SemaRef.getLookupModules();
1278 static NamedDecl *findAcceptableDecl(Sema &SemaRef, NamedDecl *D) { argument
1279 assert(!LookupResult::isVisible(SemaRef,
3407 Sema &SemaRef; member in class:__anon3299::TypoCorrectionConsumer
3410 TypoCorrectionConsumer(Sema &SemaRef, IdentifierInfo *Typo) argument
3767 LookupPotentialTypoResult(Sema &SemaRef, LookupResult &Res, IdentifierInfo *Name, Scope *S, CXXScopeSpec *SS, DeclContext *MemberContext, bool EnteringContext, bool isObjCIvarLookup, bool FindHidden) argument
3820 AddKeywordsToConsumer(Sema &SemaRef, TypoCorrectionConsumer &Consumer, Scope *S, CorrectionCandidateCallback &CCC, bool AfterNestedNameSpecifier) argument
3972 checkCorrectionVisibility(Sema &SemaRef, TypoCorrection &TC, DeclarationName TypoName) argument
[all...]
H A DCodeCompleteConsumer.cpp436 PrintingCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef, argument
451 = Results[I].CreateCodeCompletionString(SemaRef, getAllocator(),
469 = Results[I].CreateCodeCompletionString(SemaRef, getAllocator(),
488 PrintingCodeCompleteConsumer::ProcessOverloadCandidates(Sema &SemaRef, argument
494 = Candidates[I].CreateSignatureString(CurrentArg, SemaRef,
H A DSemaDeclCXX.cpp713 static bool CheckConstexprParameterTypes(Sema &SemaRef, argument
722 SemaRef.RequireLiteralType(ParamLoc, *i,
811 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl, argument
838 SemaRef.Diag(TL.getBeginLoc(), diag::err_constexpr_vla)
850 SemaRef.Diag(DS->getLocStart(),
851 SemaRef.getLangOpts().CPlusPlus1y
871 SemaRef.Diag(VD->getLocation(),
878 SemaRef.RequireLiteralType(
884 SemaRef.Diag(VD->getLocation(),
890 SemaRef
924 CheckConstexprCtorInitializer(Sema &SemaRef, const FunctionDecl *Dcl, FieldDecl *Field, llvm::SmallSet<Decl*, 16> &Inits, bool &Diagnosed) argument
959 CheckConstexprFunctionStmt(Sema &SemaRef, const FunctionDecl *Dcl, Stmt *S, SmallVectorImpl<SourceLocation> &ReturnStmts, SourceLocation &Cxx1yLoc) argument
2291 DiagnoseUninitializedFields( Sema &SemaRef, const CXXConstructorDecl *Constructor) argument
2388 FindBaseInitializer(Sema &SemaRef, CXXRecordDecl *ClassDecl, QualType BaseType, const CXXBaseSpecifier *&DirectBaseSpec, const CXXBaseSpecifier *&VirtualBaseSpec) argument
2957 CastForMoving(Sema &SemaRef, Expr *E, QualType T = QualType()) argument
2980 BuildImplicitBaseInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, ImplicitInitializerKind ImplicitInitKind, CXXBaseSpecifier *BaseSpec, bool IsInheritedVirtualBase, CXXCtorInitializer *&CXXBaseInit) argument
3090 BuildImplicitMemberInitializer(Sema &SemaRef, CXXConstructorDecl *Constructor, ImplicitInitializerKind ImplicitInitKind, FieldDecl *Field, IndirectFieldDecl *Indirect, CXXCtorInitializer *&CXXMemberInit) argument
3392 CollectFieldInitializer(Sema &SemaRef, BaseAndFieldInfo &Info, FieldDecl *Field, IndirectFieldDecl *Indirect = 0) argument
3662 DiagnoseBaseOrMemInitializerOrder( Sema &SemaRef, const CXXConstructorDecl *Constructor, ArrayRef<CXXCtorInitializer *> Inits) argument
8194 InheritingConstructorInfo(Sema &SemaRef, CXXRecordDecl *Derived) argument
8463 Sema &SemaRef; member in class:__anon3271::InheritingConstructorInfo
10558 CheckOperatorNewDeleteDeclarationScope(Sema &SemaRef, const FunctionDecl *FnDecl) argument
10578 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl, CanQualType ExpectedResultType, CanQualType ExpectedFirstParamType, unsigned DependentParamTypeDiag, unsigned InvalidParamTypeDiag) argument
10626 CheckOperatorNewDeclaration(Sema &SemaRef, const FunctionDecl *FnDecl) argument
10657 CheckOperatorDeleteDeclaration(Sema &SemaRef, FunctionDecl *FnDecl) argument
[all...]
H A DSemaStmt.cpp1739 static bool FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, argument
1745 SemaRef.DeduceAutoType(Decl->getTypeSourceInfo(), Init, InitType) ==
1747 SemaRef.Diag(Loc, DiagID) << Init->getType();
1757 if (SemaRef.getLangOpts().ObjCAutoRefCount &&
1758 SemaRef.inferObjCARCLifetime(Decl))
1761 SemaRef.AddInitializerToDecl(Decl, Init, /*DirectInit=*/false,
1763 SemaRef.FinalizeDeclaration(Decl);
1764 SemaRef.CurContext->addHiddenDecl(Decl);
1774 void NoteForRangeBeginEndFunction(Sema &SemaRef, Expr *E, argument
1787 Description = SemaRef
1797 BuildForRangeVarDecl(Sema &SemaRef, SourceLocation Loc, QualType Type, const char *Name) argument
1893 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
1971 RebuildForRangeWithDereference(Sema &SemaRef, Scope *S, SourceLocation ForLoc, Stmt *LoopVarDecl, SourceLocation ColonLoc, Expr *Range, SourceLocation RangeLoc, SourceLocation RParenLoc) argument
2009 InvalidateOnErrorScope(Sema &SemaRef, Decl *D, bool Enabled) argument
[all...]
H A DSemaOverload.cpp5113 diagnoseAmbiguousConversion(Sema &SemaRef, SourceLocation Loc, Expr *From, argument
5120 Converter.diagnoseAmbiguous(SemaRef, Loc, T) << From->getSourceRange();
5125 Converter.noteAmbiguous(SemaRef, Conv, ConvTy);
5127 return SemaRef.Owned(From);
5131 diagnoseNoViableConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From, argument
5144 ConvTy.getAsStringInternal(TypeStr, SemaRef.getPrintingPolicy());
5146 Converter.diagnoseExplicitConv(SemaRef, Loc, T, ConvTy)
5150 SemaRef.PP.getLocForEndOfToken(From->getLocEnd()), ")");
5151 Converter.noteExplicitConv(SemaRef, Conversion, ConvTy);
5155 if (SemaRef
5171 recordConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From, Sema::ContextualImplicitConverter &Converter, QualType T, bool HadMultipleCandidates, DeclAccessPair &Found) argument
5199 finishContextualImplicitConversion( Sema &SemaRef, SourceLocation Loc, Expr *From, Sema::ContextualImplicitConverter &Converter) argument
5210 collectViableConversionCandidates(Sema &SemaRef, Expr *From, QualType ToType, UnresolvedSetImpl &ViableConversions, OverloadCandidateSet &CandidateSet) argument
6358 Sema &SemaRef; member in class:clang::__anon3315::BuiltinCandidateTypeSet
6371 BuiltinCandidateTypeSet(Sema &SemaRef) argument
10041 DiagnoseTwoPhaseLookup(Sema &SemaRef, SourceLocation FnLoc, const CXXScopeSpec &SS, LookupResult &R, TemplateArgumentListInfo *ExplicitTemplateArgs, ArrayRef<Expr *> Args) argument
10141 DiagnoseTwoPhaseOperatorLookup(Sema &SemaRef, OverloadedOperatorKind Op, SourceLocation OpLoc, ArrayRef<Expr *> Args) argument
10153 Sema &SemaRef; member in class:__anon3319::BuildRecoveryCallExprRAII
10171 BuildRecoveryCallExpr(Sema &SemaRef, Scope *S, Expr *Fn, UnresolvedLookupExpr *ULE, SourceLocation LParenLoc, llvm::MutableArrayRef<Expr *> Args, SourceLocation RParenLoc, bool EmptyLookup, bool AllowTypoCorrection) argument
10302 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.cpp340 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { argument
352 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
358 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
368 VD->isUsableInConstantExpressions(SemaRef->Context))
375 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
381 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
H A DSemaType.cpp2078 Sema &SemaRef = state.getSema(); local
2109 T = SemaRef.Context.VoidTy;
2117 T = SemaRef.GetTypeFromParser(D.getName().ConversionFunctionId,
2132 (!SemaRef.getLangOpts().CPlusPlus11 || !D.isFunctionDeclarator())) {
2146 if (!(SemaRef.getLangOpts().CPlusPlus1y
2153 switch (cast<TagDecl>(SemaRef.CurContext)->getTagKind()) {
2179 if (!SemaRef.getLangOpts().CPlusPlus1y)
2183 if (!SemaRef.getLangOpts().CPlusPlus1y)
2208 if (SemaRef.getLangOpts().CPlusPlus11 && Error != -1) {
2230 SemaRef
[all...]
H A DSemaDecl.cpp504 static bool isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result, argument
508 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupTagName);
509 SemaRef.LookupParsedName(R, S, &SS);
540 SemaRef.Diag(NameLoc, diag::err_use_of_tag_name_without_tag)
541 << Name << TagName << SemaRef.getLangOpts().CPlusPlus
546 SemaRef.Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type)
551 SemaRef.LookupParsedName(Result, S, &SS);
3419 static bool CheckAnonMemberRedeclaration(Sema &SemaRef, argument
3425 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupMemberName,
3427 if (!SemaRef
3461 InjectAnonymousStructOrUnionMembers(Sema &SemaRef, Scope *S, DeclContext *Owner, RecordDecl *AnonRecord, AccessSpecifier AS, SmallVectorImpl<NamedDecl *> &Chaining, bool MSAnonStruct) argument
6040 DiagnoseInvalidRedeclaration( Sema &SemaRef, LookupResult &Previous, FunctionDecl *NewFD, ActOnFDArgs &ExtraArgs, bool IsLocalFriend, Scope *S) argument
6180 getFunctionStorageClass(Sema &SemaRef, Declarator &D) argument
6216 CreateNewFunctionDecl(Sema &SemaRef, Declarator &D, DeclContext *DC, QualType &R, TypeSourceInfo *TInfo, FunctionDecl::StorageClass SC, bool &IsVirtualOkay) argument
[all...]
H A DSemaTemplate.cpp491 static TemplateArgumentLoc translateTemplateArgument(Sema &SemaRef, argument
497 QualType T = SemaRef.GetTypeFromParser(Arg.getAsType(), &DI);
499 DI = SemaRef.Context.getTrivialTypeSourceInfo(T, Arg.getLocation());
517 SemaRef.Context),
535 static void maybeDiagnoseTemplateParameterShadow(Sema &SemaRef, Scope *S, argument
538 NamedDecl *PrevDecl = SemaRef.LookupSingleName(
541 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl);
3032 /// \param SemaRef the semantic analysis object for which we are performing
3051 SubstDefaultTemplateArgument(Sema &SemaRef, argument
3062 Sema::InstantiatingTemplate Inst(SemaRef, TemplateLo
3109 SubstDefaultTemplateArgument(Sema &SemaRef, TemplateDecl *Template, SourceLocation TemplateLoc, SourceLocation RAngleLoc, NonTypeTemplateParmDecl *Param, SmallVectorImpl<TemplateArgument> &Converted) argument
3161 SubstDefaultTemplateArgument(Sema &SemaRef, TemplateDecl *Template, SourceLocation TemplateLoc, SourceLocation RAngleLoc, TemplateTemplateParmDecl *Param, SmallVectorImpl<TemplateArgument> &Converted, NestedNameSpecifierLoc &QualifierLoc) argument
7843 CurrentInstantiationRebuilder(Sema &SemaRef, SourceLocation Loc, DeclarationName Entity) argument
[all...]
H A DSemaExpr.cpp3963 FunctionCallCCC(Sema &SemaRef, const IdentifierInfo *FuncName, argument
3965 : FunctionCallFilterCCC(SemaRef, NumArgs, HasExplicitTemplateArgs),
10570 static void MakeObjCStringLiteralFixItHint(Sema& SemaRef, QualType DstType, argument
10573 if (!SemaRef.getLangOpts().ObjC1)
10951 TransformToPE(Sema &SemaRef) : BaseTransform(SemaRef) { } argument
10973 !SemaRef.isUnevaluatedContext())
10974 return SemaRef.Diag(E->getLocation(),
11099 static bool IsPotentiallyEvaluatedContext(Sema &SemaRef) { argument
11102 if (SemaRef
12066 DoMarkVarDeclReferenced(Sema &SemaRef, SourceLocation Loc, VarDecl *Var, Expr *E) argument
12185 MarkExprReferenced(Sema &SemaRef, SourceLocation Loc, Decl *D, Expr *E, bool OdrUse) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTWriter.h446 void WriteSelectors(Sema &SemaRef);
447 void WriteReferencedSelectorsPool(Sema &SemaRef);
456 void WriteOpenCLExtensions(Sema &SemaRef);
460 void WriteLateParsedTemplates(Sema &SemaRef);
479 void WriteASTCore(Sema &SemaRef,
491 /// \param SemaRef a reference to the semantic analysis object that processed
499 void WriteAST(Sema &SemaRef,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DInternals.h147 Sema &SemaRef; member in class:clang::arcmt::MigrationPass
158 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags),
H A DTransforms.cpp33 EnableCFBridgeFns = SemaRef.isKnownName("CFBridgingRetain") &&
34 SemaRef.isKnownName("CFBridgingRelease");
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp2803 void ASTWriter::WriteSelectors(Sema &SemaRef) { argument
2807 if (SemaRef.MethodPool.empty() && SelectorIDs.empty())
2822 Sema::GlobalMethodPool::iterator F = SemaRef.MethodPool.find(S);
2828 if (F != SemaRef.MethodPool.end()) {
2901 void ASTWriter::WriteReferencedSelectorsPool(Sema &SemaRef) { argument
2903 if (SemaRef.ReferencedSelectors.empty())
2912 SemaRef.ReferencedSelectors.begin(),
2913 E = SemaRef.ReferencedSelectors.end(); S != E; ++S) {
3518 void ASTWriter::WriteOpenCLExtensions(Sema &SemaRef) { argument
3519 if (!SemaRef
3680 WriteLateParsedTemplates(Sema &SemaRef) argument
3807 WriteAST(Sema &SemaRef, const std::string &OutputFile, Module *WritingModule, StringRef isysroot, bool hasErrors) argument
3843 WriteASTCore(Sema &SemaRef, StringRef isysroot, const std::string &OutputFile, Module *WritingModule) argument
[all...]

Completed in 427 milliseconds

12