clang 23.0.0git
clang::DeclaratorChunk::PointerTypeInfo Struct Reference

#include "clang/Sema/DeclSpec.h"

Public Member Functions

void destroy ()

Public Attributes

unsigned TypeQuals: 5
 The type qualifiers: const/volatile/restrict/unaligned/atomic.
SourceLocation ConstQualLoc
 The location of the const-qualifier, if any.
SourceLocation VolatileQualLoc
 The location of the volatile-qualifier, if any.
SourceLocation RestrictQualLoc
 The location of the restrict-qualifier, if any.
SourceLocation AtomicQualLoc
 The location of the _Atomic-qualifier, if any.
SourceLocation UnalignedQualLoc
 The location of the __unaligned-qualifier, if any.
SourceLocation OverflowBehaviorLoc
 The location of an __ob_wrap or __ob_trap qualifier, if any.
unsigned OverflowBehaviorIsWrap: 1
 Whether the overflow behavior qualifier is wrap (true) or trap (false).

Detailed Description

Definition at line 1276 of file DeclSpec.h.

Member Function Documentation

◆ destroy()

void clang::DeclaratorChunk::PointerTypeInfo::destroy ( )
inline

Definition at line 1304 of file DeclSpec.h.

References destroy().

Referenced by destroy().

Member Data Documentation

◆ AtomicQualLoc

SourceLocation clang::DeclaratorChunk::PointerTypeInfo::AtomicQualLoc

The location of the _Atomic-qualifier, if any.

Definition at line 1291 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers(), and fillAtomicQualLoc().

◆ ConstQualLoc

SourceLocation clang::DeclaratorChunk::PointerTypeInfo::ConstQualLoc

The location of the const-qualifier, if any.

Definition at line 1282 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers().

◆ OverflowBehaviorIsWrap

unsigned clang::DeclaratorChunk::PointerTypeInfo::OverflowBehaviorIsWrap

Whether the overflow behavior qualifier is wrap (true) or trap (false).

Only meaningful if OverflowBehaviorLoc is valid.

Definition at line 1302 of file DeclSpec.h.

Referenced by GetFullTypeForDeclarator().

◆ OverflowBehaviorLoc

SourceLocation clang::DeclaratorChunk::PointerTypeInfo::OverflowBehaviorLoc

The location of an __ob_wrap or __ob_trap qualifier, if any.

Definition at line 1297 of file DeclSpec.h.

Referenced by GetFullTypeForDeclarator().

◆ RestrictQualLoc

SourceLocation clang::DeclaratorChunk::PointerTypeInfo::RestrictQualLoc

The location of the restrict-qualifier, if any.

Definition at line 1288 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers().

◆ TypeQuals

unsigned clang::DeclaratorChunk::PointerTypeInfo::TypeQuals

The type qualifiers: const/volatile/restrict/unaligned/atomic.

Definition at line 1279 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers(), and GetFullTypeForDeclarator().

◆ UnalignedQualLoc

SourceLocation clang::DeclaratorChunk::PointerTypeInfo::UnalignedQualLoc

The location of the __unaligned-qualifier, if any.

Definition at line 1294 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers().

◆ VolatileQualLoc

SourceLocation clang::DeclaratorChunk::PointerTypeInfo::VolatileQualLoc

The location of the volatile-qualifier, if any.

Definition at line 1285 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers().


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