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 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...]
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...]
SemaDecl.cpp     [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...]
SemaAccess.cpp     [all...]
SemaDeclCXX.cpp     [all...]
  /external/clang/lib/AST/
DeclTemplate.cpp 308 ClassTemplateDecl *PrevDecl) {
311 New->setPreviousDeclaration(PrevDecl);
713 ClassTemplateSpecializationDecl *PrevDecl)
716 PrevDecl),
737 ClassTemplateSpecializationDecl *PrevDecl) {
744 PrevDecl);
747 Context.getTypeDeclType(Result, PrevDecl);
    [all...]
DeclCXX.cpp 78 IdentifierInfo *Id, CXXRecordDecl *PrevDecl)
79 : RecordDecl(K, TK, DC, StartLoc, IdLoc, Id, PrevDecl),
80 DefinitionData(PrevDecl ? PrevDecl->DefinitionData : 0),
86 CXXRecordDecl* PrevDecl,
89 Id, PrevDecl);
94 C.getTypeDeclType(R, PrevDecl);
106 C.getTypeDeclType(R, /*PrevDecl=*/0);
    [all...]
DeclObjC.cpp     [all...]
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...]
Decl.cpp     [all...]
ASTContext.cpp     [all...]
  /external/clang/include/clang/AST/
Redeclarable.h 109 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the
111 void setPreviousDeclaration(decl_type *PrevDecl);
Decl.h 345 NamespaceDecl *PrevDecl);
362 NamespaceDecl *PrevDecl);
    [all...]
ASTContext.h     [all...]
DeclTemplate.h     [all...]
DeclObjC.h 678 SourceLocation CLoc, ObjCInterfaceDecl *PrevDecl,
713 ObjCInterfaceDecl *PrevDecl,
    [all...]
DeclCXX.h 614 IdentifierInfo *Id, CXXRecordDecl *PrevDecl);
663 IdentifierInfo *Id, CXXRecordDecl* PrevDecl=0,
    [all...]
  /external/clang/include/clang/Sema/
Sema.h     [all...]

Completed in 876 milliseconds