/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()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDecl.cpp | 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() [all …]
|
D | SemaDeclCXX.cpp | 1599 if (Param->isInvalidDecl()) in CheckCXXDefaultArguments() 1959 if (Field->isInvalidDecl()) in CheckConstexprCtorInitializer() 2577 if (BaseDecl->isInvalidDecl()) in CheckBaseSpecifier() 2795 if (BaseRD->isInvalidDecl() || DerivedRD->isInvalidDecl()) in IsDerivedFrom() 3006 if (D->isInvalidDecl()) in CheckOverrideControl() 3074 if (D->isInvalidDecl() || D->hasAttr<OverrideAttr>()) in DiagnoseAbsenceOfOverrideControl() 3408 if (Member->isInvalidDecl()) { in ActOnCXXMemberDeclarator() 3854 if (Constructor->isInvalidDecl()) in DiagnoseUninitializedFields() 4317 if (Member->isInvalidDecl()) in BuildMemberInitializer() 4682 if (Field->isInvalidDecl()) in BuildImplicitMemberInitializer() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 965 if (!NewDD || NewDD->isInvalidDecl()) in VisitDecompositionDecl() 2527 } else if (Method->isInvalidDecl() && !Previous.empty()) { in VisitCXXMethodDecl() 3034 if (!NewUD->isInvalidDecl() && in VisitUsingDecl() 3044 if (NewUD->isInvalidDecl()) in VisitUsingDecl() 3304 if (PrevDeclInScope && !PrevDeclInScope->isInvalidDecl()) { in VisitOMPDeclareReductionDecl() 3363 /*S=*/nullptr, DRD, IsCorrect && !D->isInvalidDecl()); in VisitOMPDeclareReductionDecl() 3389 if (PrevDeclInScope && !PrevDeclInScope->isInvalidDecl()) { in VisitOMPDeclareMapperDecl() 3732 if (D->isInvalidDecl()) in SubstDecl() 3776 if (Spaceship->isInvalidDecl()) in SubstSpaceshipAsEqualEqual() 3829 Invalid = Invalid || !D || D->isInvalidDecl(); in SubstTemplateParams() [all …]
|
D | SemaStmt.cpp | 91 if (!decl || decl->isInvalidDecl()) in ActOnForEachDeclStmt() 1968 if (!D || D->isInvalidDecl()) in ActOnObjCForCollectionStmt() 2170 if (LoopVar->isInvalidDecl() || !Range || in ActOnCXXForRangeStmt() 2435 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) { in BuildCXXForRangeStmt() 2704 if (!LoopVar->isInvalidDecl() && Kind != BFRK_Check) { in BuildCXXForRangeStmt() 2706 if (LoopVar->isInvalidDecl() || in BuildCXXForRangeStmt() 3334 if (FD->isInvalidDecl()) in ActOnCapScopeReturnStmt() 3554 if (DAR == DAR_Failed && !FD->isInvalidDecl()) in DeduceFunctionTypeFromReturnExpr() 3595 if (!DeducedT.isNull() && !FD->isInvalidDecl()) { in DeduceFunctionTypeFromReturnExpr() 3619 } else if (!FD->isInvalidDecl()) { in DeduceFunctionTypeFromReturnExpr() [all …]
|
D | SemaCUDA.cpp | 359 if (F->isInvalidDecl()) { in inferCUDATargetForImplicitSpecialMember() 515 if (VD->isInvalidDecl() || !VD->hasInit() || !VD->hasGlobalStorage()) in checkAllowedCUDAInitializer()
|
D | SemaDeclObjC.cpp | 44 if (method->isInvalidDecl()) return true; in checkInitMethod() 375 !MDecl->isInvalidDecl() && in ActOnStartOfObjCMethodDef() 399 if (!Param->isInvalidDecl() && in ActOnStartOfObjCMethodDef() 807 if (!typeParam->isInvalidDecl()) { in popObjCTypeParamList() 2499 if (impl->isInvalidDecl() || decl->isInvalidDecl()) return true; in checkMethodFamilyMismatch() 3422 if (cast<Decl>(Method->getDeclContext())->isInvalidDecl()) in AddMethodToGlobalPool() 3755 if (Ivar->isInvalidDecl()) in DiagnoseDuplicateIvars() 3774 if (ivar->isInvalidDecl()) continue; in DiagnoseWeakIvars() 3793 if (ivar->isInvalidDecl()) in DiagnoseRetainableFlexibleArrayMember() 3851 if (!ivar->isInvalidDecl() && IsVariableSizedType(ivar->getType())) { in DiagnoseVariableSizedIvars() [all …]
|
D | SemaObjCProperty.cpp | 66 if (property->isInvalidDecl()) return; in checkPropertyDeclWithOwnership() 731 if (property->isInvalidDecl() || ivar->isInvalidDecl()) return; in checkARCPropertyImpl() 1911 if (Prop->isInvalidDecl() || in DefaultSynthesizeProperties() 2133 if (Prop->isInvalidDecl() || in DiagnoseUnimplementedProperties() 2390 if (CD->isInvalidDecl()) in ProcessPropertyDecl() 2653 if (!PDecl || PDecl->isInvalidDecl()) in CheckObjCPropertyAttributes()
|
D | SemaTemplateInstantiate.cpp | 2495 if (RD->isInvalidDecl()) in SubstBaseSpecifiers() 2726 if (Member->isInvalidDecl()) { in InstantiateClass() 2760 if (NewMember->isInvalidDecl()) in InstantiateClass() 2814 if (!Instantiation->isInvalidDecl()) { in InstantiateClass() 2848 if (!Instantiation->isInvalidDecl()) { in InstantiateClass() 2862 return Instantiation->isInvalidDecl(); in InstantiateClass() 2927 return Instantiation->isInvalidDecl(); in InstantiateEnum() 3192 if (ClassTemplateSpec->isInvalidDecl()) in InstantiateClassTemplateSpecialization()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | TypeTraits.cpp | 59 if (RecordDecl.isInvalidDecl()) in recordIsTriviallyDefaultConstructible()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseNoexceptCheck.cpp | 20 AST_MATCHER(NamedDecl, isValid) { return !Node.isInvalidDecl(); } in AST_MATCHER()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | DefinitionsInHeadersCheck.cpp | 84 if (ND->isInvalidDecl()) in check()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 111 if (!propD || propD->isInvalidDecl()) in doTransform() 114 if (!ivarD || ivarD->isInvalidDecl()) in doTransform()
|
/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/llvm-project/clang/lib/AST/ |
D | DeclObjC.cpp | 921 if (!CtxD->isInvalidDecl()) { in getNextRedeclarationImpl() 924 if (!ImplD->isInvalidDecl()) in getNextRedeclarationImpl() 929 if (!ImplD->isInvalidDecl()) in getNextRedeclarationImpl() 934 if (!IFD->isInvalidDecl()) in getNextRedeclarationImpl() 939 if (!CatD->isInvalidDecl()) in getNextRedeclarationImpl() 947 if (Redecl && cast<Decl>(Redecl->getDeclContext())->isInvalidDecl()) in getNextRedeclarationImpl() 1667 if (IV->getSynthesize() && !IV->isInvalidDecl()) { in all_declared_ivar_begin()
|
/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()
|
/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/llvm-project/clang/tools/libclang/ |
D | CXType.cpp | 992 if (!RD || RD->isInvalidDecl()) in validateFieldParentType() 997 if (RD->isInvalidDecl()) in validateFieldParentType() 1236 if (!RD || RD->isInvalidDecl()) in clang_Type_visitFields() 1239 if (!RD || RD->isInvalidDecl()) in clang_Type_visitFields()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 303 Record.push_back(D->isInvalidDecl()); in VisitDecl() 392 !D->isInvalidDecl() && in VisitTypedefDecl() 460 !D->isInvalidDecl() && in VisitEnumDecl() 497 !D->isInvalidDecl() && in VisitRecordDecl() 800 !D->isInvalidDecl() && in VisitObjCIvarDecl() 934 !D->isInvalidDecl() && in VisitFieldDecl() 1058 !D->isInvalidDecl() && in VisitVarDecl() 1107 !D->isInvalidDecl() && in VisitParmVarDecl() 1380 !D->isInvalidDecl() && in VisitCXXMethodDecl()
|