Home
last modified time | relevance | path

Searched refs:FirstType (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
H A Dp5-0x.cpp10 template<typename R, typename FirstType, typename ...Types>
11 struct has_nondeduced_pack_test<R(FirstType, Types..., int),
12 R(FirstType, Types...)> {
/llvm-project-15.0.7/clang/test/Index/
H A Dobjc-typeargs-protocols.m14 @interface Foo<FirstType, SecondType> : Base
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp383 const QualType FirstType = FirstArg->getType(); in handleOverloadedOperator() local
386 if (FirstType->isIntegralOrEnumerationType() || in handleOverloadedOperator()
390 const bool IsIterFirst = FirstType->isStructureOrClassType(); in handleOverloadedOperator()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp2291 QualType FirstType; in ActOnObjCForCollectionStmt() local
2301 FirstType = D->getType(); in ActOnObjCForCollectionStmt()
2310 if (FirstType->getContainedAutoType()) { in ActOnObjCForCollectionStmt()
2317 if (FirstType.isNull()) { in ActOnObjCForCollectionStmt()
2322 D->setType(FirstType); in ActOnObjCForCollectionStmt()
2339 FirstType = static_cast<Expr*>(First)->getType(); in ActOnObjCForCollectionStmt()
2340 if (FirstType.isConstQualified()) in ActOnObjCForCollectionStmt()
2342 << FirstType << First->getSourceRange(); in ActOnObjCForCollectionStmt()
2344 if (!FirstType->isDependentType() && in ActOnObjCForCollectionStmt()
2345 !FirstType->isObjCObjectPointerType() && in ActOnObjCForCollectionStmt()
[all …]
H A DSemaDeclAttr.cpp4104 QualType FirstType = FirstField->getType(); in handleTransparentUnionAttr() local
4105 if (FirstType->hasFloatingRepresentation() || FirstType->isVectorType()) { in handleTransparentUnionAttr()
4108 << FirstType->isVectorType() << FirstType; in handleTransparentUnionAttr()
4112 if (FirstType->isIncompleteType()) in handleTransparentUnionAttr()
4114 uint64_t FirstSize = S.Context.getTypeSize(FirstType); in handleTransparentUnionAttr()
4115 uint64_t FirstAlign = S.Context.getTypeAlign(FirstType); in handleTransparentUnionAttr()
H A DSemaExpr.cpp7693 if (!FirstType->isSizelessBuiltinType()) in isValidSveBitcast()
10476 auto IsSveConversion = [](QualType FirstType, QualType SecondType) { in CheckVectorOperands() argument
10478 return FirstType->isSizelessBuiltinType() && VecType && in CheckVectorOperands()
10492 const VectorType *FirstVecType = FirstType->getAs<VectorType>(); in CheckVectorOperands()
10502 return FirstType->isSizelessBuiltinType() && SecondVecType && in CheckVectorOperands()
17071 QualType FirstType, SecondType; in DiagnoseAssignmentResult() local
17076 FirstType = DstType; in DiagnoseAssignmentResult()
17087 FirstType = SrcType; in DiagnoseAssignmentResult()
17097 FDiag << FirstType << SecondType << ActionForDiag in DiagnoseAssignmentResult()
17119 HandleFunctionTypeMismatch(FDiag, SecondType, FirstType); in DiagnoseAssignmentResult()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp9314 bool ASTContext::areCompatibleSveTypes(QualType FirstType, in areCompatibleSveTypes() argument
9320 auto IsValidCast = [this](QualType FirstType, QualType SecondType) { in areCompatibleSveTypes() argument
9321 if (const auto *BT = FirstType->getAs<BuiltinType>()) { in areCompatibleSveTypes()
9329 FirstType->getSveEltType(*this); in areCompatibleSveTypes()
9339 return IsValidCast(FirstType, SecondType) || in areCompatibleSveTypes()
9340 IsValidCast(SecondType, FirstType); in areCompatibleSveTypes()
9343 bool ASTContext::areLaxCompatibleSveTypes(QualType FirstType, in areLaxCompatibleSveTypes() argument
9350 const auto *BT = FirstType->getAs<BuiltinType>(); in areLaxCompatibleSveTypes()
9385 FirstType->getSveEltType(*this)->isIntegerType(); in areLaxCompatibleSveTypes()
9391 return IsLaxCompatible(FirstType, SecondType) || in areLaxCompatibleSveTypes()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h953 const Node *FirstType; variable
959 FirstType(FirstType_), SecondType(SecondType_) {} in CtorVtableSpecialName()
961 template<typename Fn> void match(Fn F) const { F(FirstType, SecondType); } in match()
965 FirstType->print(OB); in printLeft()
4913 Node *FirstType = getDerived().parseType(); in parseSpecialName() local
4914 if (FirstType == nullptr) in parseSpecialName()
4921 return make<CtorVtableSpecialName>(SecondType, FirstType); in parseSpecialName()
/llvm-project-15.0.7/libcxxabi/src/demangle/
H A DItaniumDemangle.h953 const Node *FirstType; variable
959 FirstType(FirstType_), SecondType(SecondType_) {} in CtorVtableSpecialName()
961 template<typename Fn> void match(Fn F) const { F(FirstType, SecondType); } in match()
965 FirstType->print(OB); in printLeft()
4913 Node *FirstType = getDerived().parseType(); in parseSpecialName() local
4914 if (FirstType == nullptr) in parseSpecialName()
4921 return make<CtorVtableSpecialName>(SecondType, FirstType); in parseSpecialName()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp9706 QualType FirstType = FirstField->getType(); in diagnoseOdrViolations() local
9708 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseOdrViolations()
9709 DiagError(FieldTypeName) << FirstII << FirstType; in diagnoseOdrViolations()
9802 QualType FirstType = FirstTD->getUnderlyingType(); in diagnoseOdrViolations() local
9804 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseOdrViolations()
9845 QualType FirstType = FirstVD->getType(); in diagnoseOdrViolations() local
9847 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseOdrViolations()
9848 DiagError(VarType) << FirstName << FirstType; in diagnoseOdrViolations()
10834 QualType FirstType = FirstTTPD->getDefaultArgument(); in diagnoseOdrViolations() local
10839 << (i + 1) << FirstType; in diagnoseOdrViolations()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTContext.h2261 bool areCompatibleSveTypes(QualType FirstType, QualType SecondType);
2265 bool areLaxCompatibleSveTypes(QualType FirstType, QualType SecondType);
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-matchers.h2604 typedef typename RawPairType::first_type FirstType;
2610 testing::SafeMatcherCast<const FirstType&>(first_matcher)),
2679 const Matcher<const FirstType&> first_matcher_;