Searched refs:CountInBytes (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaBoundsSafety.cpp | 19 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 D | SemaDeclAttr.cpp | 5860 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 D | SemaType.cpp | 9382 bool CountInBytes, in BuildCountAttributedArrayOrPointerType() argument 9390 return Context.getCountAttributedType(WrappedTy, CountExpr, CountInBytes, in BuildCountAttributedArrayOrPointerType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | TypeProperties.td | 35 def : Property<"CountInBytes", Bool> { 44 …def : Creator<[{ return ctx.getCountAttributedType(WrappedTy, CountExpr, CountInBytes, OrNull, Cou…
|
| H A D | Type.h | 2238 unsigned CountInBytes : 1; 3280 bool CountInBytes, bool OrNull, 3296 bool isCountInBytes() const { return CountAttributedTypeBits.CountInBytes; } 3310 Expr *CountExpr, bool CountInBytes, bool Nullable);
|
| H A D | ASTContext.h | 1395 getCountAttributedType(QualType T, Expr *CountExpr, bool CountInBytes,
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 413 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 D | ASTContext.cpp | 3470 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 D | Sema.h | 14638 bool CountInBytes, 15097 llvm::SmallVectorImpl<TypeCoupledDeclRefInfo> &Decls, bool CountInBytes,
|