clang  6.0.0svn
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"

Collaboration diagram for clang::Sema::NestedNameSpecInfo:
Collaboration graph
[legend]

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 5293 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 5308 of file Sema.h.

◆ NestedNameSpecInfo() [2/2]

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

Definition at line 5314 of file Sema.h.

Member Data Documentation

◆ CCLoc

SourceLocation clang::Sema::NestedNameSpecInfo::CCLoc

The location of the '::'.

Definition at line 5305 of file Sema.h.

◆ Identifier

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

The identifier preceding the '::'.

Definition at line 5299 of file Sema.h.

◆ IdentifierLoc

SourceLocation clang::Sema::NestedNameSpecInfo::IdentifierLoc

The location of the identifier.

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


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