Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DODRDiagsEmitter.cpp178 QualType FirstType = FirstField->getType(); in diagnoseSubMismatchField() local
180 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseSubMismatchField()
181 DiagError(FieldTypeName) << FirstII << FirstType; in diagnoseSubMismatchField()
276 QualType FirstType = FirstTD->getUnderlyingType(); in diagnoseSubMismatchTypedef() local
278 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseSubMismatchTypedef()
279 DiagError(TypedefType) << IsTypeAlias << FirstName << FirstType; in diagnoseSubMismatchTypedef()
319 QualType FirstType = FirstVD->getType(); in diagnoseSubMismatchVar() local
321 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseSubMismatchVar()
322 DiagError(VarType) << FirstName << FirstType; in diagnoseSubMismatchVar()
1407 QualType FirstType = FirstTTPD->getDefaultArgument(); in diagnoseMismatch() local
[all …]
H A DASTContext.cpp9426 bool ASTContext::areCompatibleSveTypes(QualType FirstType, in areCompatibleSveTypes() argument
9428 assert(((FirstType->isSizelessBuiltinType() && SecondType->isVectorType()) || in areCompatibleSveTypes()
9429 (FirstType->isVectorType() && SecondType->isSizelessBuiltinType())) && in areCompatibleSveTypes()
9432 auto IsValidCast = [this](QualType FirstType, QualType SecondType) { in areCompatibleSveTypes() argument
9433 if (const auto *BT = FirstType->getAs<BuiltinType>()) { in areCompatibleSveTypes()
9441 FirstType->getSveEltType(*this); in areCompatibleSveTypes()
9451 return IsValidCast(FirstType, SecondType) || in areCompatibleSveTypes()
9452 IsValidCast(SecondType, FirstType); in areCompatibleSveTypes()
9455 bool ASTContext::areLaxCompatibleSveTypes(QualType FirstType, in areLaxCompatibleSveTypes() argument
9457 assert(((FirstType->isSizelessBuiltinType() && SecondType->isVectorType()) || in areLaxCompatibleSveTypes()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp2291 QualType FirstType; in ActOnObjCForCollectionStmt() local
2301 FirstType = D->getType(); in ActOnObjCForCollectionStmt()
2310 if (FirstType->getContainedAutoType()) { in ActOnObjCForCollectionStmt()
2315 FirstType = QualType(); in ActOnObjCForCollectionStmt()
2317 D->getTypeSourceInfo()->getTypeLoc(), DeducedInit, FirstType, Info); in ActOnObjCForCollectionStmt()
2320 if (FirstType.isNull()) { in ActOnObjCForCollectionStmt()
2325 D->setType(FirstType); in ActOnObjCForCollectionStmt()
2342 FirstType = static_cast<Expr*>(First)->getType(); in ActOnObjCForCollectionStmt()
2343 if (FirstType.isConstQualified()) in ActOnObjCForCollectionStmt()
2345 << FirstType << First->getSourceRange(); in ActOnObjCForCollectionStmt()
[all …]
H A DSemaDeclAttr.cpp4222 QualType FirstType = FirstField->getType(); in handleTransparentUnionAttr() local
4223 if (FirstType->hasFloatingRepresentation() || FirstType->isVectorType()) { in handleTransparentUnionAttr()
4226 << FirstType->isVectorType() << FirstType; in handleTransparentUnionAttr()
4230 if (FirstType->isIncompleteType()) in handleTransparentUnionAttr()
4232 uint64_t FirstSize = S.Context.getTypeSize(FirstType); in handleTransparentUnionAttr()
4233 uint64_t FirstAlign = S.Context.getTypeAlign(FirstType); in handleTransparentUnionAttr()
H A DSemaExpr.cpp7932 auto ValidScalableConversion = [](QualType FirstType, QualType SecondType) { in isValidSveBitcast() argument
7933 if (!FirstType->isSizelessBuiltinType()) in isValidSveBitcast()
10737 auto IsSveConversion = [](QualType FirstType, QualType SecondType) { in CheckVectorOperands() argument
10739 return FirstType->isSizelessBuiltinType() && VecType && in CheckVectorOperands()
10752 auto IsSveGnuConversion = [](QualType FirstType, QualType SecondType) { in CheckVectorOperands() argument
10753 const VectorType *FirstVecType = FirstType->getAs<VectorType>(); in CheckVectorOperands()
10763 return FirstType->isSizelessBuiltinType() && SecondVecType && in CheckVectorOperands()
17346 QualType FirstType, SecondType; in DiagnoseAssignmentResult() local
17351 FirstType = DstType; in DiagnoseAssignmentResult()
17362 FirstType = SrcType; in DiagnoseAssignmentResult()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h963 const Node *FirstType; variable
969 FirstType(FirstType_), SecondType(SecondType_) {} in CtorVtableSpecialName()
971 template<typename Fn> void match(Fn F) const { F(FirstType, SecondType); } in match()
975 FirstType->print(OB); in printLeft()
4933 Node *FirstType = getDerived().parseType(); in parseSpecialName() local
4934 if (FirstType == nullptr) in parseSpecialName()
4941 return make<CtorVtableSpecialName>(SecondType, FirstType); in parseSpecialName()
/openbsd-src/gnu/llvm/libcxxabi/src/demangle/
H A DItaniumDemangle.h963 const Node *FirstType; variable
969 FirstType(FirstType_), SecondType(SecondType_) {} in CtorVtableSpecialName()
971 template<typename Fn> void match(Fn F) const { F(FirstType, SecondType); } in match()
975 FirstType->print(OB); in printLeft()
4933 Node *FirstType = getDerived().parseType(); in parseSpecialName() local
4934 if (FirstType == nullptr) in parseSpecialName()
4941 return make<CtorVtableSpecialName>(SecondType, FirstType); in parseSpecialName()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTContext.h2240 bool areCompatibleSveTypes(QualType FirstType, QualType SecondType);
2244 bool areLaxCompatibleSveTypes(QualType FirstType, QualType SecondType);