/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 | 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...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/Sema/ |
Template.h | 210 Sema &SemaRef; 270 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false) 271 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), 275 SemaRef.CurrentInstantiationScope = this; 282 const Sema &getSema() const { return SemaRef; } 292 SemaRef.CurrentInstantiationScope = Outer; 301 // Save the current scope from SemaRef since the LocalInstantiationScope 303 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope [all...] |
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...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/Sema/ |
Template.h | 210 Sema &SemaRef; 270 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false) 271 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), 275 SemaRef.CurrentInstantiationScope = this; 282 const Sema &getSema() const { return SemaRef; } 292 SemaRef.CurrentInstantiationScope = Outer; 301 // Save the current scope from SemaRef since the LocalInstantiationScope 303 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope [all...] |
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...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/Sema/ |
Template.h | 210 Sema &SemaRef; 270 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false) 271 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), 275 SemaRef.CurrentInstantiationScope = this; 282 const Sema &getSema() const { return SemaRef; } 292 SemaRef.CurrentInstantiationScope = Outer; 301 // Save the current scope from SemaRef since the LocalInstantiationScope 303 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope [all...] |
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...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Sema/ |
Template.h | 210 Sema &SemaRef; 270 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false) 271 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), 275 SemaRef.CurrentInstantiationScope = this; 282 const Sema &getSema() const { return SemaRef; } 292 SemaRef.CurrentInstantiationScope = Outer; 301 // Save the current scope from SemaRef since the LocalInstantiationScope 303 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope [all...] |
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...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/Sema/ |
Template.h | 210 Sema &SemaRef; 270 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false) 271 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), 275 SemaRef.CurrentInstantiationScope = this; 282 const Sema &getSema() const { return SemaRef; } 292 SemaRef.CurrentInstantiationScope = Outer; 301 // Save the current scope from SemaRef since the LocalInstantiationScope 303 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope [all...] |
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...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/Sema/ |
Template.h | 210 Sema &SemaRef; 270 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false) 271 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), 275 SemaRef.CurrentInstantiationScope = this; 282 const Sema &getSema() const { return SemaRef; } 292 SemaRef.CurrentInstantiationScope = Outer; 301 // Save the current scope from SemaRef since the LocalInstantiationScope 303 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope [all...] |
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...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/Sema/ |
Template.h | 210 Sema &SemaRef; 270 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false) 271 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), 275 SemaRef.CurrentInstantiationScope = this; 282 const Sema &getSema() const { return SemaRef; } 292 SemaRef.CurrentInstantiationScope = Outer; 301 // Save the current scope from SemaRef since the LocalInstantiationScope 303 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope [all...] |
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...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/Sema/ |
Template.h | 210 Sema &SemaRef; 270 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false) 271 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), 275 SemaRef.CurrentInstantiationScope = this; 282 const Sema &getSema() const { return SemaRef; } 292 SemaRef.CurrentInstantiationScope = Outer; 301 // Save the current scope from SemaRef since the LocalInstantiationScope 303 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope [all...] |
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...] |
/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); 444 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), 458 = NamespaceAliasDecl::Create(SemaRef.Context, Owner, 475 DI = SemaRef.SubstType(DI, TemplateArgs, 479 DI = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef.Context.IntTy) [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...] |
SemaTemplateInstantiate.cpp | 205 Sema &SemaRef, ActiveTemplateInstantiation::InstantiationKind Kind, 209 : SemaRef(SemaRef), SavedInNonInstantiationSFINAEContext( 210 SemaRef.InNonInstantiationSFINAEContext) { 213 if (SemaRef.Diags.hasFatalErrorOccurred()) { 228 SemaRef.InNonInstantiationSFINAEContext = false; 229 SemaRef.ActiveTemplateInstantiations.push_back(Inst); 231 ++SemaRef.NonInstantiationEntries; 236 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, 238 : InstantiatingTemplate(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...] |
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...] |
/external/clang/include/clang/Serialization/ |
ModuleFileExtension.h | 124 virtual void writeExtensionContents(Sema &SemaRef,
|
/external/clang/lib/Frontend/ |
TestModuleFileExtension.h | 33 void writeExtensionContents(Sema &SemaRef,
|