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.cpp19 getCountAttrKind(bool CountInBytes, bool OrNull) { in getCountAttrKind() argument
21 return OrNull ? CountAttributedType::SizedByOrNull in getCountAttrKind()
23 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.cpp5861 bool OrNull; in handleCountedByAttrField() local
5865 OrNull = false; in handleCountedByAttrField()
5869 OrNull = true; in handleCountedByAttrField()
5873 OrNull = false; in handleCountedByAttrField()
5877 OrNull = 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.cpp9383 bool OrNull) { in BuildCountAttributedArrayOrPointerType() argument
9391 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.h2240 unsigned OrNull : 1;
3280 bool CountInBytes, bool OrNull,
3297 bool isOrNull() const { return CountAttributedTypeBits.OrNull; }
H A DASTContext.h1396 bool OrNull,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp413 bool CountInBytes, bool OrNull) { in Profile() argument
416 ID.AddBoolean(OrNull); in Profile()
3846 bool OrNull, ArrayRef<TypeCoupledDeclRefInfo> CoupledDecls) in CountAttributedType() argument
3851 CountAttributedTypeBits.OrNull = OrNull; 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()
3488 OrNull, DependentDecls); in getCountAttributedType()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h14632 bool OrNull);
15091 bool OrNull);