Searched refs:fileNullability (Results 1 – 2 of 2) sorted by relevance
3469 FileNullability &fileNullability = S.NullabilityMap[file]; in checkNullabilityConsistency() local3470 if (!fileNullability.SawTypeNullability) { in checkNullabilityConsistency()3472 if (fileNullability.PointerLoc.isInvalid() && in checkNullabilityConsistency()3475 fileNullability.PointerLoc = pointerLoc; in checkNullabilityConsistency()3476 fileNullability.PointerKind = static_cast<unsigned>(pointerKind); in checkNullabilityConsistency()3570 FileNullability &fileNullability = S.NullabilityMap[file]; in GetFullTypeForDeclarator() local3573 if (!fileNullability.SawTypeNullability) { in GetFullTypeForDeclarator()3574 if (fileNullability.PointerLoc.isValid()) { in GetFullTypeForDeclarator()3575 S.Diag(fileNullability.PointerLoc, diag::warn_nullability_missing) in GetFullTypeForDeclarator()3576 << static_cast<unsigned>(fileNullability.PointerKind); in GetFullTypeForDeclarator()[all …]
4239 FileNullability &fileNullability = S.NullabilityMap[file]; in checkNullabilityConsistency() local4240 if (!fileNullability.SawTypeNullability) { in checkNullabilityConsistency()4249 if (fileNullability.PointerLoc.isInvalid() && in checkNullabilityConsistency()4251 fileNullability.PointerLoc = pointerLoc; in checkNullabilityConsistency()4252 fileNullability.PointerEndLoc = pointerEndLoc; in checkNullabilityConsistency()4253 fileNullability.PointerKind = static_cast<unsigned>(pointerKind); in checkNullabilityConsistency()4275 FileNullability &fileNullability = S.NullabilityMap[file]; in recordNullabilitySeen() local4276 if (fileNullability.SawTypeNullability) in recordNullabilitySeen()4278 fileNullability.SawTypeNullability = true; in recordNullabilitySeen()4282 if (fileNullability.PointerLoc.isInvalid()) in recordNullabilitySeen()[all …]