diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-20 22:14:22 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-20 22:14:22 +0000 |
commit | 721e82edbc0d2196e3f94bb8693a0a3b60370871 (patch) | |
tree | d136ab743a7704a6231d3e17f2ef20b16ad6276a /clang/include/clang-c | |
parent | 401982f56c3633a4c77ddad49708795132265e13 (diff) | |
download | bcm5719-llvm-721e82edbc0d2196e3f94bb8693a0a3b60370871.tar.gz bcm5719-llvm-721e82edbc0d2196e3f94bb8693a0a3b60370871.zip |
Kill CXEntity and CXDecl. The first has never been used, while the
second has been wholly replaced by cursors.
llvm-svn: 94039
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r-- | clang/include/clang-c/Index.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index f1f36e57b7d..3b70eff4d73 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -54,7 +54,6 @@ typedef void *CXIndex; /* An indexing instance. */ typedef void *CXTranslationUnit; /* A translation unit instance. */ typedef void *CXFile; /* A source file */ -typedef void *CXDecl; /* A specific declaration within a translation unit. */ /* Cursors represent declarations, definitions, and references. */ enum CXCursorKind { @@ -219,12 +218,6 @@ typedef struct { void *data[3]; } CXCursor; -/* A unique token for looking up "visible" CXDecls from a CXTranslationUnit. */ -typedef struct { - CXIndex index; - void *data; -} CXEntity; - /** * For functions returning a string that might or might not need * to be internally allocated and freed. @@ -427,19 +420,6 @@ CINDEX_LINKAGE unsigned clang_visitChildren(CXTranslationUnit tu, CINDEX_LINKAGE const char *clang_getFileName(CXFile SFile); CINDEX_LINKAGE time_t clang_getFileTime(CXFile SFile); -/* - * CXEntity Operations. - */ - -/* clang_getDeclaration() maps from a CXEntity to the matching CXDecl (if any) - * in a specified translation unit. */ -CINDEX_LINKAGE CXDecl clang_getDeclaration(CXEntity, CXTranslationUnit); - -/* - * CXDecl Operations. - */ -CINDEX_LINKAGE CXEntity clang_getEntityFromDecl(CXIndex, CXDecl); - /** * \brief Identifies a specific source location within a translation * unit. |