/external/clang/lib/ARCMigrate/ |
Internals.h | 150 Sema &SemaRef; 161 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags),
|
/external/clang/include/clang/Sema/ |
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, 117 SavedTCIndex(0), SemaRef(SemaRef), S(S), 120 Result(SemaRef, TypoName, LookupKind), 121 Namespaces(SemaRef.Context, SemaRef.CurContext, SS) [all...] |
Sema.h | [all...] |
/external/clang/lib/Sema/ |
SemaExprMember.cpp | 33 static bool isProvablyNotDerivedFrom(Sema &SemaRef, CXXRecordDecl *Record, 89 static IMAKind ClassifyImplicitMemberAccess(Sema &SemaRef, 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, 207 DeclContext *FunctionLevelDC = SemaRef.getFunctionLevelDeclContext(); 217 SemaRef.Diag(Loc, diag::err_invalid_member_use_in_static_method [all...] |
SemaOpenMP.cpp | 120 Sema &SemaRef; 132 explicit DSAStackTy(Sema &S) : Stack(1), SemaRef(S) {} 618 static VarDecl *buildVarDecl(Sema &SemaRef, SourceLocation Loc, QualType Type, 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, VD, D->getType().getNonReferenceType() [all...] |
SemaCodeComplete.cpp | 123 Sema &SemaRef; 171 explicit ResultBuilder(Sema &SemaRef, CodeCompletionAllocator &Allocator, 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) { [all...] |
SemaInit.cpp | 238 Sema &SemaRef; 321 static ExprResult PerformEmptyInit(Sema &SemaRef, 376 ExprResult InitListChecker::PerformEmptyInit(Sema &SemaRef, 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, Kind.getLocation(), Best) [all...] |
SemaStmt.cpp | 495 Sema &SemaRef; 497 CommaVisitor(Sema &SemaRef) : Inherited(SemaRef.Context), SemaRef(SemaRef) {} 500 SemaRef.DiagnoseCommaOperator(E->getLHS(), E->getExprLoc()); [all...] |
SemaOverload.cpp | [all...] |
SemaType.cpp | [all...] |
SemaChecking.cpp | 242 static bool SemaBuiltinSEHScopeCheck(Sema &SemaRef, CallExpr *TheCall, 248 if (!SemaRef.ActiveTemplateInstantiations.empty()) 251 Scope *S = SemaRef.getCurScope(); 256 SemaRef.Diag(TheCall->getExprLoc(), DiagID) [all...] |
TreeTransform.h | 114 Sema &SemaRef; 123 TreeTransform(Sema &SemaRef) : SemaRef(SemaRef) { } 138 Sema &getSema() const { return SemaRef; } 149 bool AlwaysRebuild() { return SemaRef.ArgumentPackSubstitutionIndex != -1; } 570 return SemaRef.Context.getTrivialTypeSourceInfo(T, [all...] |