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
- public CurrentSourceLocExprScope()
- private CurrentSourceLocExprScope(const clang::Expr * DefaultExpr)
- private CurrentSourceLocExprScope(const clang::CurrentSourceLocExprScope &)
- public const clang::Expr * getDefaultExpr() const
Methods
¶CurrentSourceLocExprScope()
CurrentSourceLocExprScope()
Declared at: clang/include/clang/AST/CurrentSourceLocExprScope.h:37
¶CurrentSourceLocExprScope(
const clang::Expr* DefaultExpr)
CurrentSourceLocExprScope(
const clang::Expr* DefaultExpr)
Declared at: clang/include/clang/AST/CurrentSourceLocExprScope.h:40
Parameters
- const clang::Expr* DefaultExpr
¶CurrentSourceLocExprScope(
const clang::CurrentSourceLocExprScope&)
CurrentSourceLocExprScope(
const clang::CurrentSourceLocExprScope&)
Declared at: clang/include/clang/AST/CurrentSourceLocExprScope.h:43
Parameters
¶const clang::Expr* getDefaultExpr() const
const clang::Expr* getDefaultExpr() const
Declared at: clang/include/clang/AST/CurrentSourceLocExprScope.h:35