Home
last modified time | relevance | path

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

/freebsd-14-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaBoundsSafety.cpp19 getCountAttrKind(bool CountInBytes, bool OrNull) { in getCountAttrKind() argument
20 if (CountInBytes) in getCountAttrKind()
53 llvm::SmallVectorImpl<TypeCoupledDeclRefInfo> &Decls, bool CountInBytes, in CheckCountedByAttrOnField() argument
57 unsigned Kind = getCountAttrKind(CountInBytes, OrNull); in CheckCountedByAttrOnField()
66 if (FieldTy->isArrayType() && (CountInBytes || OrNull)) { in CheckCountedByAttrOnField()
107 if (PointeeTy->isIncompleteType() && !CountInBytes) { in CheckCountedByAttrOnField()
HDSemaDeclAttr.cpp5860 bool CountInBytes; in handleCountedByAttrField() local
5864 CountInBytes = false; in handleCountedByAttrField()
5868 CountInBytes = false; in handleCountedByAttrField()
5872 CountInBytes = true; in handleCountedByAttrField()
5876 CountInBytes = true; in handleCountedByAttrField()
5884 if (S.CheckCountedByAttrOnField(FD, CountExpr, Decls, CountInBytes, OrNull)) in handleCountedByAttrField()
5888 FD->getType(), CountExpr, CountInBytes, OrNull); in handleCountedByAttrField()
HDSemaType.cpp9382 bool CountInBytes, in BuildCountAttributedArrayOrPointerType() argument
9390 return Context.getCountAttributedType(WrappedTy, CountExpr, CountInBytes, in BuildCountAttributedArrayOrPointerType()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/AST/
HDTypeProperties.td35 def : Property<"CountInBytes", Bool> {
44 …def : Creator<[{ return ctx.getCountAttributedType(WrappedTy, CountExpr, CountInBytes, OrNull, Cou…
HDType.h2238 unsigned CountInBytes : 1;
3280 bool CountInBytes, bool OrNull,
3296 bool isCountInBytes() const { return CountAttributedTypeBits.CountInBytes; }
3310 Expr *CountExpr, bool CountInBytes, bool Nullable);
HDASTContext.h1395 getCountAttributedType(QualType T, Expr *CountExpr, bool CountInBytes,
/freebsd-14-stable/contrib/llvm-project/clang/lib/AST/
HDType.cpp413 bool CountInBytes, bool OrNull) { in Profile() argument
415 ID.AddBoolean(CountInBytes); in Profile()
3845 QualType Wrapped, QualType Canon, Expr *CountExpr, bool CountInBytes, in CountAttributedType() argument
3850 CountAttributedTypeBits.CountInBytes = CountInBytes; in CountAttributedType()
HDASTContext.cpp3470 QualType WrappedTy, Expr *CountExpr, bool CountInBytes, bool OrNull, in getCountAttributedType() argument
3475 CountAttributedType::Profile(ID, WrappedTy, CountExpr, CountInBytes, OrNull); in getCountAttributedType()
3487 new (CATy) CountAttributedType(WrappedTy, CanonTy, CountExpr, CountInBytes, in getCountAttributedType()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Sema/
HDSema.h14631 bool CountInBytes,
15090 llvm::SmallVectorImpl<TypeCoupledDeclRefInfo> &Decls, bool CountInBytes,