Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaDecl.cpp82 (AllowInvalidDecl || !ND->isInvalidDecl()); in ValidateCandidate()
1365 if (D->isInvalidDecl() || D->isUsed() || D->hasAttr<UnusedAttr>()) in ShouldWarnIfUnusedFileScopedDecl()
1434 if (D->isInvalidDecl()) in ShouldDiagnoseUnusedDecl()
1900 if (New->isInvalidDecl()) return; in MergeTypedefNameDecl()
1957 if (Old->isInvalidDecl()) in MergeTypedefNameDecl()
2596 if (Old->isInvalidDecl()) in MergeFunctionDecl()
3138 if (New->isInvalidDecl() || Old->isInvalidDecl()) in MergeVarDeclTypes()
3256 if (New->isInvalidDecl()) in MergeVarDecl()
3317 if (New->isInvalidDecl()) in MergeVarDecl()
3322 if (New->isInvalidDecl()) in MergeVarDecl()
[all …]
DSemaDeclCXX.cpp711 if (Param->isInvalidDecl()) in CheckCXXDefaultArguments()
958 if (Field->isInvalidDecl()) in CheckConstexprCtorInitializer()
1492 if (BaseDecl->isInvalidDecl()) in CheckBaseSpecifier()
1710 if (BaseRD->isInvalidDecl() || DerivedRD->isInvalidDecl()) in IsDerivedFrom()
1891 if (D->isInvalidDecl()) in CheckOverrideControl()
1960 if (D->isInvalidDecl() || D->hasAttr<OverrideAttr>()) in DiagnoseAbsenceOfOverrideControl()
2224 if (Member->isInvalidDecl()) { in ActOnCXXMemberDeclarator()
2643 if (Constructor->isInvalidDecl()) in DiagnoseUninitializedFields()
3085 if (Member->isInvalidDecl()) in BuildMemberInitializer()
3475 if (Field->isInvalidDecl()) in BuildImplicitMemberInitializer()
[all …]
DSemaTemplateInstantiate.cpp1753 if (RD->isInvalidDecl()) in SubstBaseSpecifiers()
1870 if (!Complain || (PatternDef && PatternDef->isInvalidDecl())) { in DiagnoseUninstantiableTemplate()
2001 if (Member->isInvalidDecl()) { in InstantiateClass()
2031 if (NewMember->isInvalidDecl()) in InstantiateClass()
2083 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
2117 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
2126 return Instantiation->isInvalidDecl(); in InstantiateClass()
2187 return Instantiation->isInvalidDecl(); in InstantiateEnum()
2295 !ClassTemplateSpec->isInvalidDecl()) in InstantiateClassTemplateSpecialization()
2307 if (ClassTemplateSpec->isInvalidDecl()) in InstantiateClassTemplateSpecialization()
DSemaCUDA.cpp219 if (F->isInvalidDecl()) { in inferCUDATargetForImplicitSpecialMember()
DSemaObjCProperty.cpp66 if (property->isInvalidDecl()) return; in checkARCPropertyDecl()
648 if (property->isInvalidDecl() || ivar->isInvalidDecl()) return; in checkARCPropertyImpl()
1541 if (Prop->isInvalidDecl() || in DefaultSynthesizeProperties()
1740 if (Prop->isInvalidDecl() || in DiagnoseUnimplementedProperties()
1950 if (CD->isInvalidDecl()) in ProcessPropertyDecl()
2121 if (!PDecl || PDecl->isInvalidDecl()) in CheckObjCPropertyAttributes()
DSemaStmt.cpp89 if (!decl || decl->isInvalidDecl()) in ActOnForEachDeclStmt()
1763 if (!D || D->isInvalidDecl()) in ActOnObjCForCollectionStmt()
1942 if (LoopVar->isInvalidDecl() || !Range || in ActOnCXXForRangeStmt()
2141 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) in BuildCXXForRangeStmt()
2338 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) { in BuildCXXForRangeStmt()
2341 if (LoopVar->isInvalidDecl()) in BuildCXXForRangeStmt()
2993 if (DAR == DAR_Failed && !FD->isInvalidDecl()) in DeduceFunctionTypeFromReturnExpr()
3025 if (AT->isDeduced() && !FD->isInvalidDecl()) { in DeduceFunctionTypeFromReturnExpr()
3041 } else if (!FD->isInvalidDecl()) { in DeduceFunctionTypeFromReturnExpr()
3287 if (Var && Var->isInvalidDecl()) in ActOnObjCAtCatchStmt()
[all …]
DSemaTemplateInstantiateDecl.cpp1832 } else if (Method->isInvalidDecl() && !Previous.empty()) { in VisitCXXMethodDecl()
2260 if (!NewUD->isInvalidDecl() && in VisitUsingDecl()
2270 if (NewUD->isInvalidDecl()) in VisitUsingDecl()
2673 if (D->isInvalidDecl()) in SubstDecl()
2698 Invalid = Invalid || !D || D->isInvalidDecl(); in SubstTemplateParams()
3285 if (Function->isInvalidDecl() || Function->isDefined()) in InstantiateFunctionDefinition()
3480 if (FromVar->isInvalidDecl()) in BuildVarTemplateInstantiation()
3641 if (!NewVar->isInvalidDecl() && in BuildVariableInstantiation()
3719 if (Var->isInvalidDecl()) in InstantiateVariableDefinition()
3977 bool AnyErrors = Tmpl->isInvalidDecl(); in InstantiateMemInitializers()
[all …]
DSema.cpp449 if (ND->isInvalidDecl()) continue; in getUndefinedButUsed()
763 if (!VD || VD->isInvalidDecl() || !Seen.insert(VD).second) in ActOnEndOfTranslationUnit()
781 if (!VD->isInvalidDecl()) in ActOnEndOfTranslationUnit()
DSemaDeclObjC.cpp43 if (method->isInvalidDecl()) return true; in checkInitMethod()
327 if (!Param->isInvalidDecl() && in ActOnStartOfObjCMethodDef()
1490 if (impl->isInvalidDecl() || decl->isInvalidDecl()) return true; in checkMethodFamilyMismatch()
2297 if (cast<Decl>(Method->getDeclContext())->isInvalidDecl()) in AddMethodToGlobalPool()
2568 if (Ivar->isInvalidDecl()) in DiagnoseDuplicateIvars()
2900 if (container->isInvalidDecl()) return; in searchFromContainer()
DSemaTemplateDeduction.cpp2235 if (Partial->isInvalidDecl()) in DeduceTemplateArguments()
2401 if (Partial->isInvalidDecl()) in DeduceTemplateArguments()
2915 if (!Specialization || Specialization->isInvalidDecl()) in FinishTemplateArgumentDeduction()
3257 if (FunctionTemplate->isInvalidDecl()) in DeduceTemplateArguments()
3507 if (FunctionTemplate->isInvalidDecl()) in DeduceTemplateArguments()
3705 if (ConversionTemplate->isInvalidDecl()) in DeduceTemplateArguments()
4070 if (StillUndeduced && Diagnose && !FD->isInvalidDecl()) { in DeduceReturnType()
DSemaInit.cpp1602 if (structDecl->isInvalidDecl()) { in CheckStructUnionTypes()
3213 if (!Constructor->isInvalidDecl() && in ResolveConstructorOverload()
3672 if (!Constructor->isInvalidDecl() && in TryRefInitWithConversionFunction()
3686 if (T1RecordType && T1RecordType->getDecl()->isInvalidDecl()) in TryRefInitWithConversionFunction()
3731 if (T2RecordType && T2RecordType->getDecl()->isInvalidDecl()) in TryRefInitWithConversionFunction()
4297 if (!Constructor->isInvalidDecl() && in TryUserDefinedConversion()
5036 if (!Constructor || Constructor->isInvalidDecl() || in LookupCopyAndMoveConstructors()
5050 if (ConstructorTmpl->isInvalidDecl()) in LookupCopyAndMoveConstructors()
DSemaCast.cpp757 if (!SrcRD || !SrcRD->isCompleteDefinition() || SrcRD->isInvalidDecl()) in DiagnoseReinterpretUpDownCast()
762 if (!DestRD || !DestRD->isCompleteDefinition() || DestRD->isInvalidDecl()) in DiagnoseReinterpretUpDownCast()
798 if (Class->isInvalidDecl() || !ClassDefinition || in DiagnoseReinterpretUpDownCast()
DSemaExprMember.cpp1046 if (MemberDecl->isInvalidDecl()) in BuildMemberReferenceExpr()
1336 if (IV->isInvalidDecl()) in LookupMemberExpr()
DSemaLookup.cpp393 if (D->isInvalidDecl() && I < N-1) { in resolveKind()
2541 if (Cand->isInvalidDecl()) in LookupSpecialMember()
2551 if (Cand->isInvalidDecl()) in LookupSpecialMember()
2727 if (D->isInvalidDecl()) { in LookupLiteralOperator()
DSemaLambda.cpp1093 if (Var->isInvalidDecl()) in ActOnStartOfLambdaDefinition()
/external/clang/lib/ARCMigrate/
DTransProperties.cpp108 if (!propD || propD->isInvalidDecl()) in doTransform()
111 if (!ivarD || ivarD->isInvalidDecl()) in doTransform()
/external/clang/lib/AST/
DDeclObjC.cpp736 if (!CtxD->isInvalidDecl()) { in getNextRedeclarationImpl()
739 if (!ImplD->isInvalidDecl()) in getNextRedeclarationImpl()
744 if (!ImplD->isInvalidDecl()) in getNextRedeclarationImpl()
750 if (!IFD->isInvalidDecl()) in getNextRedeclarationImpl()
756 if (!CatD->isInvalidDecl()) in getNextRedeclarationImpl()
1312 if (IV->getSynthesize() && !IV->isInvalidDecl()) { in all_declared_ivar_begin()
DExprConstant.cpp1786 if (RD->isInvalidDecl()) return false; in CastToDerivedClass()
1804 if (Derived->isInvalidDecl()) return false; in HandleLValueDirectBase()
1831 if (DerivedDecl->isInvalidDecl()) return false; in HandleLValueBase()
1857 if (FD->getParent()->isInvalidDecl()) return false; in HandleLValueMember()
2554 if (!VD || VD->isInvalidDecl()) { in findCompleteObject()
3651 if (Declaration->isInvalidDecl()) in CheckConstexprFunction()
3655 if (Definition && Definition->isConstexpr() && !Definition->isInvalidDecl()) in CheckConstexprFunction()
3811 if (RD->isInvalidDecl()) return false; in HandleConstructorCall()
5169 if (RD->isInvalidDecl()) return false; in HandleClassZeroInitialization()
5206 if (RD->isInvalidDecl()) return false; in ZeroInitialization()
[all …]
DDeclCXX.cpp433 if (D->getFriendObjectKind() || D->isInvalidDecl()) in addedMember()
1364 if (data().Abstract || isInvalidDecl() || !data().Polymorphic || in mayBeAbstract()
DDeclBase.cpp710 isInvalidDecl() || in AccessDeclContextSanity()
DDecl.cpp1336 if (!T->isInvalidDecl() && T->hasCachedLinkage()) { in getLVForDecl()
2953 if (isInvalidDecl()) in isImplicitlyInstantiable()
/external/clang/tools/libclang/
DCXType.cpp784 if (!RD || RD->isInvalidDecl()) in validateFieldParentType()
789 if (RD->isInvalidDecl()) in validateFieldParentType()
951 if (!RD || RD->isInvalidDecl()) in clang_Type_visitFields()
954 if (!RD || RD->isInvalidDecl()) in clang_Type_visitFields()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp222 Record.push_back(D->isInvalidDecl()); in VisitDecl()
286 !D->isInvalidDecl() && in VisitTypedefDecl()
355 !D->isInvalidDecl() && in VisitEnumDecl()
384 !D->isInvalidDecl() && in VisitRecordDecl()
626 !D->isInvalidDecl() && in VisitObjCIvarDecl()
756 !D->isInvalidDecl() && in VisitFieldDecl()
828 !D->isInvalidDecl() && in VisitVarDecl()
877 !D->isInvalidDecl() && in VisitParmVarDecl()
1128 !D->isInvalidDecl() && in VisitCXXMethodDecl()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp617 if (!MI.Field || MI.Field->isInvalidDecl()) in ParseLexedMemberInitializer()
/external/clang/include/clang/AST/
DDeclBase.h493 bool isInvalidDecl() const { return (bool) InvalidDecl; } in isInvalidDecl() function

12