/external/clang/lib/Sema/ |
SemaTemplate.cpp | 444 /// that the template parameter 'PrevDecl' is being shadowed by a new 447 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) { 448 assert(PrevDecl->isTemplateParameter() && "Not a template parameter"); 458 << cast<NamedDecl>(PrevDecl)->getDeclName(); 459 Diag(PrevDecl->getLocation(), diag::note_template_param_here); 532 NamedDecl *PrevDecl = SemaRef.LookupSingleName( 534 if (PrevDecl && PrevDecl->isTemplateParameter()) 535 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl); [all...] |
SemaDeclObjC.cpp | 465 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc, 468 if (PrevDecl && !isa<ObjCInterfaceDecl>(PrevDecl)) { 470 Diag(PrevDecl->getLocation(), diag::note_previous_definition); 474 ObjCInterfaceDecl* PrevIDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl); 517 PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc, 520 if (!PrevDecl) { 529 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>(); 533 if (declaresSameEntity(PrevDecl, IDecl)) { 539 dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl); [all...] |
SemaTemplateInstantiateDecl.cpp | 661 EnumDecl *PrevDecl = nullptr; 667 PrevDecl = cast<EnumDecl>(Prev); 672 PrevDecl, D->isScoped(), 823 CXXRecordDecl *PrevDecl = nullptr; 831 PrevDecl = PrevClassTemplate->getTemplatedDecl(); 861 PrevDecl = PrevClassTemplate->getTemplatedDecl(); [all...] |
SemaDecl.cpp | [all...] |
SemaAccess.cpp | [all...] |
SemaDeclCXX.cpp | [all...] |
/external/clang/lib/AST/ |
DeclTemplate.cpp | 308 ClassTemplateDecl *PrevDecl) { 312 New->setPreviousDecl(PrevDecl); 696 ClassTemplateSpecializationDecl *PrevDecl) 699 PrevDecl), 720 ClassTemplateSpecializationDecl *PrevDecl) { 724 SpecializedTemplate, Args, NumArgs, PrevDecl); 727 Context.getTypeDeclType(Result, PrevDecl); [all...] |
DeclCXX.cpp | 89 CXXRecordDecl *PrevDecl) 90 : RecordDecl(K, TK, C, DC, StartLoc, IdLoc, Id, PrevDecl), 91 DefinitionData(PrevDecl ? PrevDecl->DefinitionData 98 CXXRecordDecl* PrevDecl, 101 IdLoc, Id, PrevDecl); 106 C.getTypeDeclType(R, PrevDecl); 124 C.getTypeDeclType(R, /*PrevDecl=*/nullptr); [all...] |
DeclObjC.cpp | [all...] |
DeclBase.cpp | 967 Decl *PrevDecl = nullptr; 973 if (PrevDecl) 974 PrevDecl->NextInContextAndBits.setPointer(D); 978 PrevDecl = D; 981 return std::make_pair(FirstNewDecl, PrevDecl); [all...] |
Decl.cpp | [all...] |
ASTContext.cpp | [all...] |
/external/clang/include/clang/AST/ |
Decl.h | 358 IdentifierInfo *Id, NamespaceDecl *PrevDecl); 369 NamespaceDecl *PrevDecl); [all...] |
Redeclarable.h | 169 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the 171 void setPreviousDecl(decl_type *PrevDecl);
|
ASTContext.h | [all...] |
DeclTemplate.h | [all...] |
DeclObjC.h | 739 ObjCInterfaceDecl *PrevDecl, bool IsInternal); 773 ObjCInterfaceDecl *PrevDecl, [all...] |
DeclCXX.h | 636 IdentifierInfo *Id, CXXRecordDecl *PrevDecl); 679 CXXRecordDecl *PrevDecl = nullptr, [all...] |
/external/clang/include/clang/Sema/ |
Sema.h | [all...] |