//===- DeclContextInternals.h - DeclContext Representation ------*- 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 the data structures used in the implementation // of DeclContext. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_AST_DECLCONTEXTINTERNALS_H #define LLVM_CLANG_AST_DECLCONTEXTINTERNALS_H #include "clang/AST/ASTContext.h" #include "clang/AST/Decl.h" #include "clang/AST/DeclBase.h" #include "clang/AST/DeclCXX.h" #include "clang/AST/DeclarationName.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/PointerIntPair.h" #include "llvm/ADT/PointerUnion.h" #include <cassert> namespace clang { class DependentDiagnostic; /// An array of decls optimized for the common case of only containing /// one entry. class StoredDeclsList { … }; class StoredDeclsMap : public llvm::SmallDenseMap<DeclarationName, StoredDeclsList, 4> { … }; class DependentStoredDeclsMap : public StoredDeclsMap { … }; } // namespace clang #endif // LLVM_CLANG_AST_DECLCONTEXTINTERNALS_H