aboutsummaryrefslogtreecommitdiff
path: root/tools/libclang/CIndexer.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-10-11 16:52:23 +0000
committerDouglas Gregor <dgregor@apple.com>2010-10-11 16:52:23 +0000
commitb10daedb8fc4c6f70a66dbc1a6eea01684bb4e77 (patch)
treefe88a90f6d496190f6b5e22199e8481a6324a748 /tools/libclang/CIndexer.h
parent334d47e92e9f241576fdeb7477b69a03136ba854 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/CIndexer.h')
-rw-r--r--tools/libclang/CIndexer.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/tools/libclang/CIndexer.h b/tools/libclang/CIndexer.h
index 31bf779ea4..6ef8b40e03 100644
--- a/tools/libclang/CIndexer.h
+++ b/tools/libclang/CIndexer.h
@@ -28,16 +28,13 @@ namespace cxstring {
}
class CIndexer {
- bool UseExternalASTGeneration;
bool OnlyLocalDecls;
bool DisplayDiagnostics;
llvm::sys::Path ClangPath;
public:
- CIndexer()
- : UseExternalASTGeneration(false), OnlyLocalDecls(false),
- DisplayDiagnostics(false) { }
+ CIndexer() : OnlyLocalDecls(false), DisplayDiagnostics(false) { }
/// \brief Whether we only want to see "local" declarations (that did not
/// come from a previous precompiled header). If false, we want to see all
@@ -50,11 +47,6 @@ public:
DisplayDiagnostics = Display;
}
- bool getUseExternalASTGeneration() const { return UseExternalASTGeneration; }
- void setUseExternalASTGeneration(bool Value) {
- UseExternalASTGeneration = Value;
- }
-
/// \brief Get the path of the clang binary.
const llvm::sys::Path& getClangPath();