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

#include <Sema.h>

Collaboration diagram for clang::FileNullability:
[legend]

Public Attributes

SourceLocation PointerLoc
 
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 215 of file Sema.h.

Member Data Documentation

uint8_t clang::FileNullability::PointerKind

Which kind of pointer declarator we saw.

Definition at line 221 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 218 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 224 of file Sema.h.

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


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