summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-01-20 00:26:57 +0000
committerDouglas Gregor <dgregor@apple.com>2010-01-20 00:26:57 +0000
commit9074c3fe979d280659d0d20c9555e64c28764662 (patch)
treec782f3ac15512c3bc6e81dadb128015769d211de /clang/include/clang-c
parentd2fc7277be6aff4056db2b3e1ce9da73037ffc1d (diff)
downloadbcm5719-llvm-9074c3fe979d280659d0d20c9555e64c28764662.tar.gz
bcm5719-llvm-9074c3fe979d280659d0d20c9555e64c28764662.zip
Kill off clang_getDeclColumn, clang_getDeclExtent, clang_getDeclLine,
clang_getDeclSource, and clang_getDeclSourceFile; the cursor equivalents are the way of the future. llvm-svn: 93955
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index d203ff8b8f4..00e47be2b75 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -416,10 +416,6 @@ CINDEX_LINKAGE CXDecl clang_getDeclaration(CXEntity, CXTranslationUnit);
CINDEX_LINKAGE CXCursor clang_getCursorFromDecl(CXDecl);
CINDEX_LINKAGE CXEntity clang_getEntityFromDecl(CXIndex, CXDecl);
CINDEX_LINKAGE CXString clang_getDeclSpelling(CXDecl);
-CINDEX_LINKAGE unsigned clang_getDeclLine(CXDecl); /* deprecate */
-CINDEX_LINKAGE unsigned clang_getDeclColumn(CXDecl); /* deprecate */
-CINDEX_LINKAGE const char *clang_getDeclSource(CXDecl); /* deprecate */
-CINDEX_LINKAGE CXFile clang_getDeclSourceFile(CXDecl); /* deprecate */
/**
* \brief Identifies a specific source location within a translation
@@ -478,13 +474,6 @@ CINDEX_LINKAGE CXSourceLocation clang_getRangeStart(CXSourceRange range);
*/
CINDEX_LINKAGE CXSourceLocation clang_getRangeEnd(CXSourceRange range);
-/* clang_getDeclExtent() returns the physical extent of a declaration. The
- * beginning line/column pair points to the start of the first token in the
- * declaration, and the ending line/column pair points to the last character in
- * the last token of the declaration.
- */
-CINDEX_LINKAGE CXSourceRange clang_getDeclExtent(CXDecl);
-
/*
* CXCursor Operations.
*/
OpenPOWER on IntegriCloud