Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaBoundsSafety.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()
H A DSemaDeclAttr.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()
H A DSemaType.cpp9382 bool CountInBytes, in BuildCountAttributedArrayOrPointerType() argument
9390 return Context.getCountAttributedType(WrappedTy, CountExpr, CountInBytes, in BuildCountAttributedArrayOrPointerType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td35 def : Property<"CountInBytes", Bool> {
44 …def : Creator<[{ return ctx.getCountAttributedType(WrappedTy, CountExpr, CountInBytes, OrNull, Cou…
H A DType.h2238 unsigned CountInBytes : 1;
3280 bool CountInBytes, bool OrNull,
3296 bool isCountInBytes() const { return CountAttributedTypeBits.CountInBytes; }
3310 Expr *CountExpr, bool CountInBytes, bool Nullable);
H A DASTContext.h1395 getCountAttributedType(QualType T, Expr *CountExpr, bool CountInBytes,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.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()
H A DASTContext.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/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h14638 bool CountInBytes,
15097 llvm::SmallVectorImpl<TypeCoupledDeclRefInfo> &Decls, bool CountInBytes,