15 #ifndef LLVM_CLANG_AST_CURRENT_SOURCE_LOC_EXPR_SCOPE_H 16 #define LLVM_CLANG_AST_CURRENT_SOURCE_LOC_EXPR_SCOPE_H 28 const Expr *DefaultExpr =
nullptr;
42 : DefaultExpr(DefaultExpr) {}
53 : Current(Current), OldVal(Current), Enable(
false) {
54 assert(DefaultExpr &&
"the new scope should not be empty");
75 #endif // LLVM_CLANG_AST_CURRENT_SOURCE_LOC_EXPR_SCOPE_H ~SourceLocExprScopeGuard()
const Expr * getDefaultExpr() const
CurrentSourceLocExprScope()=default
This represents one expression.
Represents the current source location and context used to determine the value of the source location...
Dataflow Directional Tag Classes.
SourceLocExprScopeGuard(const Expr *DefaultExpr, CurrentSourceLocExprScope &Current)