//===- IdentifierResolver.h - Lexical Scope Name lookup ---------*- 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 IdentifierResolver class, which is used for lexical // scoped lookup, based on declaration names. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_SEMA_IDENTIFIERRESOLVER_H #define LLVM_CLANG_SEMA_IDENTIFIERRESOLVER_H #include "clang/Basic/LLVM.h" #include "llvm/ADT/SmallVector.h" #include <cassert> #include <cstddef> #include <cstdint> #include <iterator> namespace clang { class Decl; class DeclarationName; class DeclContext; class IdentifierInfo; class LangOptions; class NamedDecl; class Preprocessor; class Scope; /// IdentifierResolver - Keeps track of shadowed decls on enclosing /// scopes. It manages the shadowing chains of declaration names and /// implements efficient decl lookup based on a declaration name. class IdentifierResolver { … }; } // namespace clang #endif // LLVM_CLANG_SEMA_IDENTIFIERRESOLVER_H