struct Sema::NestedNameSpecInfo

Declaration

struct Sema::NestedNameSpecInfo { /* full declaration omitted */ };

Description

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

Declared at: clang/include/clang/Sema/Sema.h:6768

Member Variables

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

Method Overview

  • public NestedNameSpecInfo(clang::IdentifierInfo * II, clang::SourceLocation IdLoc, clang::SourceLocation ColonColonLoc, clang::ParsedType ObjectType = clang::OpaquePtr<clang::QualType>())
  • public NestedNameSpecInfo(clang::IdentifierInfo * II, clang::SourceLocation IdLoc, clang::SourceLocation ColonColonLoc, clang::QualType ObjectType)

Methods

NestedNameSpecInfo(
    clang::IdentifierInfo* II,
    clang::SourceLocation IdLoc,
    clang::SourceLocation ColonColonLoc,
    clang::ParsedType ObjectType =
        clang::OpaquePtr<clang::QualType>())

Description

Creates info object for the most typical case.

Declared at: clang/include/clang/Sema/Sema.h:6783

Parameters

clang::IdentifierInfo* II
clang::SourceLocation IdLoc
clang::SourceLocation ColonColonLoc
clang::ParsedType ObjectType = clang::OpaquePtr<clang::QualType>()

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

Declared at: clang/include/clang/Sema/Sema.h:6789

Parameters

clang::IdentifierInfo* II
clang::SourceLocation IdLoc
clang::SourceLocation ColonColonLoc
clang::QualType ObjectType