package clang.tidy.nullability

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Evidence

inference.proto:45

An observation of nullability based on local analysis (e.g. a function body). Evidence from across different functions/TUs is combined to form conclusions.

Used in: SlotInference

enum Evidence.Kind

inference.proto:53

A pattern in the code that might help us determine nullability.

Used in: Evidence

enum Nullability

inference.proto:150

Used in: SlotInference, SlotRange

message RemovalRange

inference.proto:185

A half-open source range to be removed: [begin, end).

Used in: SlotRange

enum Slot

inference.proto:35

A "slot" identifies a position in a symbol's type that may have nullability. We use uint32 rather than the Slot type to represent slot numbers in protos. (A symbol may have any number of slots, and proto2 enums are closed). The Slot enum only defines well-known slot values for functions. Fields and global variables use Slot numbers aligned with the indices of their nullability vectors.

message SlotInference

inference.proto:157

A conclusion about nullability based on global analysis (e.g. all TUs).

message SlotPartial

inference.proto:174

Summary of an incomplete set of Evidence for a slot. Once all evidence has been incorporated, can be finalized into SlotInference. This type should be treated as opaque, and its serialization is not stable.

message SlotPartial.SampleLocations

inference.proto:177

Used in: SlotPartial

message SlotRange

inference.proto:193

Nullability information for a pointer-type source range. Does not include the full source range for the type, as that isn't needed for adding/removing nullability annotations.

message Symbol

inference.proto:23

A symbol whose nullability should potentially be inferred.

Used in: Evidence