clang  10.0.0svn
Classes | Public Member Functions | List of all members
clang::CurrentSourceLocExprScope Class Reference

Represents the current source location and context used to determine the value of the source location builtins (ex. More...

#include "clang/AST/CurrentSourceLocExprScope.h"

Classes

class  SourceLocExprScopeGuard
 

Public Member Functions

const ExprgetDefaultExpr () const
 
 CurrentSourceLocExprScope ()=default
 

Detailed 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.

Definition at line 26 of file CurrentSourceLocExprScope.h.

Constructor & Destructor Documentation

◆ CurrentSourceLocExprScope()

clang::CurrentSourceLocExprScope::CurrentSourceLocExprScope ( )
explicitdefault

Referenced by getDefaultExpr().

Member Function Documentation

◆ getDefaultExpr()

const Expr* clang::CurrentSourceLocExprScope::getDefaultExpr ( ) const
inline

Definition at line 36 of file CurrentSourceLocExprScope.h.

References CurrentSourceLocExprScope().


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