Home
last modified time | relevance | path

Searched refs:isInvalidDecl (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/lib/Sema/
DSemaDecl.cpp74 (AllowInvalidDecl || !ND->isInvalidDecl()); in ValidateCandidate()
1179 if (D->isInvalidDecl() || D->isUsed() || D->hasAttr<UnusedAttr>()) in ShouldWarnIfUnusedFileScopedDecl()
1246 if (D->isInvalidDecl()) in ShouldDiagnoseUnusedDecl()
1584 if (New->isInvalidDecl()) return; in MergeTypedefNameDecl()
1641 if (Old->isInvalidDecl()) in MergeTypedefNameDecl()
2401 if (New->isInvalidDecl() || Old->isInvalidDecl()) in MergeVarDeclTypes()
2462 if (New->isInvalidDecl()) in MergeVarDecl()
2501 if (New->isInvalidDecl()) in MergeVarDecl()
2630 if (Tag->isInvalidDecl()) in ParsedFreeStandingDeclSpec()
2705 !Enum->getIdentifier() && !Enum->isInvalidDecl()) { in ParsedFreeStandingDeclSpec()
[all …]
DSemaDeclCXX.cpp629 if (Param->isInvalidDecl()) in CheckCXXDefaultArguments()
1096 if (BaseDecl->isInvalidDecl()) in CheckBaseSpecifier()
1423 if (D->isInvalidDecl()) in CheckOverrideControl()
1614 if (Member->isInvalidDecl()) { in ActOnCXXMemberDeclarator()
2168 if (Member->isInvalidDecl()) in BuildMemberInitializer()
2574 if (Field->isInvalidDecl()) in BuildImplicitMemberInitializer()
2908 if (Info.AnyErrorsInInits || Field->isInvalidDecl()) in CollectFieldInitializer()
3383 if (Field->isInvalidDecl()) in MarkBaseAndMemberDestructorsReferenced()
3397 if (FieldClassDecl->isInvalidDecl()) in MarkBaseAndMemberDestructorsReferenced()
3430 if (BaseClassDecl->isInvalidDecl()) in MarkBaseAndMemberDestructorsReferenced()
[all …]
DSemaTemplateInstantiate.cpp1778 if (!Complain || (PatternDef && PatternDef->isInvalidDecl())) { in DiagnoseUninstantiableTemplate()
1908 if ((*Member)->isInvalidDecl()) { in InstantiateClass()
1942 if (NewMember->isInvalidDecl()) in InstantiateClass()
2006 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
2028 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
2037 return Instantiation->isInvalidDecl(); in InstantiateClass()
2094 return Instantiation->isInvalidDecl(); in InstantiateEnum()
2130 !ClassTemplateSpec->isInvalidDecl()) in InstantiateClassTemplateSpecialization()
2142 if (ClassTemplateSpec->isInvalidDecl()) in InstantiateClassTemplateSpecialization()
DSemaTemplateInstantiateDecl.cpp372 if (!Var->isInvalidDecl() && Owner->isFunctionOrMethod() && !Var->isUsed() && in VisitVarDecl()
1554 } else if (Method->isInvalidDecl() && !Previous.empty()) { in VisitCXXMethodDecl()
1967 if (!NewUD->isInvalidDecl() && in VisitUsingDecl()
1977 if (NewUD->isInvalidDecl()) in VisitUsingDecl()
2104 if (D->isInvalidDecl()) in SubstDecl()
2129 Invalid = Invalid || !D || D->isInvalidDecl(); in SubstTemplateParams()
2663 if (Function->isInvalidDecl() || Function->isDefined()) in InstantiateFunctionDefinition()
2849 if (Var->isInvalidDecl()) in InstantiateStaticDataMemberDefinition()
3599 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations()
DSema.cpp379 if (decl->isInvalidDecl()) continue; in checkUndefinedInternals()
634 if (VD == 0 || VD->isInvalidDecl() || !Seen.insert(VD)) in ActOnEndOfTranslationUnit()
657 if (!VD->isInvalidDecl()) in ActOnEndOfTranslationUnit()
DSemaObjCProperty.cpp65 if (property->isInvalidDecl()) return; in checkARCPropertyDecl()
540 if (property->isInvalidDecl() || ivar->isInvalidDecl()) return; in checkARCPropertyImpl()
1594 if (Prop->isInvalidDecl() || in DefaultSynthesizeProperties()
1665 if (Prop->isInvalidDecl() || in DiagnoseUnimplementedProperties()
1994 if (!PDecl || PDecl->isInvalidDecl()) in CheckObjCPropertyAttributes()
DSemaDeclObjC.cpp43 if (method->isInvalidDecl()) return true; in checkInitMethod()
332 if (!Param->isInvalidDecl() && in ActOnStartOfObjCMethodDef()
336 if (!Param->isInvalidDecl() && in ActOnStartOfObjCMethodDef()
1385 if (impl->isInvalidDecl() || decl->isInvalidDecl()) return true; in checkMethodFamilyMismatch()
2083 if (cast<Decl>(Method->getDeclContext())->isInvalidDecl()) in AddMethodToGlobalPool()
2210 if (Ivar->isInvalidDecl()) in DiagnoseDuplicateIvars()
2618 if (container->isInvalidDecl()) return; in searchFromContainer()
DSemaInit.cpp1318 if (structDecl->isInvalidDecl()) { in CheckStructUnionTypes()
2774 if (!Constructor->isInvalidDecl() && in ResolveConstructorOverload()
3176 if (!Constructor->isInvalidDecl() && in TryRefInitWithConversionFunction()
3190 if (T1RecordType && T1RecordType->getDecl()->isInvalidDecl()) in TryRefInitWithConversionFunction()
3234 if (T2RecordType && T2RecordType->getDecl()->isInvalidDecl()) in TryRefInitWithConversionFunction()
3725 if (!Constructor->isInvalidDecl() && in TryUserDefinedConversion()
4326 if (!Constructor || Constructor->isInvalidDecl() || in LookupCopyAndMoveConstructors()
4340 if (ConstructorTmpl->isInvalidDecl()) in LookupCopyAndMoveConstructors()
DSemaStmt.cpp1673 if (DS->getSingleDecl()->isInvalidDecl()) in ActOnCXXForRangeStmt()
2007 if (!LoopVar->isInvalidDecl()) { in BuildCXXForRangeStmt()
2010 if (LoopVar->isInvalidDecl()) in BuildCXXForRangeStmt()
2535 if (Var && Var->isInvalidDecl()) in ActOnObjCAtCatchStmt()
DSemaExprMember.cpp931 if (MemberDecl->isInvalidDecl()) in BuildMemberReferenceExpr()
1235 if (IV->isInvalidDecl()) in LookupMemberExpr()
DSemaType.cpp4355 if (Tag->getDecl()->isInvalidDecl()) in RequireCompleteType()
4367 if (IFace->getDecl()->isInvalidDecl()) in RequireCompleteType()
4416 if (Tag && !Tag->getDecl()->isInvalidDecl()) in RequireCompleteType()
4423 if (IFace && !IFace->getDecl()->isInvalidDecl()) in RequireCompleteType()
DSemaAccess.cpp540 if (FriendD->isInvalidDecl() || FriendD->isUnsupportedFriend()) in MatchesFriend()
DSemaLookup.cpp2355 if (Cand->isInvalidDecl()) in LookupSpecialMember()
2365 if (Cand->isInvalidDecl()) in LookupSpecialMember()
DSemaExprCXX.cpp1481 if (FD->isInvalidDecl()) in isNonPlacementDeallocationFunction()
4722 if (RD->isInvalidDecl() || RD->isDependentContext()) in MaybeBindToTemporary()
DSemaTemplate.cpp1998 if (Pattern->isInvalidDecl()) in CheckTemplateIdType()
6520 if (Tag->isInvalidDecl()) in ActOnExplicitInstantiation()
DSemaChecking.cpp4367 if (Bitfield->isInvalidDecl()) in AnalyzeBitFieldAssignment()
4963 if (!Param->isInvalidDecl() && in CheckParmsForFunctionDef()
DTreeTransform.h2741 if (!TTL || !TTL->getTypedefNameDecl()->isInvalidDecl()) { in TransformNestedNameSpecifierLoc()
5802 if (!Var || Var->isInvalidDecl()) in TransformCXXCatchStmt()
9015 if (D->isInvalidDecl()) return QualType(); in RebuildUnresolvedUsingType()
/external/clang/lib/ARCMigrate/
DTransProperties.cpp109 if (!propD || propD->isInvalidDecl()) in doTransform()
112 if (!ivarD || ivarD->isInvalidDecl()) in doTransform()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp151 Record.push_back(D->isInvalidDecl()); in VisitDecl()
192 !D->isInvalidDecl() && in VisitTypedefDecl()
248 !D->isInvalidDecl() && in VisitEnumDecl()
272 !D->isInvalidDecl() && in VisitRecordDecl()
515 !D->isInvalidDecl() && in VisitObjCIvarDecl()
641 !D->isInvalidDecl() && in VisitFieldDecl()
697 !D->isInvalidDecl() && in VisitVarDecl()
741 !D->isInvalidDecl() && in VisitParmVarDecl()
/external/clang/lib/AST/
DExprConstant.cpp1283 if (RD->isInvalidDecl()) return false; in CastToDerivedClass()
1301 if (Derived->isInvalidDecl()) return false; in HandleLValueDirectBase()
1328 if (DerivedDecl->isInvalidDecl()) return false; in HandleLValueBase()
1341 if (FD->getParent()->isInvalidDecl()) return false; in HandleLValueMember()
1763 if (!VD || VD->isInvalidDecl()) { in HandleLValueToRValueConversion()
2108 if (Definition && Definition->isConstexpr() && !Definition->isInvalidDecl()) in CheckConstexprFunction()
2205 if (RD->isInvalidDecl()) return false; in HandleConstructorCall()
3298 if (RD->isInvalidDecl()) return false; in HandleClassZeroInitialization()
3336 if (RD->isInvalidDecl()) return false; in ZeroInitialization()
3400 if (RD->isInvalidDecl()) return false; in VisitInitListExpr()
[all …]
DDeclCXX.cpp474 if (D->getFriendObjectKind() || D->isInvalidDecl()) in addedMember()
1267 if (data().Abstract || isInvalidDecl() || !data().Polymorphic || in mayBeAbstract()
DDeclBase.cpp666 isInvalidDecl() || in CheckAccessDeclContext()
DDecl.cpp2154 if (isInvalidDecl()) in isImplicitlyInstantiable()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp485 if (!MI.Field || MI.Field->isInvalidDecl()) in ParseLexedMemberInitializer()
/external/clang/include/clang/AST/
DDeclBase.h471 bool isInvalidDecl() const { return (bool) InvalidDecl; } in isInvalidDecl() function

12