Home
last modified time | relevance | path

Searched refs:fileNullability (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaType.cpp3469 FileNullability &fileNullability = S.NullabilityMap[file]; in checkNullabilityConsistency() local
3470 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() local
3573 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 …]
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp4239 FileNullability &fileNullability = S.NullabilityMap[file]; in checkNullabilityConsistency() local
4240 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() local
4276 if (fileNullability.SawTypeNullability) in recordNullabilitySeen()
4278 fileNullability.SawTypeNullability = true; in recordNullabilitySeen()
4282 if (fileNullability.PointerLoc.isInvalid()) in recordNullabilitySeen()
[all …]