clang  15.0.0git
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:
Collaboration graph
[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 245 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 252 of file Sema.h.

◆ PointerKind

uint8_t clang::FileNullability::PointerKind

Which kind of pointer declarator we saw.

Definition at line 255 of file Sema.h.

◆ 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 248 of file Sema.h.

◆ SawTypeNullability

bool clang::FileNullability::SawTypeNullability = false

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

Definition at line 258 of file Sema.h.


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