class CurrentSourceLocExprScope

Declaration

class CurrentSourceLocExprScope { /* full declaration omitted */ };

Description

Represents the current source location and context used to determine the value of the source location builtins (ex. __builtin_LINE), including the context of default argument and default initializer expressions.

Declared at: clang/include/clang/AST/CurrentSourceLocExprScope.h:25

Member Variables

private const clang::Expr* DefaultExpr = nullptr
The CXXDefaultArgExpr or CXXDefaultInitExpr we're currently evaluating.

Method Overview

Methods

CurrentSourceLocExprScope()

Declared at: clang/include/clang/AST/CurrentSourceLocExprScope.h:37

CurrentSourceLocExprScope(
    const clang::Expr* DefaultExpr)

Declared at: clang/include/clang/AST/CurrentSourceLocExprScope.h:40

Parameters

const clang::Expr* DefaultExpr

CurrentSourceLocExprScope(
    const clang::CurrentSourceLocExprScope&)

Declared at: clang/include/clang/AST/CurrentSourceLocExprScope.h:43

Parameters

const clang::CurrentSourceLocExprScope&

const clang::Expr* getDefaultExpr() const

Declared at: clang/include/clang/AST/CurrentSourceLocExprScope.h:35