/external/clang/lib/Sema/ |
SemaTemplateInstantiateDecl.cpp | 34 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), 50 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), 160 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), 174 = NamespaceAliasDecl::Create(SemaRef.Context, Owner, 191 DI = SemaRef.SubstType(DI, TemplateArgs, 195 DI = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef.Context.IntTy); 198 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType()); 209 RD->getEnclosingNamespaceContext() == SemaRef.getStdNamespace() && 212 SemaRef.getSourceManager().isInSystemHeader(D->getLocStart()) [all...] |
SemaTemplateInstantiate.cpp | 172 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, 175 : SemaRef(SemaRef), 177 SemaRef.InNonInstantiationSFINAEContext) 189 SemaRef.InNonInstantiationSFINAEContext = false; 190 SemaRef.ActiveTemplateInstantiations.push_back(Inst); 195 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, 198 : SemaRef(SemaRef), 200 SemaRef.InNonInstantiationSFINAEContext [all...] |
TreeTransform.h | 113 Sema &SemaRef; 122 TreeTransform(Sema &SemaRef) : SemaRef(SemaRef) { } 137 Sema &getSema() const { return SemaRef; } 522 return SemaRef.Context.getTrivialTypeSourceInfo(T, 728 return SemaRef.Context.getTypeDeclType(Typedef); 733 return SemaRef.Context.getTypeDeclType(Record); [all...] |
SemaInit.cpp | 171 Sema &SemaRef; 282 InitializationSequence InitSeq(SemaRef, Entity, Kind, 0, 0); 304 SemaRef.Diag(Loc, diag::err_init_reference_member_uninitialized) 307 SemaRef.Diag(Field->getLocation(), 315 InitializationSequence InitSeq(SemaRef, MemberEntity, Kind, 0, 0); 317 InitSeq.Diagnose(SemaRef, MemberEntity, Kind, 0, 0); 323 = InitSeq.Perform(SemaRef, MemberEntity, Kind, MultiExprArg()); 338 ILE->updateInit(SemaRef.Context, Init, MemberInit.takeAs<Expr>()); 354 assert((ILE->getType() != SemaRef.Context.VoidTy) && 397 if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) [all...] |
SemaExprMember.cpp | 35 static bool isProvablyNotDerivedFrom(Sema &SemaRef, CXXRecordDecl *Record, 87 static IMAKind ClassifyImplicitMemberAccess(Sema &SemaRef, 92 DeclContext *DC = SemaRef.getFunctionLevelDeclContext(); 94 bool isStaticContext = SemaRef.CXXThisTypeOverride.isNull() && 124 if (SemaRef.getLangOpts().CPlusPlus11 && isField) { 132 = SemaRef.ExprEvalContexts.back(); 172 if (isProvablyNotDerivedFrom(SemaRef, contextClass, Classes)) 181 static void diagnoseInstanceReference(Sema &SemaRef, 189 DeclContext *FunctionLevelDC = SemaRef.getFunctionLevelDeclContext(); 199 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...] |
SemaDeclCXX.cpp | 679 static bool CheckConstexprParameterTypes(Sema &SemaRef, 688 SemaRef.RequireLiteralType(ParamLoc, *i, 776 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl, 802 SemaRef.Diag(TL.getBeginLoc(), diag::err_constexpr_vla) [all...] |
CodeCompleteConsumer.cpp | 436 PrintingCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef, 451 = Results[I].CreateCodeCompletionString(SemaRef, getAllocator(), 469 = Results[I].CreateCodeCompletionString(SemaRef, getAllocator(), 488 PrintingCodeCompleteConsumer::ProcessOverloadCandidates(Sema &SemaRef, 494 = Candidates[I].CreateSignatureString(CurrentArg, SemaRef,
|
SemaStmtAsm.cpp | 377 static StringRef getSpelling(Sema &SemaRef, Token AsmTok) { 382 Asm = SemaRef.PP.getSpelling(AsmTok, TokenBuf, &StringInvalid); 388 static bool buildMSAsmString(Sema &SemaRef, 407 SemaRef.Diag(AsmLoc, diag::err_asm_empty); 417 StringRef Spelling = getSpelling(SemaRef, AsmToks[i]); 428 Sema &SemaRef; 437 : SemaRef(Ref), AsmLoc(Loc), AsmToks(Toks), TokOffsets(Offsets) { } 445 NamedDecl *OpDecl = SemaRef.LookupInlineAsmIdentifier(Name, Loc, Length, 453 return SemaRef.LookupInlineAsmField(Base, Member, Offset, AsmLoc); 483 SemaRef.Diag(Loc, diag::err_inline_ms_asm_parsing) << D.getMessage() [all...] |
SemaLookup.cpp | 287 IDNS = getIDNS(LookupKind, SemaRef.getLangOpts().CPlusPlus, 299 SemaRef.DeclareGlobalNewDelete(); 386 QualType T = SemaRef.Context.getTypeDeclType(TD); 387 if (!UniqueTypes.insert(SemaRef.Context.getCanonicalType(T))) { [all...] |
SemaStmt.cpp | [all...] |
SemaDecl.cpp | 517 static bool isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result, 521 LookupResult R(SemaRef, Name, NameLoc, Sema::LookupTagName); 522 SemaRef.LookupParsedName(R, S, &SS); 553 SemaRef.Diag(NameLoc, diag::err_use_of_tag_name_without_tag) 554 << Name << TagName << SemaRef.getLangOpts().CPlusPlus 559 SemaRef.Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type) 564 SemaRef.LookupParsedName(Result, S, &SS); [all...] |
SemaOverload.cpp | [all...] |
Sema.cpp | 331 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) { 343 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 349 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 357 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); 363 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); [all...] |
SemaType.cpp | [all...] |
SemaTemplate.cpp | 492 static TemplateArgumentLoc translateTemplateArgument(Sema &SemaRef, 498 QualType T = SemaRef.GetTypeFromParser(Arg.getAsType(), &DI); 500 DI = SemaRef.Context.getTrivialTypeSourceInfo(T, Arg.getLocation()); 518 SemaRef.Context), [all...] |
SemaExpr.cpp | [all...] |
SemaTemplateDeduction.cpp | [all...] |
/external/clang/include/clang/Sema/ |
Template.h | 188 Sema &SemaRef; 248 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false) 249 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), 253 SemaRef.CurrentInstantiationScope = this; 260 const Sema &getSema() const { return SemaRef; } 270 SemaRef.CurrentInstantiationScope = Outer; 279 new LocalInstantiationScope(SemaRef, CombineWithOuterScope); 369 Sema &SemaRef; [all...] |
Lookup.h | 129 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo, 135 SemaRef(SemaRef), 150 LookupResult(Sema &SemaRef, DeclarationName Name, 156 SemaRef(SemaRef), 175 SemaRef(Other.SemaRef), 532 Sema &getSema() const { return SemaRef; } 604 SemaRef.DiagnoseAmbiguousLookup(*this) [all...] |
Sema.h | 848 Sema &SemaRef; 852 SemaDiagnosticBuilder(DiagnosticBuilder &DB, Sema &SemaRef, unsigned DiagID) 853 : DiagnosticBuilder(DB), SemaRef(SemaRef), DiagID(DiagID) { } 872 SemaRef.EmitCurrentDiagnostic(DiagID); [all...] |
/external/clang/lib/ARCMigrate/ |
Internals.h | 147 Sema &SemaRef; 158 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags),
|
Transforms.cpp | 33 EnableCFBridgeFns = SemaRef.isKnownName("CFBridgingRetain") && 34 SemaRef.isKnownName("CFBridgingRelease");
|
/external/clang/include/clang/Serialization/ |
ASTWriter.h | 439 void WriteSelectors(Sema &SemaRef); 440 void WriteReferencedSelectorsPool(Sema &SemaRef); 450 void WriteOpenCLExtensions(Sema &SemaRef); 472 void WriteASTCore(Sema &SemaRef, 484 /// \param SemaRef a reference to the semantic analysis object that processed 492 void WriteAST(Sema &SemaRef,
|
/external/clang/lib/Serialization/ |
ASTWriter.cpp | [all...] |