Home
last modified time | relevance | path

Searched refs:CATy (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaBoundsSafety.cpp221 const CountAttributedType *CATy, in EmitIncompleteCountedByPointeeNotes() argument
239 << CATy->getPointeeType(); in EmitIncompleteCountedByPointeeNotes()
253 SourceRange AttrSrcRange = CATy->getCountExpr()->getSourceRange(); in EmitIncompleteCountedByPointeeNotes()
255 << CATy->isOrNull() << AttrSrcRange; in EmitIncompleteCountedByPointeeNotes()
260 auto *CATy = Ty->getAs<CountAttributedType>(); in GetCountedByAttrOnIncompletePointee() local
263 if (!CATy || CATy->isCountInBytes()) in GetCountedByAttrOnIncompletePointee()
266 auto PointeeTy = CATy->getPointeeType(); in GetCountedByAttrOnIncompletePointee()
275 return {CATy, PointeeTy}; in GetCountedByAttrOnIncompletePointee()
301 auto [CATy, PointeeTy] = in CheckAssignmentToCountAttrPtrWithIncompletePointeeTy()
303 if (!CATy) in CheckAssignmentToCountAttrPtrWithIncompletePointeeTy()
[all …]
H A DSemaChecking.cpp5987 if (auto *CATy = in BuiltinCountedByRef() local
5989 CATy && CATy->getKind() == CountAttributedType::CountedBy) { in BuiltinCountedByRef()
H A DSemaOpenMP.cpp20770 const auto *CATy = dyn_cast<ConstantArrayType>(BaseQTy.getTypePtr()); in checkArrayExpressionDoesNotReferToWholeSize() local
20771 if (!CATy) in checkArrayExpressionDoesNotReferToWholeSize()
20779 return CATy->getSExtSize() != ConstLength.getSExtValue(); in checkArrayExpressionDoesNotReferToWholeSize()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp3706 CountAttributedType *CATy = in getCountAttributedType() local
3708 if (CATy) in getCountAttributedType()
3709 return QualType(CATy, 0); in getCountAttributedType()
3714 CATy = (CountAttributedType *)Allocate(Size, TypeAlignment); in getCountAttributedType()
3715 new (CATy) CountAttributedType(WrappedTy, CanonTy, CountExpr, CountInBytes, in getCountAttributedType()
3717 Types.push_back(CATy); in getCountAttributedType()
3718 CountAttributedTypes.InsertNode(CATy, InsertPos); in getCountAttributedType()
3720 return QualType(CATy, 0); in getCountAttributedType()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp674 if (const auto *CATy = in isSafeArraySubscript() local
679 limit = CATy->getLimitedSize(); in isSafeArraySubscript()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp3697 if (auto *CATy = in EmitBuiltinExpr() local
3699 CATy && CATy->getKind() == CountAttributedType::CountedBy) { in EmitBuiltinExpr()