HomeSort by: relevance | last modified time | path
    Searched defs:PrevDecl (Results 1 - 9 of 9) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclPrinter.cpp 1170 FunctionDecl *PrevDecl = D->getTemplatedDecl();
1172 if (PrevDecl->isDefined(Def) && Def != PrevDecl)
1176 if (!PrevDecl->isThisDeclarationADefinition())
DeclBase.cpp 1306 Decl *PrevDecl = nullptr;
1311 if (PrevDecl)
1312 PrevDecl->NextInContextAndBits.setPointer(D);
1316 PrevDecl = D;
1319 return std::make_pair(FirstNewDecl, PrevDecl);
ASTImporter.cpp 2390 /*PrevDecl=*/nullptr))
2675 EnumDecl *PrevDecl = nullptr;
2696 PrevDecl = FoundEnum->getMostRecentDecl();
2726 Loc, Name.getAsIdentifierInfo(), PrevDecl, D->isScoped(),
2789 RecordDecl *PrevDecl = nullptr;
2845 PrevDecl = FoundRecord->getMostRecentDecl();
2894 cast_or_null<CXXRecordDecl>(PrevDecl), DelayTypeCreation))
2902 cast_or_null<CXXRecordDecl>(PrevDecl)))
2972 Name.getAsIdentifierInfo(), PrevDecl))
4516 /*PrevDecl=*/nullptr)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaAccess.cpp 1118 NamedDecl *PrevDecl = nullptr;
1120 PrevDecl = VD->getPreviousDecl();
1122 PrevDecl = FD->getPreviousDecl();
1124 PrevDecl = TND->getPreviousDecl();
1128 PrevDecl = TD->getPreviousDecl();
1130 if (!PrevDecl) break;
1131 D = PrevDecl;
Sema.cpp 1096 Decl *PrevDecl = LookupSingleName(TUScope, WeakID.first, SourceLocation(),
1098 if (PrevDecl != nullptr &&
1099 !(isa<FunctionDecl>(PrevDecl) || isa<VarDecl>(PrevDecl)))
SemaDeclObjC.cpp 552 NamedDecl *PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc,
555 if (!PrevDecl) {
564 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>();
568 if (declaresSameEntity(PrevDecl, IDecl)) {
574 dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl);
583 if (PrevDecl && !SuperClassDecl) {
587 dyn_cast_or_null<TypedefNameDecl>(PrevDecl)) {
610 Diag(PrevDecl->getLocation(), diag::note_previous_definition);
614 if (!dyn_cast_or_null<TypedefNameDecl>(PrevDecl)) {
985 NamedDecl *PrevDecl
    [all...]
SemaTemplateInstantiateDecl.cpp 1300 EnumDecl *PrevDecl = nullptr;
1306 PrevDecl = cast<EnumDecl>(Prev);
1311 D->getLocation(), D->getIdentifier(), PrevDecl,
1472 CXXRecordDecl *PrevDecl = nullptr;
1480 PrevDecl = PrevClassTemplate->getTemplatedDecl();
1511 PrevDecl = PrevClassTemplate->getTemplatedDecl();
1540 Pattern->getLocation(), Pattern->getIdentifier(), PrevDecl,
1763 CXXRecordDecl *PrevDecl = nullptr;
1765 PrevDecl = cast<CXXRecordDecl>(Owner);
1771 PrevDecl = cast<CXXRecordDecl>(Prev)
    [all...]
SemaTemplate.cpp 879 /// that the template parameter 'PrevDecl' is being shadowed by a new
882 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) {
883 assert(PrevDecl->isTemplateParameter() && "Not a template parameter");
892 Diag(Loc, DiagId) << cast<NamedDecl>(PrevDecl)->getDeclName();
893 Diag(PrevDecl->getLocation(), diag::note_template_param_here);
964 NamedDecl *PrevDecl = SemaRef.LookupSingleName(
966 if (PrevDecl && PrevDecl->isTemplateParameter())
967 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl);
1791 NamedDecl *PrevDecl = nullptr
    [all...]
SemaDecl.cpp 1441 /// PrevDecl with another declaration.
4843 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl();
4844 assert(PrevDecl && "Expected a non-null Decl");
4846 if (!SemaRef.isDeclInScope(PrevDecl, Owner, S))
4851 SemaRef.Diag(PrevDecl->getLocation(), diag::note_previous_declaration);
6250 /// previous declaration (PrevDecl) that is not in the scope where a
6256 /// \param PrevDecl the previous declaration found by name
6262 /// \returns true if PrevDecl is an out-of-scope previous declaration
6265 isOutOfScopePreviousDeclaration(NamedDecl *PrevDecl, DeclContext *DC,
6267 if (!PrevDecl)
    [all...]

Completed in 51 milliseconds