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

  /external/clang/lib/AST/
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...]
  /external/clang/lib/Sema/
SemaAccess.cpp     [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...]
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...]
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...]
SemaDecl.cpp     [all...]
SemaDeclCXX.cpp     [all...]

Completed in 164 milliseconds