Searched refs:CountInBytes (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaBoundsSafety.cpp | 21 getCountAttrKind(bool CountInBytes, bool OrNull) { in getCountAttrKind() argument 22 if (CountInBytes) in getCountAttrKind() 53 bool Sema::CheckCountedByAttrOnField(FieldDecl *FD, Expr *E, bool CountInBytes, in CheckCountedByAttrOnField() argument 57 unsigned Kind = getCountAttrKind(CountInBytes, OrNull); in CheckCountedByAttrOnField() 66 if (FieldTy->isArrayType() && (CountInBytes || OrNull)) { in CheckCountedByAttrOnField() 107 if (PointeeTy->isAlwaysIncompleteType() && !CountInBytes) { in CheckCountedByAttrOnField()
|
| H A D | SemaDeclAttr.cpp | 6604 bool CountInBytes; in handleCountedByAttrField() local 6608 CountInBytes = false; in handleCountedByAttrField() 6612 CountInBytes = false; in handleCountedByAttrField() 6616 CountInBytes = true; in handleCountedByAttrField() 6620 CountInBytes = true; in handleCountedByAttrField() 6627 if (S.CheckCountedByAttrOnField(FD, CountExpr, CountInBytes, OrNull)) in handleCountedByAttrField() 6631 FD->getType(), CountExpr, CountInBytes, OrNull); in handleCountedByAttrField()
|
| H A D | SemaType.cpp | 9667 bool CountInBytes, in BuildCountAttributedArrayOrPointerType() argument 9675 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 | 2270 unsigned CountInBytes : 1; 3375 bool CountInBytes, bool OrNull, 3391 bool isCountInBytes() const { return CountAttributedTypeBits.CountInBytes; } 3405 Expr *CountExpr, bool CountInBytes, bool Nullable);
|
| H A D | ASTContext.h | 1516 getCountAttributedType(QualType T, Expr *CountExpr, bool CountInBytes,
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 457 bool CountInBytes, bool OrNull) { in Profile() argument 459 ID.AddBoolean(CountInBytes); in Profile() 3997 QualType Wrapped, QualType Canon, Expr *CountExpr, bool CountInBytes, in CountAttributedType() argument 4002 CountAttributedTypeBits.CountInBytes = CountInBytes; in CountAttributedType()
|
| H A D | ASTContext.cpp | 3698 QualType WrappedTy, Expr *CountExpr, bool CountInBytes, bool OrNull, in getCountAttributedType() argument 3703 CountAttributedType::Profile(ID, WrappedTy, CountExpr, CountInBytes, OrNull); in getCountAttributedType() 3715 new (CATy) CountAttributedType(WrappedTy, CanonTy, CountExpr, CountInBytes, in getCountAttributedType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 2448 bool CheckCountedByAttrOnField(FieldDecl *FD, Expr *E, bool CountInBytes, 14944 bool CountInBytes,
|