reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
217 if (getLangOpts().CPlusPlus && isa<FunctionDecl>(D)) { 220 auto Pos = SuppressedDiagnostics.find(D->getCanonicalDecl()); 234 if (cast<FunctionDecl>(D)->isMain()) 237 diagnoseUnavailableAlignedAllocation(*cast<FunctionDecl>(D), Loc); 241 if (ParsingInitForAutoVars.count(D)) { 242 if (isa<BindingDecl>(D)) { 244 << D->getDeclName(); 247 << D->getDeclName() << cast<VarDecl>(D)->getType(); 247 << D->getDeclName() << cast<VarDecl>(D)->getType(); 253 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 276 if (auto *MD = dyn_cast<CXXMethodDecl>(D)) { 293 if (const ObjCPropertyDecl *ObjCPDecl = getReferencedObjCProp(D)) { 296 } else if (diagnoseArgIndependentDiagnoseIfAttrs(D, Loc)) { 305 if (LangOpts.OpenMP && DRD && !CurContext->containsDecl(D) && 306 isa<VarDecl>(D)) { 309 Diag(D->getLocation(), diag::note_entity_declared_at) << D; 309 Diag(D->getLocation(), diag::note_entity_declared_at) << D; 318 if (LangOpts.OpenMP && DMD && !CurContext->containsDecl(D) && 319 isa<VarDecl>(D)) { 322 Diag(D->getLocation(), diag::note_entity_declared_at) << D; 322 Diag(D->getLocation(), diag::note_entity_declared_at) << D; 326 DiagnoseAvailabilityOfDecl(D, Locs, UnknownObjCClass, ObjCPropertyAccess, 329 DiagnoseUnusedOfDecl(*this, D, Loc); 331 diagnoseUseOfInternalDeclInInlineFunction(*this, D, Loc);