зеркало из https://github.com/microsoft/clang-1.git
[libclang] Remove WorkingDir field from CIndexer, it has been rendered useless.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168738 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
f88836d949
Коммит
7aa7eb9d02
|
@ -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; }
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче