clang  19.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. More...
 
 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. More...
 
IdentifierInfoIdentifier
 The identifier preceding the '::'. More...
 
SourceLocation IdentifierLoc
 The location of the identifier. More...
 
SourceLocation CCLoc
 The location of the '::'. More...
 

Detailed Description

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

Definition at line 2395 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 2410 of file Sema.h.

◆ NestedNameSpecInfo() [2/2]

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

Definition at line 2416 of file Sema.h.

Member Data Documentation

◆ CCLoc

SourceLocation clang::Sema::NestedNameSpecInfo::CCLoc

The location of the '::'.

Definition at line 2407 of file Sema.h.

◆ Identifier

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

The identifier preceding the '::'.

Definition at line 2401 of file Sema.h.

◆ IdentifierLoc

SourceLocation clang::Sema::NestedNameSpecInfo::IdentifierLoc

The location of the identifier.

Definition at line 2404 of file Sema.h.

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


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