mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
getFileStatus has a new parameter (caught by VC++).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35466 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
b9681893c8
commit
cf525fcbae
1 file changed
+2
-2
@@ -310,7 +310,7 @@ bool buildPaths(bool checkExistence, std::string* ErrMsg) {
|
||||
throw std::string("File does not exist: ") + Members[i];
|
||||
sys::FileStatus si;
|
||||
std::string Err;
|
||||
if (aPath.getFileStatus(si, &Err))
|
||||
if (aPath.getFileStatus(si, false, &Err))
|
||||
throw Err;
|
||||
if (si.isDir) {
|
||||
std::set<sys::Path> dirpaths;
|
||||
@@ -646,7 +646,7 @@ doReplaceOrInsert(std::string* ErrMsg) {
|
||||
if (found != remaining.end()) {
|
||||
sys::FileStatus si;
|
||||
std::string Err;
|
||||
if (found->getFileStatus(si, &Err))
|
||||
if (found->getFileStatus(si, false, &Err))
|
||||
return true;
|
||||
if (si.isDir) {
|
||||
if (OnlyUpdate) {
|
||||
|
||||
Reference in new issue
Block a user