Home
last modified time | relevance | path

Searched refs:isDependentType (Results 1 – 25 of 88) sorted by relevance

1234

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DTypeTraits.cpp43 if (Type->isDependentType() || Type->isIncompleteType()) in isExpensiveToCopy()
123 if (CanonicalType->isDependentType()) in isTriviallyDefaultConstructible()
146 if (Type.getCanonicalType()->isDependentType()) in isTriviallyDestructible()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DConstCorrectnessCheck.cpp34 AST_MATCHER(Type, isDependentType) { return Node.isDependentType(); } in AST_MATCHER() argument
72 hasType(substTemplateTypeParmType()), hasType(isDependentType()), in registerMatchers()
H A DNewDeleteOverloadsCheck.cpp119 if (BS.getType()->isDependentType()) in hasCorrespondingOverloadInBaseClass()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DImplicitWideningOfMultiplicationResultCheck.cpp78 assert(!ETy->isDependentType() && !Ty->isDependentType() && in handleImplicitCastExpr()
178 if (IndexExprType->isDependentType()) in handlePointerOffsetting()
H A DVirtualNearMissCheck.cpp51 if (DerivedReturnTy->isDependentType() || BaseReturnTy->isDependentType()) in checkOverridingFunctionReturnType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCoroutine.cpp402 if (!AwaitReady->getType()->isDependentType()) { in buildCoawaitCalls()
428 if (!AwaitSuspend->getType()->isDependentType()) { in buildCoawaitCalls()
527 if (PD->getType()->isDependentType()) in buildCoroutinePromise()
840 if (Promise->getType()->isDependentType()) { in BuildUnresolvedCoawaitExpr()
878 if (Awaiter->getType()->isDependentType()) { in BuildResolvedCoawaitExpr()
941 if (E->getType()->isDependentType()) { in BuildCoyieldExpr()
1120 Fn.CoroutinePromise->getType()->isDependentType()) { in CoroutineStmtBuilder()
1260 if (PD->getType()->isDependentType()) in collectPlacementArgs()
1601 assert(!GroType->isDependentType() && in makeGroDeclAndReturnStmt()
1605 assert(!FnRetType->isDependentType() && in makeGroDeclAndReturnStmt()
[all …]
H A DSemaCXXScopeSpec.cpp54 if (!T->isDependentType()) in computeDeclContext()
345 if (T->isDependentType()) in isAcceptableNestedNameSpecifier()
411 isDependent = ObjectType->isDependentType(); in isNonTypeNestedNameSpecifier()
520 isDependent = ObjectType->isDependentType(); in BuildCXXNestedNameSpecifier()
879 if (!T->isDependentType() && !T->getAs<TagType>()) { in ActOnCXXNestedNameSpecifierDecltype()
984 if (!T->isDependentType() && !T->getAs<TagType>()) { in ActOnCXXNestedNameSpecifier()
H A DSemaStmtAsm.cpp441 if (Ty->isDependentType()) in ActOnGCCAsmStmt()
533 if (Ty->isDependentType() || Ty->isIncompleteType()) in ActOnGCCAsmStmt()
746 if (T->isFunctionType() || T->isDependentType()) in FillInlineAsmIdentifierInfo()
798 if (T->isDependentType()) { in LookupInlineAsmIdentifier()
888 if (T->isDependentType()) { in LookupInlineAsmVarDeclField()
H A DSemaExprCXX.cpp762 if (!E->getType()->isDependentType()) { in BuildCXXUuidof()
2197 if (!AllocType->isDependentType()) { in BuildCXXNew()
2230 if (!AllocType->isDependentType() && in BuildCXXNew()
2355 if (!AllocType->isDependentType() && in BuildCXXNew()
2435 else if (!AllocType->isDependentType() && in CheckAllocatedType()
5479 assert(!LhsT->isDependentType() && !RhsT->isDependentType() && in EvaluateBinaryTypeTrait()
5762 if (!T->isDependentType()) in BuildArrayTypeTrait()
7497 if (BaseType->isDependentType()) { in ActOnStartCXXMemberReference()
7609 if (!BaseType->isDependentType() && in ActOnStartCXXMemberReference()
7720 if (!DestructedType->isDependentType() && !ObjectType->isDependentType()) { in BuildPseudoDestructorExpr()
[all …]
H A DSemaDecl.cpp2465 !OldType->isDependentType() && in isIncompatibleTypedef()
6373 if (T->isDependentType()) in TryToFixInvalidVariablyModifiedType()
9119 if (PT->isDependentType()) in getOpenCLKernelParameterType()
10595 if (NewT->isDependentType() && in canFullyTypeCheckRedeclaration()
12964 if (DclT->isDependentType()) { in AddInitializerToDecl()
13340 if (Type->isDependentType()) in ActOnUninitializedDecl()
13794 if (!type->isDependentType()) in CheckCompleteVariableDeclaration()
15858 if (T->isDependentType()) in CheckEnumUnderlyingType()
18567 if (Enum->isDependentType()) in CheckEnumConstant()
18645 if (!EltTy->isDependentType()) { in CheckEnumConstant()
[all …]
H A DSemaAccess.cpp321 assert(T->isDependentType() && "non-dependent base wasn't a record?"); in IsDerivedFromInclusive()
367 if (!Friend->isDependentType() && !Context->isDependentType()) in MightInstantiateTo()
443 if (Friend->isDependentType()) in MatchesFriend()
674 assert(T->isDependentType() && "non-dependent base wasn't a record?"); in findFriendship()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/
H A DDefaultOperatorNewAlignmentCheck.cpp32 if (T->isDependentType()) in check()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp42 if (Exp->getType()->isDependentType()) in VisitBinaryOperator()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DDeprecatedIosBaseAliasesCheck.cpp53 bool Fix = Replacement && !TL->getType()->isDependentType(); in check()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DExpectedTypes.cpp22 if (T.isNull() || T->isDependentType()) in toEquivClass()
H A DInlayHints.cpp300 if (!D->getType()->isDependentType()) { in VisitVarDecl()
312 if (D->getIdentifier() && PVD->getType()->isDependentType() && in VisitVarDecl()
/llvm-project-15.0.7/clang/lib/AST/
H A DCXXInheritance.cpp179 if (!LookupInDependent && BaseType->isDependentType()) in lookupInBases()
688 assert(!I.getType()->isDependentType() && in AddIndirectPrimaryBases()
710 assert(!I.getType()->isDependentType() && in getIndirectPrimaryBases()
H A DComputeDependence.cpp197 if (!E->getType()->isDependentType()) in computeDependence()
267 if (!E->getType()->isDependentType()) in computeDependence()
491 if (Type->isDependentType()) in computeDependence()
500 if (T->isDependentType()) in computeDependence()
623 if (!E->getType()->isDependentType()) in computeDependence()
H A DType.cpp1189 T->isDependentType(), /*IsPack=*/false, in SUGARED_TYPE_CLASS()
2276 if (ClassTy->isDependentType()) in isIncompleteType()
2439 if (CanonicalType->isDependentType()) in isTrivialType()
2481 if (CanonicalType->isDependentType()) in isTriviallyCopyableType()
2585 if (isDependentType()) in isLiteralType()
2666 if (isDependentType()) in isStandardLayoutType()
2703 if (ty->isDependentType()) in isCXX11PODType()
3168 (!getTypePtr()->isDependentType() && !getTypePtr()->isRecordType())) in getNonLValueExprType()
3290 } else if (getCanonicalTypeInternal()->isDependentType()) { in FunctionProtoType()
3323 if (ET->isDependentType() || ET->getAs<PackExpansionType>()) in hasDependentExceptionSpec()
[all …]
H A DASTImporterLookupTable.cpp58 if (!Ty->isDependentType()) { in VisitFriendDecl()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DSourceCodeTest.cpp673 ASSERT_TRUE(CalleeType->isDependentType()); in TEST()
676 ASSERT_FALSE(CalleeType->isDependentType()); in TEST()
681 ASSERT_FALSE(CalleeType->isDependentType()); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DDumpAST.cpp143 !Record->isDependentType(); in prepare()
H A DPopulateSwitch.cpp120 if (!EnumD || EnumD->isDependentType()) in REGISTER_TWEAK()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeProperties.td463 node->isDependentType() ? 1 : 0 }];
485 ? false : node->isDependentType() }];
497 let Read = [{ node->isDependentType() }];
654 let Read = [{ node->isDependentType() }];
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIRType.h258 return recTy.isDependentType(); in isRecordWithTypeParameters()

1234