clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
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.
 

Detailed Description

Definition at line 1271 of file DeclSpec.h.

Member Function Documentation

◆ destroy()

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

Definition at line 1291 of file DeclSpec.h.

Referenced by clang::DeclaratorChunk::destroy().

Member Data Documentation

◆ AtomicQualLoc

SourceLocation clang::DeclaratorChunk::PointerTypeInfo::AtomicQualLoc

The location of the _Atomic-qualifier, if any.

Definition at line 1286 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers(), fillAtomicQualLoc(), and clang::DeclaratorChunk::getPointer().

◆ ConstQualLoc

SourceLocation clang::DeclaratorChunk::PointerTypeInfo::ConstQualLoc

The location of the const-qualifier, if any.

Definition at line 1277 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers(), and clang::DeclaratorChunk::getPointer().

◆ RestrictQualLoc

SourceLocation clang::DeclaratorChunk::PointerTypeInfo::RestrictQualLoc

The location of the restrict-qualifier, if any.

Definition at line 1283 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers(), and clang::DeclaratorChunk::getPointer().

◆ TypeQuals

unsigned clang::DeclaratorChunk::PointerTypeInfo::TypeQuals

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

Definition at line 1274 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers(), GetFullTypeForDeclarator(), and clang::DeclaratorChunk::getPointer().

◆ UnalignedQualLoc

SourceLocation clang::DeclaratorChunk::PointerTypeInfo::UnalignedQualLoc

The location of the __unaligned-qualifier, if any.

Definition at line 1289 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers(), and clang::DeclaratorChunk::getPointer().

◆ VolatileQualLoc

SourceLocation clang::DeclaratorChunk::PointerTypeInfo::VolatileQualLoc

The location of the volatile-qualifier, if any.

Definition at line 1280 of file DeclSpec.h.

Referenced by diagnoseRedundantReturnTypeQualifiers(), and clang::DeclaratorChunk::getPointer().


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