1 //===--- Program.h - Cross-translation unit information ---------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file declares the idx::Program interface.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_CLANG_INDEX_PROGRAM_H
15 #define LLVM_CLANG_INDEX_PROGRAM_H
23 /// \brief Top level object that owns and maintains information
24 /// that is common across translation units.
28 Program(const Program&); // do not implement
29 Program &operator=(const Program &); // do not implement
31 friend class GlobalSelector;
37 /// \brief Traverses the AST and passes all the entities to the Handler.
38 void FindEntities(ASTContext &Ctx, EntityHandler &Handler);