Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaDecl.cpp80 (AllowInvalidDecl || !ND->isInvalidDecl()); in ValidateCandidate()
1382 if (D->isInvalidDecl() || D->isUsed() || D->hasAttr<UnusedAttr>()) in ShouldWarnIfUnusedFileScopedDecl()
1451 if (D->isInvalidDecl()) in ShouldDiagnoseUnusedDecl()
1886 if (New->isInvalidDecl()) return; in MergeTypedefNameDecl()
1943 if (Old->isInvalidDecl()) in MergeTypedefNameDecl()
2693 if (Old->isInvalidDecl()) in MergeFunctionDecl()
3258 if (New->isInvalidDecl() || Old->isInvalidDecl()) in MergeVarDeclTypes()
3383 if (New->isInvalidDecl()) in MergeVarDecl()
3463 if (New->isInvalidDecl()) in MergeVarDecl()
3468 if (New->isInvalidDecl()) in MergeVarDecl()
[all …]
DSemaDeclCXX.cpp733 if (Param->isInvalidDecl()) in CheckCXXDefaultArguments()
981 if (Field->isInvalidDecl()) in CheckConstexprCtorInitializer()
1464 if (BaseDecl->isInvalidDecl()) in CheckBaseSpecifier()
1682 if (BaseRD->isInvalidDecl() || DerivedRD->isInvalidDecl()) in IsDerivedFrom()
1871 if (D->isInvalidDecl()) in CheckOverrideControl()
1940 if (D->isInvalidDecl() || D->hasAttr<OverrideAttr>()) in DiagnoseAbsenceOfOverrideControl()
2201 if (Member->isInvalidDecl()) { in ActOnCXXMemberDeclarator()
2620 if (Constructor->isInvalidDecl()) in DiagnoseUninitializedFields()
3068 if (Member->isInvalidDecl()) in BuildMemberInitializer()
3458 if (Field->isInvalidDecl()) in BuildImplicitMemberInitializer()
[all …]
DSemaTemplateInstantiate.cpp1752 if (RD->isInvalidDecl()) in SubstBaseSpecifiers()
1869 if (!Complain || (PatternDef && PatternDef->isInvalidDecl())) { in DiagnoseUninstantiableTemplate()
2000 if (Member->isInvalidDecl()) { in InstantiateClass()
2030 if (NewMember->isInvalidDecl()) in InstantiateClass()
2082 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
2116 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
2125 return Instantiation->isInvalidDecl(); in InstantiateClass()
2186 return Instantiation->isInvalidDecl(); in InstantiateEnum()
2279 if (ClassTemplateSpec->isInvalidDecl()) in InstantiateClassTemplateSpecialization()
DSemaTemplateInstantiateDecl.cpp1897 } else if (Method->isInvalidDecl() && !Previous.empty()) { in VisitCXXMethodDecl()
2324 if (!NewUD->isInvalidDecl() && in VisitUsingDecl()
2334 if (NewUD->isInvalidDecl()) in VisitUsingDecl()
2737 if (D->isInvalidDecl()) in SubstDecl()
2761 Invalid = Invalid || !D || D->isInvalidDecl(); in SubstTemplateParams()
3351 if (Function->isInvalidDecl() || Function->isDefined()) in InstantiateFunctionDefinition()
3546 if (FromVar->isInvalidDecl()) in BuildVarTemplateInstantiation()
3694 if (!NewVar->isInvalidDecl() && in BuildVariableInstantiation()
3772 if (Var->isInvalidDecl()) in InstantiateVariableDefinition()
4030 bool AnyErrors = Tmpl->isInvalidDecl(); in InstantiateMemInitializers()
[all …]
DSemaStmt.cpp90 if (!decl || decl->isInvalidDecl()) in ActOnForEachDeclStmt()
1765 if (!D || D->isInvalidDecl()) in ActOnObjCForCollectionStmt()
1960 if (LoopVar->isInvalidDecl() || !Range || in ActOnCXXForRangeStmt()
2182 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) in BuildCXXForRangeStmt()
2383 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) { in BuildCXXForRangeStmt()
2386 if (LoopVar->isInvalidDecl()) in BuildCXXForRangeStmt()
3037 if (DAR == DAR_Failed && !FD->isInvalidDecl()) in DeduceFunctionTypeFromReturnExpr()
3069 if (AT->isDeduced() && !FD->isInvalidDecl()) { in DeduceFunctionTypeFromReturnExpr()
3088 } else if (!FD->isInvalidDecl()) { in DeduceFunctionTypeFromReturnExpr()
3337 if (Var && Var->isInvalidDecl()) in ActOnObjCAtCatchStmt()
[all …]
DSemaObjCProperty.cpp68 if (property->isInvalidDecl()) return; in checkPropertyDeclWithOwnership()
700 if (property->isInvalidDecl() || ivar->isInvalidDecl()) return; in checkARCPropertyImpl()
1647 if (Prop->isInvalidDecl() || in DefaultSynthesizeProperties()
1846 if (Prop->isInvalidDecl() || in DiagnoseUnimplementedProperties()
2086 if (CD->isInvalidDecl()) in ProcessPropertyDecl()
2283 if (!PDecl || PDecl->isInvalidDecl()) in CheckObjCPropertyAttributes()
DSemaCUDA.cpp363 if (F->isInvalidDecl()) { in inferCUDATargetForImplicitSpecialMember()
DSema.cpp482 if (ND->isInvalidDecl()) continue; in getUndefinedButUsed()
802 if (!VD || VD->isInvalidDecl() || !Seen.insert(VD).second) in ActOnEndOfTranslationUnit()
820 if (!VD->isInvalidDecl()) in ActOnEndOfTranslationUnit()
DSemaDeclObjC.cpp45 if (method->isInvalidDecl()) return true; in checkInitMethod()
328 if (!Param->isInvalidDecl() && in ActOnStartOfObjCMethodDef()
731 if (!typeParam->isInvalidDecl()) { in popObjCTypeParamList()
2381 if (impl->isInvalidDecl() || decl->isInvalidDecl()) return true; in checkMethodFamilyMismatch()
3228 if (cast<Decl>(Method->getDeclContext())->isInvalidDecl()) in AddMethodToGlobalPool()
3499 if (Ivar->isInvalidDecl()) in DiagnoseDuplicateIvars()
3518 if (ivar->isInvalidDecl()) continue; in DiagnoseWeakIvars()
3848 if (container->isInvalidDecl()) return; in searchFromContainer()
DSemaTemplateDeduction.cpp2243 if (Partial->isInvalidDecl()) in DeduceTemplateArguments()
2409 if (Partial->isInvalidDecl()) in DeduceTemplateArguments()
2924 if (!Specialization || Specialization->isInvalidDecl()) in FinishTemplateArgumentDeduction()
3335 if (FunctionTemplate->isInvalidDecl()) in DeduceTemplateArguments()
3573 if (FunctionTemplate->isInvalidDecl()) in DeduceTemplateArguments()
3773 if (ConversionTemplate->isInvalidDecl()) in DeduceTemplateArguments()
4149 if (StillUndeduced && Diagnose && !FD->isInvalidDecl()) { in DeduceReturnType()
DSemaCoroutine.cpp150 if (!ScopeInfo->CoroutinePromise->isInvalidDecl()) in checkCoroutineContext()
DSemaCast.cpp758 if (!SrcRD || !SrcRD->isCompleteDefinition() || SrcRD->isInvalidDecl()) in DiagnoseReinterpretUpDownCast()
763 if (!DestRD || !DestRD->isCompleteDefinition() || DestRD->isInvalidDecl()) in DiagnoseReinterpretUpDownCast()
799 if (Class->isInvalidDecl() || !ClassDefinition || in DiagnoseReinterpretUpDownCast()
DSemaLookup.cpp501 if (D->isInvalidDecl() && !(I == 0 && N == 1)) { in resolveKind()
1341 } else if (Entity->isInvalidDecl() || Entity->getLocation().isInvalid()) { in getOwningModule()
2858 if (Cand->isInvalidDecl()) in LookupSpecialMember()
2868 if (Cand->isInvalidDecl()) in LookupSpecialMember()
3044 if (D->isInvalidDecl()) { in LookupLiteralOperator()
DSemaInit.cpp1688 if (structDecl->isInvalidDecl()) { in CheckStructUnionTypes()
3394 if (!Constructor->isInvalidDecl() && in ResolveConstructorOverload()
3861 if (!Constructor->isInvalidDecl() && in TryRefInitWithConversionFunction()
3875 if (T1RecordType && T1RecordType->getDecl()->isInvalidDecl()) in TryRefInitWithConversionFunction()
3920 if (T2RecordType && T2RecordType->getDecl()->isInvalidDecl()) in TryRefInitWithConversionFunction()
4487 if (!Constructor->isInvalidDecl() && in TryUserDefinedConversion()
5239 if (!Constructor || Constructor->isInvalidDecl() || in LookupCopyAndMoveConstructors()
5253 if (ConstructorTmpl->isInvalidDecl()) in LookupCopyAndMoveConstructors()
DSemaExprMember.cpp1081 if (MemberDecl->isInvalidDecl()) in BuildMemberReferenceExpr()
1363 if (IV->isInvalidDecl()) in LookupMemberExpr()
DSemaOpenMP.cpp939 if (VDPrivate->isInvalidDecl()) in EndOpenMPDSABlock()
3322 if (Var && !Var->isInvalidDecl()) { in BuildPrivateCounterVar()
3327 if (PrivateVar->isInvalidDecl()) in BuildPrivateCounterVar()
6415 if (VDPrivate->isInvalidDecl()) in ActOnOpenMPPrivateClause()
6698 if (VDPrivate->isInvalidDecl()) { in ActOnOpenMPFirstprivateClause()
8079 if (!RD || RD->isInvalidDecl()) in IsCXXRecordForMappable()
8128 if (!RD->isInvalidDecl() && in CheckTypeMappable()
/external/clang/lib/ARCMigrate/
DTransProperties.cpp112 if (!propD || propD->isInvalidDecl()) in doTransform()
115 if (!ivarD || ivarD->isInvalidDecl()) in doTransform()
/external/clang/tools/libclang/
DCXType.cpp785 if (!RD || RD->isInvalidDecl()) in validateFieldParentType()
790 if (RD->isInvalidDecl()) in validateFieldParentType()
952 if (!RD || RD->isInvalidDecl()) in clang_Type_visitFields()
955 if (!RD || RD->isInvalidDecl()) in clang_Type_visitFields()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp283 Record.push_back(D->isInvalidDecl()); in VisitDecl()
350 !D->isInvalidDecl() && in VisitTypedefDecl()
416 !D->isInvalidDecl() && in VisitEnumDecl()
445 !D->isInvalidDecl() && in VisitRecordDecl()
701 !D->isInvalidDecl() && in VisitObjCIvarDecl()
834 !D->isInvalidDecl() && in VisitFieldDecl()
909 !D->isInvalidDecl() && in VisitVarDecl()
959 !D->isInvalidDecl() && in VisitParmVarDecl()
1177 !D->isInvalidDecl() && in VisitCXXMethodDecl()
/external/clang/lib/AST/
DDeclObjC.cpp817 if (!CtxD->isInvalidDecl()) { in getNextRedeclarationImpl()
820 if (!ImplD->isInvalidDecl()) in getNextRedeclarationImpl()
825 if (!ImplD->isInvalidDecl()) in getNextRedeclarationImpl()
831 if (!IFD->isInvalidDecl()) in getNextRedeclarationImpl()
837 if (!CatD->isInvalidDecl()) in getNextRedeclarationImpl()
1526 if (IV->getSynthesize() && !IV->isInvalidDecl()) { in all_declared_ivar_begin()
DExprConstant.cpp1870 if (RD->isInvalidDecl()) return false; in CastToDerivedClass()
1888 if (Derived->isInvalidDecl()) return false; in HandleLValueDirectBase()
1915 if (DerivedDecl->isInvalidDecl()) return false; in HandleLValueBase()
1941 if (FD->getParent()->isInvalidDecl()) return false; in HandleLValueMember()
2640 if (!VD || VD->isInvalidDecl()) { in findCompleteObject()
3748 if (Declaration->isInvalidDecl()) in CheckConstexprFunction()
3752 if (Definition && Definition->isConstexpr() && !Definition->isInvalidDecl()) in CheckConstexprFunction()
3914 if (RD->isInvalidDecl()) return false; in HandleConstructorCall()
5295 if (RD->isInvalidDecl()) return false; in HandleClassZeroInitialization()
5332 if (RD->isInvalidDecl()) return false; in ZeroInitialization()
[all …]
DDeclCXX.cpp427 if (D->getFriendObjectKind() || D->isInvalidDecl()) in addedMember()
1380 if (data().Abstract || isInvalidDecl() || !data().Polymorphic || in mayBeAbstract()
DDeclBase.cpp750 isInvalidDecl() || in AccessDeclContextSanity()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp614 if (!MI.Field || MI.Field->isInvalidDecl()) in ParseLexedMemberInitializer()
/external/clang/include/clang/AST/
DDeclBase.h504 bool isInvalidDecl() const { return (bool) InvalidDecl; } in isInvalidDecl() function

12