summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-05-27 16:57:42 +0000
committerTed Kremenek <kremenek@apple.com>2010-05-27 16:57:42 +0000
commit31729162bcfe8073356c98d046e9838b0935d2e1 (patch)
treeb125a4c18ae68e5e4196e2c4d52d071afaca8979 /clang/include/clang-c
parent5e6b71ce34512670be9a55e859bbacfdfa8edaaf (diff)
downloadbcm5719-llvm-31729162bcfe8073356c98d046e9838b0935d2e1.tar.gz
bcm5719-llvm-31729162bcfe8073356c98d046e9838b0935d2e1.zip
Remove clang_isFromMainFile(). It doesn't work correctly with CXDiagnostics, and we shouldn't
have an API around that cannot be implemented correctly yet. llvm-svn: 104849
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 86926bd683b..ef779d622a8 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -343,12 +343,6 @@ CINDEX_LINKAGE CXSourceLocation clang_getRangeStart(CXSourceRange range);
CINDEX_LINKAGE CXSourceLocation clang_getRangeEnd(CXSourceRange range);
/**
- * \brief Determine if the source location occurs within the main file
- * of the translation unit (as opposed to an included header).
- */
-CINDEX_LINKAGE unsigned clang_isFromMainFile(CXSourceLocation loc);
-
-/**
* @}
*/
OpenPOWER on IntegriCloud