//===--- CurrentSourceLocExprScope.h ----------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file defines types used to track the current context needed to evaluate // a SourceLocExpr. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_AST_CURRENTSOURCELOCEXPRSCOPE_H #define LLVM_CLANG_AST_CURRENTSOURCELOCEXPRSCOPE_H #include <cassert> namespace clang { class Expr; /// 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. class CurrentSourceLocExprScope { … }; class CurrentSourceLocExprScope::SourceLocExprScopeGuard { … }; } // end namespace clang #endif // LLVM_CLANG_AST_CURRENTSOURCELOCEXPRSCOPE_H