Searched refs:OrNull (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 23 return OrNull ? CountAttributedType::SizedByOrNull in getCountAttrKind() 25 return OrNull ? CountAttributedType::CountedByOrNull in getCountAttrKind() 54 bool OrNull) { in CheckCountedByAttrOnField() argument 57 unsigned Kind = getCountAttrKind(CountInBytes, OrNull); in CheckCountedByAttrOnField() 66 if (FieldTy->isArrayType() && (CountInBytes || OrNull)) { in CheckCountedByAttrOnField()
|
| H A D | SemaDeclAttr.cpp | 6605 bool OrNull; in handleCountedByAttrField() local 6609 OrNull = false; in handleCountedByAttrField() 6613 OrNull = true; in handleCountedByAttrField() 6617 OrNull = false; in handleCountedByAttrField() 6621 OrNull = 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 | 9668 bool OrNull) { in BuildCountAttributedArrayOrPointerType() argument 9676 OrNull, Decls); in BuildCountAttributedArrayOrPointerType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | TypeProperties.td | 38 def : Property<"OrNull", Bool> { 44 …def : Creator<[{ return ctx.getCountAttributedType(WrappedTy, CountExpr, CountInBytes, OrNull, Cou…
|
| H A D | Type.h | 2272 unsigned OrNull : 1; 3375 bool CountInBytes, bool OrNull, 3392 bool isOrNull() const { return CountAttributedTypeBits.OrNull; }
|
| H A D | ASTContext.h | 1517 bool OrNull,
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 457 bool CountInBytes, bool OrNull) { in Profile() argument 460 ID.AddBoolean(OrNull); in Profile() 3998 bool OrNull, ArrayRef<TypeCoupledDeclRefInfo> CoupledDecls) in CountAttributedType() argument 4003 CountAttributedTypeBits.OrNull = OrNull; 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() 3716 OrNull, DependentDecls); in getCountAttributedType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 2449 bool OrNull); 14945 bool OrNull);
|