diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-04-13 16:31:46 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-04-13 16:31:46 +0000 |
commit | 0481c8f20633624cf8cccadca984e00cc2d93b83 (patch) | |
tree | a93345cd9d337fc8e91c703cc102b83b1062ec5d /clang/lib/Index/ProgramImpl.h | |
parent | d84bb485824da6c3d5ef2c95f4bdec4ce5b3875e (diff) | |
download | bcm5719-llvm-0481c8f20633624cf8cccadca984e00cc2d93b83.tar.gz bcm5719-llvm-0481c8f20633624cf8cccadca984e00cc2d93b83.zip |
Remove the unused, unmaintained, incomplete 'Index' library.
llvm-svn: 154672
Diffstat (limited to 'clang/lib/Index/ProgramImpl.h')
-rw-r--r-- | clang/lib/Index/ProgramImpl.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/clang/lib/Index/ProgramImpl.h b/clang/lib/Index/ProgramImpl.h deleted file mode 100644 index 57b9ce3115e..00000000000 --- a/clang/lib/Index/ProgramImpl.h +++ /dev/null @@ -1,56 +0,0 @@ -//===--- ProgramImpl.h - Internal Program implementation---------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// Internal implementation for the Program class -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_CLANG_INDEX_PROGRAMIMPL_H -#define LLVM_CLANG_INDEX_PROGRAMIMPL_H - -#include "EntityImpl.h" -#include "clang/Basic/IdentifierTable.h" -#include "clang/Basic/LangOptions.h" - -namespace clang { - -namespace idx { - class EntityListener; - -class ProgramImpl { -public: - typedef llvm::FoldingSet<EntityImpl> EntitySetTy; - -private: - EntitySetTy Entities; - llvm::BumpPtrAllocator BumpAlloc; - - IdentifierTable Identifiers; - SelectorTable Selectors; - - ProgramImpl(const ProgramImpl&); // do not implement - ProgramImpl &operator=(const ProgramImpl &); // do not implement - -public: - ProgramImpl() : Identifiers(LangOptions()) { } - - EntitySetTy &getEntities() { return Entities; } - IdentifierTable &getIdents() { return Identifiers; } - SelectorTable &getSelectors() { return Selectors; } - - void *Allocate(unsigned Size, unsigned Align = 8) { - return BumpAlloc.Allocate(Size, Align); - } -}; - -} // namespace idx - -} // namespace clang - -#endif |