forked from OSchip/llvm-project
[libclang] Remove WorkingDir field from CIndexer, it has been rendered useless.
No functionality change. llvm-svn: 168738
This commit is contained in:
parent
acdcbdb17d
commit
9923d686d0
|
@ -2486,7 +2486,6 @@ CXTranslationUnit clang_createTranslationUnit(CXIndex CIdx,
|
|||
|
||||
CIndexer *CXXIdx = static_cast<CIndexer *>(CIdx);
|
||||
FileSystemOptions FileSystemOpts;
|
||||
FileSystemOpts.WorkingDir = CXXIdx->getWorkingDirectory();
|
||||
|
||||
IntrusiveRefCntPtr<DiagnosticsEngine> Diags;
|
||||
ASTUnit *TU = ASTUnit::LoadFromASTFile(ast_filename, Diags, FileSystemOpts,
|
||||
|
|
|
@ -33,7 +33,6 @@ class CIndexer {
|
|||
unsigned Options; // CXGlobalOptFlags.
|
||||
|
||||
llvm::sys::Path ResourcesPath;
|
||||
std::string WorkingDir;
|
||||
|
||||
public:
|
||||
CIndexer() : OnlyLocalDecls(false), DisplayDiagnostics(false),
|
||||
|
@ -59,9 +58,6 @@ public:
|
|||
|
||||
/// \brief Get the path of the clang resource files.
|
||||
std::string getClangResourcesPath();
|
||||
|
||||
const std::string &getWorkingDirectory() const { return WorkingDir; }
|
||||
void setWorkingDirectory(const std::string &Dir) { WorkingDir = Dir; }
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue