[PATCH] D51918: [Support] sys::fs::directory_entry includes the file_type.
Kristina Brooks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 12 13:46:17 PDT 2018
kristina requested changes to this revision.
kristina added a comment.
This revision now requires changes to proceed.
Windows build failure after grafting the patch:
Severity Code Description Project File Line Suppression State
Error C2065 'FindData': undeclared identifier (compiling source file Q:\SourceCache\llvm-trunk-8.0\lib\Support\Path.cpp) LLVMSupport q:\sourcecache\llvm-trunk-8.0\lib\support\Windows\Path.inc 956
Error C2227 left of '->dwFileAttributes' must point to class/struct/union/generic type (compiling source file Q:\SourceCache\llvm-trunk-8.0\lib\Support\Path.cpp) LLVMSupport q:\sourcecache\llvm-trunk-8.0\lib\support\Windows\Path.inc 956
Error C2440 '<function-style-cast>': cannot convert from 'initializer list' to 'llvm::sys::fs::directory_entry' (compiling source file Q:\SourceCache\llvm-trunk-8.0\lib\Support\Path.cpp) LLVMSupport q:\sourcecache\llvm-trunk-8.0\lib\support\Windows\Path.inc 957
Error C2819 type '_WIN32_FIND_DATAW' does not have an overloaded member 'operator ->' (compiling source file Q:\SourceCache\llvm-trunk-8.0\lib\Support\Path.cpp) LLVMSupport q:\sourcecache\llvm-trunk-8.0\lib\support\Windows\Path.inc 995
Error C2232 '->_WIN32_FIND_DATAW::dwFileAttributes': left operand has 'struct' type, use '.' (compiling source file Q:\SourceCache\llvm-trunk-8.0\lib\Support\Path.cpp) LLVMSupport q:\sourcecache\llvm-trunk-8.0\lib\support\Windows\Path.inc 995
Error C2664 'void llvm::sys::fs::directory_entry::replace_filename(const llvm::Twine &,llvm::sys::fs::file_type,llvm::sys::fs::basic_file_status)': cannot convert argument 2 from 'llvm::sys::fs::basic_file_status' to 'llvm::sys::fs::file_type' (compiling source file Q:\SourceCache\llvm-trunk-8.0\lib\Support\Path.cpp) LLVMSupport q:\sourcecache\llvm-trunk-8.0\lib\support\Windows\Path.inc 996
Repository:
rL LLVM
https://reviews.llvm.org/D51918
More information about the llvm-commits
mailing list