HomeSort by relevance Sort by last modified time
    Searched refs:PrevDecl (Results 1 - 19 of 19) sorted by null

  /external/clang/lib/Sema/
SemaTemplate.cpp 448 /// that the template parameter 'PrevDecl' is being shadowed by a new
451 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) {
452 assert(PrevDecl->isTemplateParameter() && "Not a template parameter");
462 << cast<NamedDecl>(PrevDecl)->getDeclName();
463 Diag(PrevDecl->getLocation(), diag::note_template_param_here);
555 NamedDecl *PrevDecl = LookupSingleName(S, ParamName, ParamNameLoc,
558 if (PrevDecl && PrevDecl->isTemplateParameter()) {
559 DiagnoseTemplateParameterShadow(ParamNameLoc, PrevDecl);
560 PrevDecl = 0
    [all...]
SemaDeclObjC.cpp 384 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc,
387 if (PrevDecl && !isa<ObjCInterfaceDecl>(PrevDecl)) {
389 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
393 ObjCInterfaceDecl* PrevIDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl);
419 PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc,
422 if (!PrevDecl) {
429 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>();
431 << SuperName << ClassName << PrevDecl->getDeclName();
432 Diag(PrevDecl->getLocation(), diag::note_previous_decl
    [all...]
SemaDecl.cpp     [all...]
SemaTemplateInstantiateDecl.cpp 561 EnumDecl *PrevDecl = 0;
567 PrevDecl = cast<EnumDecl>(Prev);
572 PrevDecl, D->isScoped(),
725 CXXRecordDecl *PrevDecl = 0;
733 PrevDecl = PrevClassTemplate->getTemplatedDecl();
763 PrevDecl = PrevClassTemplate->getTemplatedDecl();
827 Pattern->getIdentifier(), PrevDecl,
    [all...]
SemaAccess.cpp     [all...]
SemaDeclCXX.cpp     [all...]
  /external/clang/lib/AST/
DeclTemplate.cpp 277 ClassTemplateDecl *PrevDecl) {
280 New->setPreviousDeclaration(PrevDecl);
645 ClassTemplateSpecializationDecl *PrevDecl)
648 PrevDecl),
669 ClassTemplateSpecializationDecl *PrevDecl) {
676 PrevDecl);
677 Context.getTypeDeclType(Result, PrevDecl);
751 ClassTemplatePartialSpecializationDecl *PrevDecl,
757 Args, NumArgs, PrevDecl),
    [all...]
DeclObjC.cpp 692 ObjCInterfaceDecl *PrevDecl,
696 PrevDecl, isInternal);
697 C.getObjCInterfaceType(Result, PrevDecl);
710 SourceLocation CLoc, ObjCInterfaceDecl *PrevDecl,
715 setPreviousDeclaration(PrevDecl);
718 if (PrevDecl)
719 Data = PrevDecl->Data;
    [all...]
DeclCXX.cpp 67 IdentifierInfo *Id, CXXRecordDecl *PrevDecl)
68 : RecordDecl(K, TK, DC, StartLoc, IdLoc, Id, PrevDecl),
69 DefinitionData(PrevDecl ? PrevDecl->DefinitionData : 0),
75 CXXRecordDecl* PrevDecl,
78 Id, PrevDecl);
82 C.getTypeDeclType(R, PrevDecl);
92 C.getTypeDeclType(R, /*PrevDecl=*/0);
    [all...]
Decl.cpp     [all...]
DeclBase.cpp 877 Decl *PrevDecl = 0;
883 if (PrevDecl)
884 PrevDecl->NextInContextAndBits.setPointer(D);
888 PrevDecl = D;
891 return std::make_pair(FirstNewDecl, PrevDecl);
    [all...]
ASTContext.cpp     [all...]
  /external/clang/include/clang/AST/
Redeclarable.h 110 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the
112 void setPreviousDeclaration(decl_type *PrevDecl);
Decl.h 412 NamespaceDecl *PrevDecl);
429 NamespaceDecl *PrevDecl);
    [all...]
ASTContext.h 793 const TypeDecl *PrevDecl = 0) const {
797 if (PrevDecl) {
798 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
799 Decl->TypeForDecl = PrevDecl->TypeForDecl;
800 return QualType(PrevDecl->TypeForDecl, 0);
    [all...]
DeclTemplate.h     [all...]
DeclObjC.h 603 SourceLocation CLoc, ObjCInterfaceDecl *PrevDecl,
635 ObjCInterfaceDecl *PrevDecl,
    [all...]
DeclCXX.h 655 IdentifierInfo *Id, CXXRecordDecl *PrevDecl);
706 IdentifierInfo *Id, CXXRecordDecl* PrevDecl=0,
    [all...]
  /external/clang/include/clang/Sema/
Sema.h     [all...]

Completed in 410 milliseconds