//===- UsedDeclVisitor.h - ODR-used declarations visitor --------*- 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 UsedDeclVisitor, a CRTP class which visits all the // declarations that are ODR-used by an expression or statement. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_LIB_SEMA_USEDDECLVISITOR_H #define LLVM_CLANG_LIB_SEMA_USEDDECLVISITOR_H #include "clang/AST/EvaluatedExprVisitor.h" #include "clang/Sema/SemaInternal.h" namespace clang { template <class Derived> class UsedDeclVisitor : public EvaluatedExprVisitor<Derived> { … }; } // end namespace clang #endif // LLVM_CLANG_LIB_SEMA_USEDDECLVISITOR_H