clang  3.9.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 <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...
 
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 220 of file Sema.h.

Member Data Documentation

uint8_t clang::FileNullability::PointerKind

Which kind of pointer declarator we saw.

Definition at line 226 of file Sema.h.

Referenced by checkNullabilityConsistency(), clang::Sema::checkNullabilityTypeSpecifier(), and GetFullTypeForDeclarator().

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

Referenced by checkNullabilityConsistency(), clang::Sema::checkNullabilityTypeSpecifier(), and GetFullTypeForDeclarator().

bool clang::FileNullability::SawTypeNullability = false

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

Definition at line 229 of file Sema.h.

Referenced by checkNullabilityConsistency(), clang::Sema::checkNullabilityTypeSpecifier(), and GetFullTypeForDeclarator().


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