HomeSort by relevance Sort by last modified time
    Searched full:prevdecl (Results 1 - 22 of 22) sorted by null

  /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 461 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc,
464 if (PrevDecl && !isa<ObjCInterfaceDecl>(PrevDecl)) {
466 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
470 ObjCInterfaceDecl* PrevIDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl);
513 PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc,
516 if (!PrevDecl) {
526 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>();
530 if (declaresSameEntity(PrevDecl, IDecl)) {
536 dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl);
    [all...]
SemaTemplateInstantiateDecl.cpp 746 EnumDecl *PrevDecl = nullptr;
752 PrevDecl = cast<EnumDecl>(Prev);
757 PrevDecl, D->isScoped(),
    [all...]
SemaDecl.cpp     [all...]
SemaAccess.cpp     [all...]
SemaDeclCXX.cpp     [all...]
SemaObjCProperty.cpp 337 if (ObjCPropertyDecl *prevDecl
340 Diag(prevDecl->getLocation(), diag::note_property_declare);
569 if (ObjCPropertyDecl *prevDecl =
572 Diag(prevDecl->getLocation(), diag::note_property_declare);
    [all...]
  /external/clang/lib/AST/
DeclTemplate.cpp 334 ClassTemplateDecl *PrevDecl) {
338 New->setPreviousDecl(PrevDecl);
717 ClassTemplateSpecializationDecl *PrevDecl)
720 PrevDecl),
741 ClassTemplateSpecializationDecl *PrevDecl) {
745 SpecializedTemplate, Args, NumArgs, PrevDecl);
748 Context.getTypeDeclType(Result, PrevDecl);
    [all...]
DeclObjC.cpp     [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...]
Decl.cpp     [all...]
DeclBase.cpp 993 Decl *PrevDecl = nullptr;
999 if (PrevDecl)
1000 PrevDecl->NextInContextAndBits.setPointer(D);
1004 PrevDecl = D;
1007 return std::make_pair(FirstNewDecl, PrevDecl);
    [all...]
ASTContext.cpp     [all...]
ASTImporter.cpp     [all...]
  /external/clang/include/clang/AST/
Redeclarable.h 167 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the
169 void setPreviousDecl(decl_type *PrevDecl);
Decl.h 415 IdentifierInfo *Id, NamespaceDecl *PrevDecl);
426 NamespaceDecl *PrevDecl);
    [all...]
DeclObjC.h 740 ObjCInterfaceDecl *PrevDecl, bool IsInternal);
774 ObjCInterfaceDecl *PrevDecl,
    [all...]
ASTContext.h     [all...]
DeclTemplate.h     [all...]
DeclCXX.h 642 IdentifierInfo *Id, CXXRecordDecl *PrevDecl);
685 CXXRecordDecl *PrevDecl = nullptr,
    [all...]
  /external/clang/include/clang/Sema/
Sema.h     [all...]
  /external/clang/tools/libclang/
CIndex.cpp     [all...]

Completed in 1021 milliseconds