/external/clang/lib/Sema/ |
MultiInitializer.cpp | 57 bool MultiInitializer::DiagnoseUnexpandedParameterPack(Sema &SemaRef) const { 59 return SemaRef.DiagnoseUnexpandedParameterPack(getInitList()); 61 if (SemaRef.DiagnoseUnexpandedParameterPack(*I)) 75 ExprResult MultiInitializer::PerformInit(Sema &SemaRef, 89 InitializationSequence InitSeq(SemaRef, Entity, Kind, Args, NumArgs); 90 return InitSeq.Perform(SemaRef, Entity, Kind, 91 MultiExprArg(SemaRef, Args, NumArgs), 0);
|
SemaTemplateInstantiateDecl.cpp | 34 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), 50 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), 104 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), 118 = NamespaceAliasDecl::Create(SemaRef.Context, Owner, 135 DI = SemaRef.SubstType(DI, TemplateArgs, 139 DI = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef.Context.IntTy); 142 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType()); 148 Typedef = TypeAliasDecl::Create(SemaRef.Context, Owner, D->getLocStart(), 151 Typedef = TypedefDecl::Create(SemaRef.Context, Owner, D->getLocStart() [all...] |
SemaTemplateInstantiate.cpp | 171 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, 174 : SemaRef(SemaRef), 176 SemaRef.InNonInstantiationSFINAEContext) 188 SemaRef.InNonInstantiationSFINAEContext = false; 189 SemaRef.ActiveTemplateInstantiations.push_back(Inst); 193 Sema::InstantiatingTemplate::InstantiatingTemplate(Sema &SemaRef, 199 : SemaRef(SemaRef), 201 SemaRef.InNonInstantiationSFINAEContext [all...] |
TreeTransform.h | 113 Sema &SemaRef; 117 TreeTransform(Sema &SemaRef) : SemaRef(SemaRef) { } 132 Sema &getSema() const { return SemaRef; } 485 return SemaRef.Context.getTrivialTypeSourceInfo(T, 681 return SemaRef.Context.getTypeDeclType(Typedef); 686 return SemaRef.Context.getTypeDeclType(Record); 691 return SemaRef.Context.getTypeDeclType(Enum); 720 return SemaRef.Context.getAutoType(Deduced) [all...] |
Sema.cpp | 293 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { 302 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 308 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 316 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 322 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 625 if (llvm::Optional<TemplateDeductionInfo*> Info = SemaRef.isSFINAEContext()) { 634 ++SemaRef.NumSFINAEErrors; 635 SemaRef.Diags.setLastDiagnosticIgnored(); 636 SemaRef.Diags.Clear(); 645 if (!SemaRef.AccessCheckingSFINAE & [all...] |
SemaInit.cpp | 170 Sema &SemaRef; 281 InitializationSequence InitSeq(SemaRef, Entity, Kind, 0, 0); 303 SemaRef.Diag(Loc, diag::err_init_reference_member_uninitialized) 306 SemaRef.Diag(Field->getLocation(), 314 InitializationSequence InitSeq(SemaRef, MemberEntity, Kind, 0, 0); 316 InitSeq.Diagnose(SemaRef, MemberEntity, Kind, 0, 0); 322 = InitSeq.Perform(SemaRef, MemberEntity, Kind, MultiExprArg()); 337 ILE->updateInit(SemaRef.Context, Init, MemberInit.takeAs<Expr>()); 353 assert((ILE->getType() != SemaRef.Context.VoidTy) && 396 if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) [all...] |
SemaExprMember.cpp | 28 static bool IsProvablyNotDerivedFrom(Sema &SemaRef, 40 CanQualType BaseT = SemaRef.Context.getCanonicalType((*I).getType()); 45 if (!IsProvablyNotDerivedFrom(SemaRef, BaseRecord, Bases)) 92 static IMAKind ClassifyImplicitMemberAccess(Sema &SemaRef, 97 DeclContext *DC = SemaRef.getFunctionLevelDeclContext(); 142 if (SemaRef.getLangOptions().CPlusPlus0x && hasField) { 150 = SemaRef.ExprEvalContexts.back(); 179 if (IsProvablyNotDerivedFrom(SemaRef, contextClass, Classes)) 186 static void DiagnoseInstanceReference(Sema &SemaRef, 195 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(SemaRef.CurContext)) [all...] |
CodeCompleteConsumer.cpp | 344 PrintingCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef, 359 = Results[I].CreateCodeCompletionString(SemaRef, Allocator)) { 373 = Results[I].CreateCodeCompletionString(SemaRef, Allocator)) { 390 PrintingCodeCompleteConsumer::ProcessOverloadCandidates(Sema &SemaRef, 396 = Candidates[I].CreateSignatureString(CurrentArg, SemaRef,
|
SemaCodeComplete.cpp | 119 Sema &SemaRef; 165 explicit ResultBuilder(Sema &SemaRef, CodeCompletionAllocator &Allocator, 168 : SemaRef(SemaRef), Allocator(Allocator), Filter(Filter), 181 if (ObjCMethodDecl *Method = SemaRef.getCurMethodDecl()) 195 return SemaRef.CodeCompleter && 196 SemaRef.CodeCompleter->includeCodePatterns(); 210 PreferredType = SemaRef.Context.getCanonicalType(T); 247 Sema &getSema() const { return SemaRef; } 508 SemaRef.SourceMgr.isInSystemHeader [all...] |
SemaTemplateDeduction.cpp | [all...] |
SemaDeclCXX.cpp | 622 static bool CheckConstexprParameterTypes(Sema &SemaRef, const FunctionDecl *FD, 631 SemaRef.RequireLiteralType(ParamLoc, *i, CCK == Sema::CCK_Declaration ? 632 SemaRef.PDiag(diag::err_constexpr_non_literal_param) 635 SemaRef.PDiag(), 638 SemaRef.Diag(ParamLoc, diag::note_constexpr_tmpl_non_literal_param) 739 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl, 765 SemaRef.Diag(TL.getBeginLoc(), diag::err_constexpr_vla) 779 SemaRef.Diag(DS->getLocStart(), diag::err_constexpr_type_definition) 786 SemaRef.Diag(DS->getLocStart(), diag::err_constexpr_var_declaration) [all...] |
SemaLookup.cpp | 283 IDNS = getIDNS(LookupKind, SemaRef.getLangOptions().CPlusPlus, 295 SemaRef.DeclareGlobalNewDelete(); 368 QualType T = SemaRef.Context.getTypeDeclType(TD); 369 if (!UniqueTypes.insert(SemaRef.Context.getCanonicalType(T))) { [all...] |
SemaStmt.cpp | [all...] |
SemaDecl.cpp | [all...] |
SemaType.cpp | [all...] |
SemaTemplate.cpp | 461 static TemplateArgumentLoc translateTemplateArgument(Sema &SemaRef, 467 QualType T = SemaRef.GetTypeFromParser(Arg.getAsType(), &DI); 469 DI = SemaRef.Context.getTrivialTypeSourceInfo(T, Arg.getLocation()); 487 SemaRef.Context), [all...] |
SemaOverload.cpp | [all...] |
SemaExpr.cpp | [all...] |
/external/clang/include/clang/Sema/ |
Template.h | 186 Sema &SemaRef; 245 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false) 246 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), 250 SemaRef.CurrentInstantiationScope = this; 257 const Sema &getSema() const { return SemaRef; } 267 SemaRef.CurrentInstantiationScope = Outer; 313 Sema &SemaRef; 326 TemplateDeclInstantiator(Sema &SemaRef, DeclContext *Owner [all...] |
MultiInitializer.h | 62 bool DiagnoseUnexpandedParameterPack(Sema &SemaRef) const; 67 ExprResult PerformInit(Sema &SemaRef, InitializedEntity Entity,
|
Lookup.h | 129 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo, 135 SemaRef(SemaRef), 149 LookupResult(Sema &SemaRef, DeclarationName Name, 155 SemaRef(SemaRef), 173 SemaRef(Other.SemaRef), 504 Sema &getSema() const { return SemaRef; } 571 SemaRef.DiagnoseAmbiguousLookup(*this) [all...] |
Sema.h | 720 Sema &SemaRef; 724 SemaDiagnosticBuilder(DiagnosticBuilder &DB, Sema &SemaRef, unsigned DiagID) 725 : DiagnosticBuilder(DB), SemaRef(SemaRef), DiagID(DiagID) { } 727 explicit SemaDiagnosticBuilder(Sema &SemaRef) 728 : DiagnosticBuilder(DiagnosticBuilder::Suppress), SemaRef(SemaRef) { } [all...] |
/external/clang/lib/ARCMigrate/ |
Internals.h | 140 Sema &SemaRef; 146 : Ctx(Ctx), SemaRef(sema), TA(TA), ARCMTMacroLocs(ARCMTMacroLocs) { }
|
/external/clang/include/clang/Serialization/ |
ASTWriter.h | 353 void WriteSelectors(Sema &SemaRef); 354 void WriteReferencedSelectorsPool(Sema &SemaRef); 364 void WriteOpenCLExtensions(Sema &SemaRef); 383 void WriteASTCore(Sema &SemaRef, MemorizeStatCalls *StatCalls, 394 /// \param SemaRef a reference to the semantic analysis object that processed 405 void WriteAST(Sema &SemaRef, MemorizeStatCalls *StatCalls,
|
/external/clang/lib/Serialization/ |
ASTWriter.cpp | [all...] |