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 894 Decl *PrevDecl = 0;
900 if (PrevDecl)
901 PrevDecl->NextInContextAndBits.setPointer(D);
905 PrevDecl = D;
908 return std::make_pair(FirstNewDecl, PrevDecl);
    [all...]
  /external/clang/lib/Sema/
SemaAccess.cpp     [all...]
SemaDeclObjC.cpp 454 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc,
457 if (PrevDecl && !isa<ObjCInterfaceDecl>(PrevDecl)) {
459 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
463 ObjCInterfaceDecl* PrevIDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl);
506 PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc,
509 if (!PrevDecl) {
516 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>();
518 << SuperName << ClassName << PrevDecl->getDeclName();
519 Diag(PrevDecl->getLocation(), diag::note_previous_decl
    [all...]
SemaTemplateInstantiateDecl.cpp 602 EnumDecl *PrevDecl = 0;
608 PrevDecl = cast<EnumDecl>(Prev);
613 PrevDecl, D->isScoped(),
766 CXXRecordDecl *PrevDecl = 0;
774 PrevDecl = PrevClassTemplate->getTemplatedDecl();
804 PrevDecl = PrevClassTemplate->getTemplatedDecl();
    [all...]
SemaTemplate.cpp 458 /// that the template parameter 'PrevDecl' is being shadowed by a new
461 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) {
462 assert(PrevDecl->isTemplateParameter() && "Not a template parameter");
472 << cast<NamedDecl>(PrevDecl)->getDeclName();
473 Diag(PrevDecl->getLocation(), diag::note_template_param_here);
546 NamedDecl *PrevDecl = SemaRef.LookupSingleName(
548 if (PrevDecl && PrevDecl->isTemplateParameter())
549 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl);
    [all...]
SemaDecl.cpp     [all...]
SemaDeclCXX.cpp     [all...]

Completed in 204 milliseconds