Lines Matching refs:isInvalidDecl
81 if (!AllowInvalidDecl && ND->isInvalidDecl()) in ValidateCandidate()
1679 if (D->isInvalidDecl() || D->isUsed() || D->hasAttr<UnusedAttr>()) in ShouldWarnIfUnusedFileScopedDecl()
1760 if (D->isInvalidDecl()) in ShouldDiagnoseUnusedDecl()
2238 if (New->isInvalidDecl()) return; in MergeTypedefNameDecl()
2295 if (Old->isInvalidDecl()) in MergeTypedefNameDecl()
3183 NewD->isInvalidDecl() || OldD->isInvalidDecl()) && in adjustDeclContextForDeclaratorDecl()
3240 if (Old->isInvalidDecl()) in MergeFunctionDecl()
3892 if (New->isInvalidDecl() || Old->isInvalidDecl()) in MergeVarDeclTypes()
4016 if (New->isInvalidDecl()) in MergeVarDecl()
4096 if (New->isInvalidDecl()) in MergeVarDecl()
4101 if (New->isInvalidDecl()) in MergeVarDecl()
4399 if (RD->isInvalidDecl()) in getNonCLikeKindForAnonymousStruct()
4413 if (D->isInvalidDecl()) { in getNonCLikeKindForAnonymousStruct()
4462 if (TagFromDeclSpec->isInvalidDecl()) in setTagNameForLinkagePurposes()
4577 if (Tag->isInvalidDecl()) in ParsedFreeStandingDeclSpec()
4703 (TagD && TagD->isInvalidDecl())) in ParsedFreeStandingDeclSpec()
4710 !Enum->getIdentifier() && !Enum->isInvalidDecl()) in ParsedFreeStandingDeclSpec()
5059 if (Mem->isInvalidDecl()) in BuildAnonymousStructOrUnion()
6201 if (!NewTD->isInvalidDecl() && in ActOnTypedefNameDecl()
6467 if (OldDecl->isInvalidDecl() || NewDecl->isInvalidDecl()) in checkDLLAttributeRedeclaration()
7360 if (IsMemberSpecialization && !NewVD->isInvalidDecl() && in ActOnVariableDeclarator()
7422 if (NewVD->isFirstDecl() && !NewVD->isInvalidDecl() && in ActOnVariableDeclarator()
7462 if (NewVD->isInvalidDecl()) in ActOnVariableDeclarator()
7468 if (IsMemberSpecialization && !NewVD->isInvalidDecl()) in ActOnVariableDeclarator()
7836 if (NewVD->isInvalidDecl()) in CheckVariableDeclarationType()
8095 if (NewVD->isInvalidDecl()) in CheckVariableDeclaration()
9055 if (isVirtual && !NewFD->isInvalidDecl()) { in ActOnFunctionDeclarator()
9101 if (isInline && !NewFD->isInvalidDecl()) { in ActOnFunctionDeclarator()
9114 if (hasExplicit && !NewFD->isInvalidDecl() && in ActOnFunctionDeclarator()
9290 if (Param->isInvalidDecl()) in ActOnFunctionDeclarator()
9361 if (!NewFD->isInvalidDecl() && in ActOnFunctionDeclarator()
9413 if (!NewFD->isInvalidDecl() && NewFD->isMain()) in ActOnFunctionDeclarator()
9416 if (!NewFD->isInvalidDecl() && NewFD->isMSVCRTEntryPoint()) in ActOnFunctionDeclarator()
9419 if (!NewFD->isInvalidDecl()) in ActOnFunctionDeclarator()
9425 assert((NewFD->isInvalidDecl() || !D.isRedeclaration() || in ActOnFunctionDeclarator()
9478 if (NewFD->isInvalidDecl()) { in ActOnFunctionDeclarator()
9533 } else if (!NewFD->isInvalidDecl() && in ActOnFunctionDeclarator()
9565 if (!NewFD->isInvalidDecl() && NewFD->isMain()) in ActOnFunctionDeclarator()
9568 if (!NewFD->isInvalidDecl() && NewFD->isMSVCRTEntryPoint()) in ActOnFunctionDeclarator()
9571 if (!NewFD->isInvalidDecl()) in ActOnFunctionDeclarator()
9579 assert((NewFD->isInvalidDecl() || !D.isRedeclaration() || in ActOnFunctionDeclarator()
9589 if (!NewFD->isInvalidDecl()) in ActOnFunctionDeclarator()
9619 if (NewFD->isInvalidDecl()) { in ActOnFunctionDeclarator()
9763 if (NewFD->isFirstDecl() && !NewFD->isInvalidDecl() && in ActOnFunctionDeclarator()
9781 !NewFD->isInvalidDecl() && in ActOnFunctionDeclarator()
9840 if (NewFD->isInvalidDecl()) in ActOnFunctionDeclarator()
9845 if (isMemberSpecialization && !NewFD->isInvalidDecl()) in ActOnFunctionDeclarator()
11138 if (nparams == 1 && !FD->isInvalidDecl()) { in CheckMain()
11142 if (!FD->isInvalidDecl() && FD->getDescribedFunctionTemplate()) { in CheckMain()
11162 if (!FD->isInvalidDecl() && FD->getDescribedFunctionTemplate()) { in CheckMSVCRTEntryPoint()
11699 return VDecl->isInvalidDecl(); in DeduceVariableDeclarationType()
11981 if (!RealDecl || RealDecl->isInvalidDecl()) { in AddInitializerToDecl()
12134 if (!VDecl->isInvalidDecl()) { in AddInitializerToDecl()
12158 if (VDecl->isInvalidDecl()) in AddInitializerToDecl()
12193 if (!VDecl->isInvalidDecl() && (DclT != SavT)) in AddInitializerToDecl()
12196 if (!VDecl->isInvalidDecl()) { in AddInitializerToDecl()
12242 if (VDecl->isInvalidDecl()) { in AddInitializerToDecl()
12400 if (!getLangOpts().CPlusPlus && !VDecl->isInvalidDecl()) in AddInitializerToDecl()
12443 if (!D || D->isInvalidDecl()) return; in ActOnInitializerError()
12529 if (!Var->isInvalidDecl() && in ActOnUninitializedDecl()
12537 if (!Var->isInvalidDecl() && RealDecl->hasAttr<LoaderUninitializedAttr>()) { in ActOnUninitializedDecl()
12559 if (!Var->isInvalidDecl() && DefKind != VarDecl::DeclarationOnly && in ActOnUninitializedDecl()
12583 !Var->hasLinkage() && !Var->isInvalidDecl() && in ActOnUninitializedDecl()
12589 if (!Type->isDependentType() && !Var->isInvalidDecl() && in ActOnUninitializedDecl()
12594 if (!Type->isDependentType() && !Var->isInvalidDecl() && in ActOnUninitializedDecl()
12601 !Var->isInvalidDecl() && !getLangOpts().CPlusPlus) in ActOnUninitializedDecl()
12612 if (!Var->isInvalidDecl()) { in ActOnUninitializedDecl()
12636 if (!Var->isInvalidDecl()) in ActOnUninitializedDecl()
12664 if (Var->isInvalidDecl()) in ActOnUninitializedDecl()
12835 if (var->isInvalidDecl()) return; in CheckCompleteVariableDeclaration()
13219 !VD->isInvalidDecl()) { in FinalizeDeclaration()
13416 if (!D || D->isInvalidDecl()) in BuildDeclaratorGroup()
13847 if (FD->isInvalidDecl()) in ShouldWarnAboutMissingPrototype()
14095 !FD->isInvalidDecl() && in ActOnStartOfFunctionDef()
14312 if (!FD->isInvalidDecl() && Body && !FD->isDependentContext() && in ActOnFinishFunctionBody()
14358 if (!FD->isInvalidDecl()) { in ActOnFinishFunctionBody()
14495 if (!MD->isInvalidDecl()) { in ActOnFinishFunctionBody()
14592 if (!IsInstantiation && FD && FD->isConstexpr() && !FD->isInvalidDecl() && in ActOnFinishFunctionBody()
14787 if (FD->isInvalidDecl()) in AddKnownFunctionAttributesForReplaceableGlobalAllocationFunction()
14860 if (FD->isInvalidDecl()) in AddKnownFunctionAttributes()
16250 if (!New->isInvalidDecl() && in ActOnTag()
16265 if (isMemberSpecialization && !New->isInvalidDecl()) in ActOnTag()
16362 assert(Tag->isInvalidDecl() && "We should already have completed it"); in ActOnTagFinishDefinition()
16379 if (!Tag->isInvalidDecl()) in ActOnTagFinishDefinition()
16607 if (NewFD->isInvalidDecl()) in HandleField()
16613 if (NewFD->isInvalidDecl() && PrevDecl) { in HandleField()
16663 if (Def && Def->isInvalidDecl()) { in CheckFieldDecl()
16827 if (FD->isInvalidDecl() || FD->getType()->isDependentType()) in CheckNontrivialField()
16943 if (!EnclosingDecl || EnclosingDecl->isInvalidDecl()) in ActOnIvar()
17003 !NewID->isInvalidDecl() && isa<ObjCInterfaceDecl>(EnclosingDecl)) in ActOnIvar()
17101 if (FD->isInvalidDecl()) { in ActOnFields()
17305 if (!CXXRecord->isInvalidDecl()) { in ActOnFields()
17317 if (!CXXRecord->isInvalidDecl()) { in ActOnFields()