Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaBoundsSafety.cpp21 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 DSemaDeclAttr.cpp6605 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 DSemaType.cpp9668 bool OrNull) { in BuildCountAttributedArrayOrPointerType() argument
9676 OrNull, Decls); in BuildCountAttributedArrayOrPointerType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td38 def : Property<"OrNull", Bool> {
44 …def : Creator<[{ return ctx.getCountAttributedType(WrappedTy, CountExpr, CountInBytes, OrNull, Cou…
H A DType.h2272 unsigned OrNull : 1;
3375 bool CountInBytes, bool OrNull,
3392 bool isOrNull() const { return CountAttributedTypeBits.OrNull; }
H A DASTContext.h1517 bool OrNull,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp457 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 DASTContext.cpp3698 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 DSema.h2449 bool OrNull);
14945 bool OrNull);