/external/clang/lib/Sema/ |
SemaTemplateInstantiateDecl.cpp | 45 = 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.getSourceManager().isInSystemHeader(D->getLocStart()) [all...] |
SemaTemplateInstantiate.cpp | 209 SemaRef.InNonInstantiationSFINAEContext; 221 SemaRef.InNonInstantiationSFINAEContext = false; 222 SemaRef.ActiveTemplateInstantiations.push_back(Inst); 224 ++SemaRef.NonInstantiationEntries; 229 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, 232 : SemaRef(SemaRef) 239 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, 242 : SemaRef(SemaRef) [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; } 536 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 | 36 static bool isProvablyNotDerivedFrom(Sema &SemaRef, CXXRecordDecl *Record, 91 static IMAKind ClassifyImplicitMemberAccess(Sema &SemaRef, 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, 207 DeclContext *FunctionLevelDC = SemaRef.getFunctionLevelDeclContext(); 217 SemaRef.Diag(Loc, diag::err_invalid_member_use_in_static_method [all...] |
SemaLookup.cpp | 288 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))) { [all...] |
SemaOpenMP.cpp | 109 Sema &SemaRef; 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; 546 explicit VarDeclFilterCCC(Sema &S) : SemaRef(S) {} 551 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), 552 SemaRef.getCurScope()) [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; } 525 SemaRef.SourceMgr.isInSystemHeader [all...] |
CodeCompleteConsumer.cpp | 435 PrintingCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef, 450 = Results[I].CreateCodeCompletionString(SemaRef, getAllocator(), 468 = Results[I].CreateCodeCompletionString(SemaRef, getAllocator(), 487 PrintingCodeCompleteConsumer::ProcessOverloadCandidates(Sema &SemaRef, 493 = Candidates[I].CreateSignatureString(CurrentArg, SemaRef,
|
SemaDeclCXX.cpp | 718 static bool CheckConstexprParameterTypes(Sema &SemaRef, 728 SemaRef.RequireLiteralType(ParamLoc, *i, [all...] |
SemaStmt.cpp | [all...] |
SemaOverload.cpp | [all...] |
Sema.cpp | 375 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { 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); [all...] |
SemaType.cpp | [all...] |
SemaDecl.cpp | 618 static bool isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result, 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); [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/ |
SemaInternal.h | 58 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);
|
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 new LocalInstantiationScope(SemaRef, CombineWithOuterScope); 367 Sema &SemaRef; [all...] |
Lookup.h | 129 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo, 135 SemaRef(SemaRef), 151 LookupResult(Sema &SemaRef, DeclarationName Name, 157 SemaRef(SemaRef), 177 SemaRef(Other.SemaRef), 289 static bool isVisible(Sema &SemaRef, NamedDecl *D) { 294 if (SemaRef.ActiveTemplateInstantiations.empty() [all...] |
Sema.h | [all...] |
TypoCorrection.h | 308 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 | 477 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/ |
ASTWriter.cpp | [all...] |