clang 22.0.0git
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 3276 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 3291 of file Sema.h.

References CCLoc, Identifier, IdentifierLoc, and ObjectType.

◆ NestedNameSpecInfo() [2/2]

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

Definition at line 3297 of file Sema.h.

References CCLoc, Identifier, IdentifierLoc, and ObjectType.

Member Data Documentation

◆ CCLoc

SourceLocation clang::Sema::NestedNameSpecInfo::CCLoc

The location of the '::'.

Definition at line 3288 of file Sema.h.

Referenced by clang::Sema::BuildCXXNestedNameSpecifier(), NestedNameSpecInfo(), and NestedNameSpecInfo().

◆ Identifier

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

The identifier preceding the '::'.

Definition at line 3282 of file Sema.h.

Referenced by clang::Sema::BuildCXXNestedNameSpecifier(), NestedNameSpecInfo(), and NestedNameSpecInfo().

◆ IdentifierLoc

SourceLocation clang::Sema::NestedNameSpecInfo::IdentifierLoc

The location of the identifier.

Definition at line 3285 of file Sema.h.

Referenced by clang::Sema::BuildCXXNestedNameSpecifier(), NestedNameSpecInfo(), and NestedNameSpecInfo().

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

Referenced by clang::Sema::BuildCXXNestedNameSpecifier(), NestedNameSpecInfo(), and NestedNameSpecInfo().


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