14#ifndef LLVM_CLANG_AST_CURRENTSOURCELOCEXPRSCOPE_H
15#define LLVM_CLANG_AST_CURRENTSOURCELOCEXPRSCOPE_H
27 const Expr *DefaultExpr =
nullptr;
41 : DefaultExpr(DefaultExpr) {}
52 : Current(Current), OldVal(Current), Enable(
false) {
53 assert(DefaultExpr &&
"the new scope should not be empty");
54 if ((Enable = (Current.getDefaultExpr() ==
nullptr)))
~SourceLocExprScopeGuard()
SourceLocExprScopeGuard(const Expr *DefaultExpr, CurrentSourceLocExprScope &Current)
Represents the current source location and context used to determine the value of the source location...
CurrentSourceLocExprScope()=default
const Expr * getDefaultExpr() const
This represents one expression.
The JSON file list parser is used to communicate input to InstallAPI.