/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 81 (AllowInvalidDecl || !ND->isInvalidDecl()); in ValidateCandidate() 1422 if (D->isInvalidDecl() || D->isUsed() || D->hasAttr<UnusedAttr>()) in ShouldWarnIfUnusedFileScopedDecl() 1494 if (D->isInvalidDecl()) in ShouldDiagnoseUnusedDecl() 1941 if (New->isInvalidDecl()) return; in MergeTypedefNameDecl() 1998 if (Old->isInvalidDecl()) in MergeTypedefNameDecl() 2767 if (Old->isInvalidDecl()) in MergeFunctionDecl() 3346 if (New->isInvalidDecl() || Old->isInvalidDecl()) in MergeVarDeclTypes() 3470 if (New->isInvalidDecl()) in MergeVarDecl() 3550 if (New->isInvalidDecl()) in MergeVarDecl() 3555 if (New->isInvalidDecl()) in MergeVarDecl() [all …]
|
D | SemaDeclCXX.cpp | 733 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() 1874 if (D->isInvalidDecl()) in CheckOverrideControl() 1943 if (D->isInvalidDecl() || D->hasAttr<OverrideAttr>()) in DiagnoseAbsenceOfOverrideControl() 2204 if (Member->isInvalidDecl()) { in ActOnCXXMemberDeclarator() 2623 if (Constructor->isInvalidDecl()) in DiagnoseUninitializedFields() 3071 if (Member->isInvalidDecl()) in BuildMemberInitializer() 3434 if (Field->isInvalidDecl()) in BuildImplicitMemberInitializer() [all …]
|
D | SemaTemplateInstantiate.cpp | 1745 if (RD->isInvalidDecl()) in SubstBaseSpecifiers() 1871 if (!Complain || (PatternDef && PatternDef->isInvalidDecl())) { in DiagnoseUninstantiableTemplate() 2011 if (Member->isInvalidDecl()) { in InstantiateClass() 2041 if (NewMember->isInvalidDecl()) in InstantiateClass() 2096 if (!Instantiation->isInvalidDecl()) { in InstantiateClass() 2130 if (!Instantiation->isInvalidDecl()) { in InstantiateClass() 2139 return Instantiation->isInvalidDecl(); in InstantiateClass() 2202 return Instantiation->isInvalidDecl(); in InstantiateEnum() 2297 if (ClassTemplateSpec->isInvalidDecl()) in InstantiateClassTemplateSpecialization()
|
D | SemaTemplateInstantiateDecl.cpp | 1972 } else if (Method->isInvalidDecl() && !Previous.empty()) { in VisitCXXMethodDecl() 2401 if (!NewUD->isInvalidDecl() && in VisitUsingDecl() 2411 if (NewUD->isInvalidDecl()) in VisitUsingDecl() 2582 if (PrevDeclInScope && !PrevDeclInScope->isInvalidDecl()) { in VisitOMPDeclareReductionDecl() 2896 if (D->isInvalidDecl()) in SubstDecl() 2920 Invalid = Invalid || !D || D->isInvalidDecl(); in SubstTemplateParams() 3509 if (Function->isInvalidDecl() || Function->isDefined()) in InstantiateFunctionDefinition() 3720 if (FromVar->isInvalidDecl()) in BuildVarTemplateInstantiation() 3869 if (!NewVar->isInvalidDecl() && in BuildVariableInstantiation() 3959 if (Var->isInvalidDecl()) in InstantiateVariableDefinition() [all …]
|
D | SemaStmt.cpp | 91 if (!decl || decl->isInvalidDecl()) in ActOnForEachDeclStmt() 1786 if (!D || D->isInvalidDecl()) in ActOnObjCForCollectionStmt() 1981 if (LoopVar->isInvalidDecl() || !Range || in ActOnCXXForRangeStmt() 2205 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) in BuildCXXForRangeStmt() 2409 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) { in BuildCXXForRangeStmt() 2412 if (LoopVar->isInvalidDecl()) in BuildCXXForRangeStmt() 3092 if (DAR == DAR_Failed && !FD->isInvalidDecl()) in DeduceFunctionTypeFromReturnExpr() 3125 if (!DeducedT.isNull() && !FD->isInvalidDecl()) { in DeduceFunctionTypeFromReturnExpr() 3149 } else if (!FD->isInvalidDecl()) { in DeduceFunctionTypeFromReturnExpr() 3410 if (Var && Var->isInvalidDecl()) in ActOnObjCAtCatchStmt() [all …]
|
D | SemaObjCProperty.cpp | 68 if (property->isInvalidDecl()) return; in checkPropertyDeclWithOwnership() 710 if (property->isInvalidDecl() || ivar->isInvalidDecl()) return; in checkARCPropertyImpl() 1682 if (Prop->isInvalidDecl() || in DefaultSynthesizeProperties() 1898 if (Prop->isInvalidDecl() || in DiagnoseUnimplementedProperties() 2147 if (CD->isInvalidDecl()) in ProcessPropertyDecl() 2368 if (!PDecl || PDecl->isInvalidDecl()) in CheckObjCPropertyAttributes()
|
D | Sema.cpp | 480 if (ND->isInvalidDecl()) continue; in getUndefinedButUsed() 799 if (!VD || VD->isInvalidDecl() || !Seen.insert(VD).second) in ActOnEndOfTranslationUnit() 817 if (!VD->isInvalidDecl()) in ActOnEndOfTranslationUnit()
|
D | SemaDeclObjC.cpp | 44 if (method->isInvalidDecl()) return true; in checkInitMethod() 327 if (!Param->isInvalidDecl() && in ActOnStartOfObjCMethodDef() 730 if (!typeParam->isInvalidDecl()) { in popObjCTypeParamList() 2406 if (impl->isInvalidDecl() || decl->isInvalidDecl()) return true; in checkMethodFamilyMismatch() 3317 if (cast<Decl>(Method->getDeclContext())->isInvalidDecl()) in AddMethodToGlobalPool() 3647 if (Ivar->isInvalidDecl()) in DiagnoseDuplicateIvars() 3666 if (ivar->isInvalidDecl()) continue; in DiagnoseWeakIvars() 3997 if (container->isInvalidDecl()) return; in searchFromContainer()
|
D | SemaCUDA.cpp | 292 if (F->isInvalidDecl()) { in inferCUDATargetForImplicitSpecialMember()
|
D | SemaTemplateDeduction.cpp | 2265 if (Partial->isInvalidDecl()) in DeduceTemplateArguments() 2406 if (Partial->isInvalidDecl()) in DeduceTemplateArguments() 2907 if (!Specialization || Specialization->isInvalidDecl()) in FinishTemplateArgumentDeduction() 3327 if (FunctionTemplate->isInvalidDecl()) in DeduceTemplateArguments() 3565 if (FunctionTemplate->isInvalidDecl()) in DeduceTemplateArguments() 3765 if (ConversionTemplate->isInvalidDecl()) in DeduceTemplateArguments() 4141 if (StillUndeduced && Diagnose && !FD->isInvalidDecl()) { in DeduceReturnType()
|
D | SemaCoroutine.cpp | 150 if (!ScopeInfo->CoroutinePromise->isInvalidDecl()) in checkCoroutineContext()
|
D | SemaLambda.cpp | 1077 if (Var->isInvalidDecl()) in ActOnStartOfLambdaDefinition() 1605 if (getLangOpts().CPlusPlus1z && !CallOperator->isInvalidDecl() && in BuildLambdaExpr()
|
D | SemaCast.cpp | 759 if (!SrcRD || !SrcRD->isCompleteDefinition() || SrcRD->isInvalidDecl()) in DiagnoseReinterpretUpDownCast() 764 if (!DestRD || !DestRD->isCompleteDefinition() || DestRD->isInvalidDecl()) in DiagnoseReinterpretUpDownCast() 800 if (Class->isInvalidDecl() || !ClassDefinition || in DiagnoseReinterpretUpDownCast()
|
D | SemaOpenMP.cpp | 1088 if (VDPrivate->isInvalidDecl()) in EndOpenMPDSABlock() 4535 if (LCDecl && !LCDecl->isInvalidDecl()) { in BuildPrivateCounterVar() 4540 if (PrivateVar->isInvalidDecl()) in BuildPrivateCounterVar() 8291 if (VDPrivate->isInvalidDecl()) in ActOnOpenMPPrivateClause() 8585 if (VDPrivate->isInvalidDecl()) { in ActOnOpenMPFirstprivateClause() 8935 return !D->isInvalidDecl() && in buildDeclareReductionRef() 8953 if (!D->isInvalidDecl() && in buildDeclareReductionRef() 8961 if (!D->isInvalidDecl() && in buildDeclareReductionRef() 9435 if (RHSVD->isInvalidDecl()) in ActOnOpenMPReductionClause() 10293 if (!RD || RD->isInvalidDecl()) in IsCXXRecordForMappable() [all …]
|
D | SemaInit.cpp | 1747 if (structDecl->isInvalidDecl()) { in CheckStructUnionTypes() 3475 if (!Info.Constructor->isInvalidDecl() && in ResolveConstructorOverload() 3989 if (!Info.Constructor->isInvalidDecl() && in TryRefInitWithConversionFunction() 4003 if (T1RecordType && T1RecordType->getDecl()->isInvalidDecl()) in TryRefInitWithConversionFunction() 4048 if (T2RecordType && T2RecordType->getDecl()->isInvalidDecl()) in TryRefInitWithConversionFunction() 4605 if (!Info.Constructor->isInvalidDecl() && in TryUserDefinedConversion() 5363 if (Info.Constructor->isInvalidDecl() || in LookupCopyAndMoveConstructors() 5374 if (Info.ConstructorTmpl->isInvalidDecl()) in LookupCopyAndMoveConstructors()
|
D | SemaExprMember.cpp | 1121 if (MemberDecl->isInvalidDecl()) in BuildMemberReferenceExpr() 1428 if (IV->isInvalidDecl()) in LookupMemberExpr()
|
D | SemaLookup.cpp | 512 if (D->isInvalidDecl() && !(I == 0 && N == 1)) { in resolveKind() 1359 } else if (Entity->isInvalidDecl() || Entity->getLocation().isInvalid()) { in getOwningModule() 2951 if (CandDecl->isInvalidDecl()) in LookupSpecialMember() 3133 if (D->isInvalidDecl()) { in LookupLiteralOperator()
|
/external/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 112 if (!propD || propD->isInvalidDecl()) in doTransform() 115 if (!ivarD || ivarD->isInvalidDecl()) in doTransform()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 798 if (!RD || RD->isInvalidDecl()) in validateFieldParentType() 803 if (RD->isInvalidDecl()) in validateFieldParentType() 965 if (!RD || RD->isInvalidDecl()) in clang_Type_visitFields() 968 if (!RD || RD->isInvalidDecl()) in clang_Type_visitFields()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 288 Record.push_back(D->isInvalidDecl()); in VisitDecl() 376 !D->isInvalidDecl() && in VisitTypedefDecl() 442 !D->isInvalidDecl() && in VisitEnumDecl() 471 !D->isInvalidDecl() && in VisitRecordDecl() 725 !D->isInvalidDecl() && in VisitObjCIvarDecl() 857 !D->isInvalidDecl() && in VisitFieldDecl() 934 !D->isInvalidDecl() && in VisitVarDecl() 985 !D->isInvalidDecl() && in VisitParmVarDecl() 1211 !D->isInvalidDecl() && in VisitCXXMethodDecl()
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 849 if (!CtxD->isInvalidDecl()) { in getNextRedeclarationImpl() 852 if (!ImplD->isInvalidDecl()) in getNextRedeclarationImpl() 857 if (!ImplD->isInvalidDecl()) in getNextRedeclarationImpl() 863 if (!IFD->isInvalidDecl()) in getNextRedeclarationImpl() 869 if (!CatD->isInvalidDecl()) in getNextRedeclarationImpl() 1560 if (IV->getSynthesize() && !IV->isInvalidDecl()) { in all_declared_ivar_begin()
|
D | ExprConstant.cpp | 1946 if (RD->isInvalidDecl()) return false; in CastToDerivedClass() 1964 if (Derived->isInvalidDecl()) return false; in HandleLValueDirectBase() 1991 if (DerivedDecl->isInvalidDecl()) return false; in HandleLValueBase() 2017 if (FD->getParent()->isInvalidDecl()) return false; in HandleLValueMember() 2736 if (!VD || VD->isInvalidDecl()) { in findCompleteObject() 3868 if (Declaration->isInvalidDecl()) in CheckConstexprFunction() 3873 !Definition->isInvalidDecl() && Body) in CheckConstexprFunction() 4047 if (RD->isInvalidDecl()) return false; in HandleConstructorCall() 5458 if (RD->isInvalidDecl()) return false; in HandleClassZeroInitialization() 5495 if (RD->isInvalidDecl()) return false; in ZeroInitialization() [all …]
|
D | DeclCXX.cpp | 445 if (D->getFriendObjectKind() || D->isInvalidDecl()) in addedMember() 1448 if (data().Abstract || isInvalidDecl() || !data().Polymorphic || in mayBeAbstract()
|
D | Decl.cpp | 1190 if (!OuterD || OuterD->isInvalidDecl()) in getLVForLocalDecl() 1380 if (!T->isInvalidDecl() && T->hasCachedLinkage()) { in getLVForDecl() 3078 if (isInvalidDecl()) in isImplicitlyInstantiable()
|
/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 623 if (!MI.Field || MI.Field->isInvalidDecl()) in ParseLexedMemberInitializer()
|