struct Parser::LateParsedDefaultArgument

Declaration

struct Parser::LateParsedDefaultArgument { /* full declaration omitted */ };

Description

LateParsedDefaultArgument - Keeps track of a parameter that may have a default argument that cannot be parsed yet because it occurs within a member function declaration inside the class (C++ [class.mem]p2).

Declared at: clang/include/clang/Parse/Parser.h:1360

Member Variables

public clang::Decl* Param
Param - The parameter declaration for this parameter.
public std::unique_ptr<CachedTokens> Toks
Toks - The sequence of tokens that comprises the default argument expression, not including the '=' or the terminating ')' or ','. This will be NULL for parameters that have no default argument.

Method Overview

Methods

ΒΆLateParsedDefaultArgument(
    clang::Decl* P,
    std::unique_ptr<CachedTokens> Toks = nullptr)

Declared at: clang/include/clang/Parse/Parser.h:1361

Parameters

clang::Decl* P
std::unique_ptr<CachedTokens> Toks = nullptr