From 7845f1e80e424c9b9d51ab9065e2a034226301d1 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 11 Oct 2010 16:52:23 +0000 Subject: Eliminate clang_setUseExternalASTGeneration() from libclang. Between improvements to the compiler and the introduction of crash recovery, it no longer makes sense to allow this mode. Moreover, this eliminates one use of the "clang" executable from within libclang; we'd like them all to go away. llvm-svn: 116207 --- clang/include/clang-c/Index.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'clang/include/clang-c') diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 707c0df2017..1dc4c05c025 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -201,18 +201,6 @@ CINDEX_LINKAGE CXIndex clang_createIndex(int excludeDeclarationsFromPCH, */ CINDEX_LINKAGE void clang_disposeIndex(CXIndex index); -/** - * \brief Request that AST's be generated externally for API calls which parse - * source code on the fly, e.g. \see createTranslationUnitFromSourceFile. - * - * Note: This is for debugging purposes only, and may be removed at a later - * date. - * - * \param index - The index to update. - * \param value - The new flag value. - */ -CINDEX_LINKAGE void clang_setUseExternalASTGeneration(CXIndex index, - int value); /** * \defgroup CINDEX_FILES File manipulation routines * -- cgit v1.2.3