clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::Sema::NestedNameSpecInfo Struct Reference

Keeps information about an identifier in a nested-name-spec. More...

#include "clang/Sema/Sema.h"

Public Member Functions

 NestedNameSpecInfo (IdentifierInfo *II, SourceLocation IdLoc, SourceLocation ColonColonLoc, ParsedType ObjectType=ParsedType())
 Creates info object for the most typical case.
 
 NestedNameSpecInfo (IdentifierInfo *II, SourceLocation IdLoc, SourceLocation ColonColonLoc, QualType ObjectType)
 

Public Attributes

ParsedType ObjectType
 The type of the object, if we're parsing nested-name-specifier in a member access expression.
 
IdentifierInfoIdentifier
 The identifier preceding the '::'.
 
SourceLocation IdentifierLoc
 The location of the identifier.
 
SourceLocation CCLoc
 The location of the '::'.
 

Detailed Description

Keeps information about an identifier in a nested-name-spec.

Definition at line 2823 of file Sema.h.

Constructor & Destructor Documentation

◆ NestedNameSpecInfo() [1/2]

clang::Sema::NestedNameSpecInfo::NestedNameSpecInfo ( IdentifierInfo II,
SourceLocation  IdLoc,
SourceLocation  ColonColonLoc,
ParsedType  ObjectType = ParsedType() 
)
inline

Creates info object for the most typical case.

Definition at line 2838 of file Sema.h.

◆ NestedNameSpecInfo() [2/2]

clang::Sema::NestedNameSpecInfo::NestedNameSpecInfo ( IdentifierInfo II,
SourceLocation  IdLoc,
SourceLocation  ColonColonLoc,
QualType  ObjectType 
)
inline

Definition at line 2844 of file Sema.h.

Member Data Documentation

◆ CCLoc

SourceLocation clang::Sema::NestedNameSpecInfo::CCLoc

The location of the '::'.

Definition at line 2835 of file Sema.h.

Referenced by clang::Sema::BuildCXXNestedNameSpecifier().

◆ Identifier

IdentifierInfo* clang::Sema::NestedNameSpecInfo::Identifier

The identifier preceding the '::'.

Definition at line 2829 of file Sema.h.

Referenced by clang::Sema::BuildCXXNestedNameSpecifier().

◆ IdentifierLoc

SourceLocation clang::Sema::NestedNameSpecInfo::IdentifierLoc

The location of the identifier.

Definition at line 2832 of file Sema.h.

Referenced by clang::Sema::BuildCXXNestedNameSpecifier().

◆ ObjectType

ParsedType clang::Sema::NestedNameSpecInfo::ObjectType

The type of the object, if we're parsing nested-name-specifier in a member access expression.

Definition at line 2826 of file Sema.h.

Referenced by clang::Sema::BuildCXXNestedNameSpecifier().


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