HomeSort by relevance Sort by last modified time
    Searched refs:SemaRef (Results 1 - 25 of 34) sorted by null

1 2

  /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);
330 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(),
344 = NamespaceAliasDecl::Create(SemaRef.Context, Owner,
361 DI = SemaRef.SubstType(DI, TemplateArgs,
365 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 136 Sema &SemaRef;
149 : Stack(1), ClauseKindMode(OMPC_unknown), SemaRef(S),
531 static VarDecl *buildVarDecl(Sema &SemaRef, SourceLocation Loc, QualType Type,
533 DeclContext *DC = SemaRef.CurContext;
534 IdentifierInfo *II = &SemaRef.PP.getIdentifierTable().get(Name);
535 TypeSourceInfo *TInfo = SemaRef.Context.getTrivialTypeSourceInfo(Type, Loc);
537 VarDecl::Create(SemaRef.Context, DC, Loc, Loc, II, Type, TInfo, SC_None);
566 SemaRef.getLangOpts().OpenMPUseTLS &&
567 SemaRef.getASTContext().getTargetInfo().isTLSSupported())) ||
570 addDSA(D, buildDeclRefExpr(SemaRef, D, D->getType().getNonReferenceType()
    [all...]
SemaInit.cpp 236 Sema &SemaRef;
317 static ExprResult PerformEmptyInit(Sema &SemaRef,
365 ExprResult InitListChecker::PerformEmptyInit(Sema &SemaRef,
373 InitListExpr DummyInitList(SemaRef.Context, Loc, None, Loc);
379 bool EmptyInitList = SemaRef.getLangOpts().CPlusPlus11 &&
392 InitExpr = VerifyOnly ? &DummyInitList : new (SemaRef.Context)
393 InitListExpr(SemaRef.Context, Loc, None, Loc);
394 InitExpr->setType(SemaRef.Context.VoidTy);
402 InitializationSequence InitSeq(SemaRef, Entity, Kind, SubInit);
413 .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)
186 if (isProvablyNotDerivedFrom(SemaRef, contextClass, Classes))
195 static void diagnoseInstanceReference(Sema &SemaRef,
206 DeclContext *FunctionLevelDC = SemaRef.getFunctionLevelDeclContext();
216 SemaRef.Diag(Loc, diag::err_invalid_member_use_in_static_method
    [all...]
SemaLookup.cpp     [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...]
TreeTransform.h 114 Sema &SemaRef;
123 TreeTransform(Sema &SemaRef) : SemaRef(SemaRef) { }
138 Sema &getSema() const { return SemaRef; }
149 bool AlwaysRebuild() { return SemaRef.ArgumentPackSubstitutionIndex != -1; }
562 return SemaRef.Context.getTrivialTypeSourceInfo(T,
    [all...]
SemaStmt.cpp     [all...]
CodeCompleteConsumer.cpp 432 PrintingCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef,
447 = Results[I].CreateCodeCompletionString(SemaRef, Context,
466 = Results[I].CreateCodeCompletionString(SemaRef, Context,
511 PrintingCodeCompleteConsumer::ProcessOverloadCandidates(Sema &SemaRef,
517 = Candidates[I].CreateSignatureString(CurrentArg, SemaRef,
SemaDeclCXX.cpp 764 static bool CheckConstexprParameterTypes(Sema &SemaRef,
774 SemaRef.RequireLiteralType(ParamLoc, *i,
    [all...]
SemaOverload.cpp     [all...]
SemaCoroutine.cpp 162 static ExprResult buildOperatorCoawaitCall(Sema &SemaRef, Scope *S,
165 SemaRef.LookupOverloadedOperatorName(OO_Coawait, S, E->getType(), QualType(),
167 return SemaRef.CreateOverloadedUnaryOp(Loc, UO_Coawait, Functions, E);
Sema.cpp 426 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) {
438 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
444 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
454 VD->isUsableInConstantExpressions(SemaRef->Context))
461 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
467 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
    [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 71 SourceLocation Loc, Sema &SemaRef,
75 if (Var->hasDefinition(SemaRef.Context) == VarDecl::DeclarationOnly &&
78 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()];
82 SemaRef.tryCaptureVariable(Var, Loc, Sema::TryCapture_Implicit,
88 Var->markUsed(SemaRef.Context);
108 TypoCorrectionConsumer(Sema &SemaRef,
116 SavedTCIndex(0), SemaRef(SemaRef), S(S),
119 Result(SemaRef, TypoName, LookupKind),
120 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),
290 static bool isVisible(Sema &SemaRef, NamedDecl *D) {
297 return isVisibleSlow(SemaRef, D);
313 static bool isVisibleSlow(Sema &SemaRef, NamedDecl *D);
Sema.h     [all...]
  /external/clang/include/clang/Serialization/
ModuleFileExtension.h 124 virtual void writeExtensionContents(Sema &SemaRef,
ASTWriter.h 541 void WriteSelectors(Sema &SemaRef);
542 void WriteReferencedSelectorsPool(Sema &SemaRef);
550 void WriteOpenCLExtensions(Sema &SemaRef);
552 void WriteLateParsedTemplates(Sema &SemaRef);
553 void WriteOptimizePragmaOptions(Sema &SemaRef);
554 void WriteModuleFileExtension(Sema &SemaRef,
578 uint64_t WriteASTCore(Sema &SemaRef,
599 /// \param SemaRef a reference to the semantic analysis object that processed
611 uint64_t WriteAST(Sema &SemaRef, const std::string &OutputFile,
    [all...]
  /external/clang/lib/Frontend/
TestModuleFileExtension.h 33 void writeExtensionContents(Sema &SemaRef,
TestModuleFileExtension.cpp 22 Sema &SemaRef,
  /external/clang/lib/ARCMigrate/
Internals.h 150 Sema &SemaRef;
161 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags),
Transforms.cpp 34 EnableCFBridgeFns = SemaRef.isKnownName("CFBridgingRetain") &&
35 SemaRef.isKnownName("CFBridgingRelease");
215 return Pass.SemaRef.PP.isMacroDefined("nil") ? "nil" : "0";
  /external/clang/lib/Serialization/
ASTWriter.cpp     [all...]

Completed in 138 milliseconds

1 2