clang 8.0.0

Public Attributes | List of all members
clang::FileNullability Struct Reference

Describes whether we've seen any nullability information for the given file. More...

`#include "clang/Sema/Sema.h"`

Collaboration diagram for clang::FileNullability:
[legend]

## Public Attributes
SourceLocation | PointerLoc
| The first pointer declarator (of any pointer kind) in the file that does not have a corresponding nullability annotation. More...
SourceLocation | PointerEndLoc
| The end location for the first pointer declarator in the file. More...
uint8_t | PointerKind
| Which kind of pointer declarator we saw. More...
bool | SawTypeNullability = false
| Whether we saw any type nullability annotations in the given file. More...

## Detailed Description

Describes whether we've seen any nullability information for the given file.

Definition at line 231 of file Sema.h.

## Member Data Documentation

## ◆ PointerEndLoc

SourceLocation clang::FileNullability::PointerEndLoc

The end location for the first pointer declarator in the file.

Used for placing fix-its.

Definition at line 238 of file Sema.h.

Referenced by checkNullabilityConsistency(), and recordNullabilitySeen().

## ◆ PointerKind

uint8_t clang::FileNullability::PointerKind

Which kind of pointer declarator we saw.

Definition at line 241 of file Sema.h.

Referenced by checkNullabilityConsistency(), and recordNullabilitySeen().

## ◆ PointerLoc

SourceLocation clang::FileNullability::PointerLoc

The first pointer declarator (of any pointer kind) in the file that does not have a corresponding nullability annotation.

Definition at line 234 of file Sema.h.

Referenced by checkNullabilityConsistency(), and recordNullabilitySeen().

## ◆ SawTypeNullability

bool clang::FileNullability::SawTypeNullability = false

Whether we saw any type nullability annotations in the given file.

Definition at line 244 of file Sema.h.

Referenced by checkNullabilityConsistency(), and recordNullabilitySeen().

The documentation for this struct was generated from the following file:

- include/clang/Sema/Sema.h