/external/clang/lib/Sema/ |
SemaTemplateInstantiateDecl.cpp | 40 static bool SubstQualifier(Sema &SemaRef, const DeclT *OldDecl, DeclT *NewDecl, 49 SemaRef, 55 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), 67 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); 72 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); 298 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), 312 = NamespaceAliasDecl::Create(SemaRef.Context, Owner, 329 DI = SemaRef.SubstType(DI, TemplateArgs, 333 DI = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef.Context.IntTy) [all...] |
SemaTemplateInstantiate.cpp | 204 Sema &SemaRef, ActiveTemplateInstantiation::InstantiationKind Kind, 208 : SemaRef(SemaRef), SavedInNonInstantiationSFINAEContext( 209 SemaRef.InNonInstantiationSFINAEContext) { 212 if (SemaRef.Diags.hasFatalErrorOccurred()) { 227 SemaRef.InNonInstantiationSFINAEContext = false; 228 SemaRef.ActiveTemplateInstantiations.push_back(Inst); 230 ++SemaRef.NonInstantiationEntries; 235 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, 237 : InstantiatingTemplate(SemaRef, [all...] |
SemaOpenMP.cpp | 112 Sema &SemaRef; 122 explicit DSAStackTy(Sema &S) : Stack(1), SemaRef(S) {} 448 bool IsConstant = Type.isConstant(SemaRef.getASTContext()); 458 SemaRef.getLangOpts().CPlusPlus ? Type->getAsCXXRecordDecl() : nullptr; 460 !(SemaRef.getLangOpts().CPlusPlus && RD && RD->hasMutableFields())) { 633 Expr *NumIterations, Sema &SemaRef, 640 Sema &SemaRef; 643 explicit VarDeclFilterCCC(Sema &S) : SemaRef(S) {} 648 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext() [all...] |
TreeTransform.h | 113 Sema &SemaRef; 122 TreeTransform(Sema &SemaRef) : SemaRef(SemaRef) { } 137 Sema &getSema() const { return SemaRef; } 148 bool AlwaysRebuild() { return SemaRef.ArgumentPackSubstitutionIndex != -1; } 557 return SemaRef.Context.getTrivialTypeSourceInfo(T, [all...] |
SemaInit.cpp | 236 Sema &SemaRef; 316 static ExprResult PerformEmptyInit(Sema &SemaRef, 342 ExprResult InitListChecker::PerformEmptyInit(Sema &SemaRef, 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, Kind.getLocation(), Best) [all...] |
SemaExprMember.cpp | 37 static bool isProvablyNotDerivedFrom(Sema &SemaRef, CXXRecordDecl *Record, 92 static IMAKind ClassifyImplicitMemberAccess(Sema &SemaRef, 96 DeclContext *DC = SemaRef.getFunctionLevelDeclContext(); 98 bool isStaticContext = SemaRef.CXXThisTypeOverride.isNull() && 138 switch (SemaRef.ExprEvalContexts.back().Context) { 140 if (isField && SemaRef.getLangOpts().CPlusPlus11) 189 if (isProvablyNotDerivedFrom(SemaRef, contextClass, Classes)) 198 static void diagnoseInstanceReference(Sema &SemaRef, 209 DeclContext *FunctionLevelDC = SemaRef.getFunctionLevelDeclContext(); 219 SemaRef.Diag(Loc, diag::err_invalid_member_use_in_static_method [all...] |
SemaCodeComplete.cpp | 124 Sema &SemaRef; 172 explicit ResultBuilder(Sema &SemaRef, CodeCompletionAllocator &Allocator, 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; } 524 SemaRef.SourceMgr.isInSystemHeader [all...] |
SemaLookup.cpp | [all...] |
SemaStmt.cpp | [all...] |
CodeCompleteConsumer.cpp | 432 PrintingCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef, 447 = Results[I].CreateCodeCompletionString(SemaRef, getAllocator(), 465 = Results[I].CreateCodeCompletionString(SemaRef, getAllocator(), 509 PrintingCodeCompleteConsumer::ProcessOverloadCandidates(Sema &SemaRef, 515 = Candidates[I].CreateSignatureString(CurrentArg, SemaRef,
|
SemaDeclCXX.cpp | 742 static bool CheckConstexprParameterTypes(Sema &SemaRef, 752 SemaRef.RequireLiteralType(ParamLoc, *i, [all...] |
SemaOverload.cpp | [all...] |
Sema.cpp | 393 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { 405 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 411 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 421 VD->isUsableInConstantExpressions(SemaRef->Context)) 428 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 434 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); [all...] |
SemaDecl.cpp | 667 static bool isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result, 671 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupTagName); 672 SemaRef.LookupParsedName(R, S, &SS); 698 SemaRef.Diag(NameLoc, diag::err_use_of_tag_name_without_tag) 699 << Name << TagName << SemaRef.getLangOpts().CPlusPlus 704 SemaRef.Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type) 709 SemaRef.LookupParsedName(Result, S, &SS); [all...] |
SemaType.cpp | [all...] |
SemaTemplate.cpp | 485 static TemplateArgumentLoc translateTemplateArgument(Sema &SemaRef, 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, 532 NamedDecl *PrevDecl = SemaRef.LookupSingleName( 535 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl); [all...] |
/external/clang/include/clang/Sema/ |
Template.h | 186 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 // Save the current scope from SemaRef since the LocalInstantiationScope 279 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope [all...] |
SemaInternal.h | 59 SourceLocation Loc, Sema &SemaRef, 63 if (Var->hasDefinition(SemaRef.Context) == VarDecl::DeclarationOnly && 66 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()]; 70 SemaRef.tryCaptureVariable(Var, Loc, Sema::TryCapture_Implicit, 76 Var->markUsed(SemaRef.Context); 96 TypoCorrectionConsumer(Sema &SemaRef, 104 SavedTCIndex(0), SemaRef(SemaRef), S(S), 107 Result(SemaRef, TypoName, LookupKind), 108 Namespaces(SemaRef.Context, SemaRef.CurContext, SS) [all...] |
Lookup.h | 129 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo, 135 SemaPtr(&SemaRef), 151 LookupResult(Sema &SemaRef, DeclarationName Name, 157 SemaPtr(&SemaRef), 289 static bool isVisible(Sema &SemaRef, NamedDecl *D) { 296 return isVisibleSlow(SemaRef, D); 312 static bool isVisibleSlow(Sema &SemaRef, NamedDecl *D);
|
Sema.h | [all...] |
TypoCorrection.h | 329 FunctionCallFilterCCC(Sema &SemaRef, unsigned NumArgs,
|
/external/clang/lib/ARCMigrate/ |
Internals.h | 150 Sema &SemaRef; 161 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags),
|
Transforms.cpp | 33 EnableCFBridgeFns = SemaRef.isKnownName("CFBridgingRetain") && 34 SemaRef.isKnownName("CFBridgingRelease");
|
/external/clang/include/clang/Serialization/ |
ASTWriter.h | 518 void WriteSelectors(Sema &SemaRef); 519 void WriteReferencedSelectorsPool(Sema &SemaRef); 527 void WriteOpenCLExtensions(Sema &SemaRef); 530 void WriteLateParsedTemplates(Sema &SemaRef); 531 void WriteOptimizePragmaOptions(Sema &SemaRef); 554 void WriteASTCore(Sema &SemaRef, 568 /// \param SemaRef a reference to the semantic analysis object that processed 577 void WriteAST(Sema &SemaRef, [all...] |
/external/clang/lib/Serialization/ |
ASTWriter.cpp | [all...] |