cd81d94322a39503e4a3e87b6ee03d4fcb3465fb |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for rebase to r212749. Includes a cherry-pick of: r212948 - fixes a small issue with atomic calls Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/include/llvm/Support/FileSystem.h
|
dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/include/llvm/Support/FileSystem.h
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/include/llvm/Support/FileSystem.h
|
8a631b2cbe2f8621eb3679a4898205da577453b7 |
|
15-Nov-2013 |
Rui Ueyama <ruiu@google.com> |
Path: Recognize COFF import library file magic. Summary: Make identify_magic to recognize COFF import file. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2165 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
8b1d5e20528617b9f026c97714e74b8f7252f343 |
|
29-Oct-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove declared but not implemented function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
135fe6ac5f5b80ef68c19b3ec7bb0063e28f2bab |
|
22-Oct-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Speling fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193165 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
cdfdb5e92bef3333be8445c4a6a78134f088bb63 |
|
16-Oct-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
Support/FileSystem.h: Remove a trailing comma in enum file_magic::Impl. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192745 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
b32b0376d4ac04fc2401e70aa0bdd2f6ce5a8968 |
|
16-Oct-2013 |
Rui Ueyama <ruiu@google.com> |
Path: Recognize Windows compiled resource file. Some background: One can pass compiled resource files (.res files) directly to the linker on Windows. If a resource file is given, the linker will run "cvtres" command in background to convert the resource file to a COFF file to link it. What I'm trying to do with this patch is to make the linker to recognize the resource file by file magic, so that it can run cvtres command. Differential Revision: http://llvm-reviews.chandlerc.com/D1943 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192742 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
c7c07f6e5595edd205f35acb452fbc4133ce2830 |
|
05-Sep-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Fix typos in assert message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190034 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
5752b08aef30386cc6720b59f1103e770ae4eb9c |
|
09-Aug-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Make directory iterator sentinels free. This trades some complexity in operator== for not introducing static objects into any functions using recursive directory iterators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188081 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
8cb1d81250ab0957f956146af7bfe62cdd0a9f3e |
|
01-Aug-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Expose that the unique file ID has a device and a file component. The use of sd_dev and st_ino has reached libclang, so expose the two components in UniqueID so that we can use it in clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
e0913798bca5724d2852386d369d1aa830f97173 |
|
29-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make file_status::getUniqueID const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187383 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
3ed45fe2be4356351942a2cfe9bd92e996d4fcad |
|
29-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Include st_dev to make the result of getUniqueID actually unique. This will let us use getUniqueID instead of st_dev directly on clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
1c881d9d35a7880d0c102119b29d20ceb2ed1975 |
|
18-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
09df10df0d6f327049a7f315f175ab77044e6aaa |
|
17-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add simpler version of is_directory. It will be used in clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186486 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
c1b49b56d4132efa2e06deb8f23508d0de4c8800 |
|
16-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a wrapper for open. This centralizes the handling of O_BINARY and opens the way for hiding more differences (like how open behaves with directories). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186447 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
87be8d353b3454383940ce5abc1a176268a33d33 |
|
16-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a version of sys::fs::status that uses fstat. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
77e31bca0321c6b470a844e3d5468fd998eef44e |
|
16-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Instead friending status, provide windows and posix constructors to file_status. This opens the way of having static helpers in the .inc files that can construct a file_status. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186376 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
dbe3efb86eaad7c9d4c16d9fe512e247d944461c |
|
10-Jul-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Update doxygen comment to match renamed parameters. Found by -Wdocumentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186021 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
ac2de33d2aaa076dc54ce2cea675bcca5b50261e |
|
10-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use status to implement file_size. The status function is already using a syscall that returns the file size. Remember it and implement file_size as a simple wrapper. No functionally change, but clients that already use status now can avoid calling file_size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186016 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
9f439059e60053ae1b8bb40efbe5df0966add03c |
|
08-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
clang-format this enum. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
1cce797d32aa465c054fc4a313d8c330c89bd862 |
|
08-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
We now always create files with the correct permissions. Simplify the interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
01c9d28fece665972c9d355ae738cf3fc73d22d4 |
|
05-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove unique_file now that it is unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
200c748a8643cd127271f4d6849da1e147d4442f |
|
05-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a createUniqueFile function and switch llvm's users of unique_file. This function is complementary to createTemporaryFile. It handles the case were the unique file is *not* temporary: we will rename it in the end. Since we will rename it, the file has to be in the same filesystem as the final destination and we don't prepend the system temporary directory. This has a small semantic difference from unique_file: the default mode is 0666. This matches the behavior of most unix tools. For example, with this change lld now produces files with the same permissions as ld. I will add a test of this change when I port clang over to createUniqueFile (next commit). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185726 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
e11874f6c5e33f5c2d634bfd33e1ae67c93f9b74 |
|
05-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a higher level createTemporaryFile function. This function is inspired by clang's Driver::GetTemporaryPath. It hides the pattern used for uniquing and requires simple file names that are always placed in the system temporary directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185716 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
ae19c89e1da816adbd6c7ffc28f679dabec83573 |
|
28-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't ask for a mode when we are not keeping the file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185123 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
ab7bcc60bc2b5592c9a3d82c16e84d67c4c95e25 |
|
28-Jun-2013 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
Fix typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185120 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
08ddd12e444880b4d570ac42a42414a227022190 |
|
27-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a convenience createUniqueDirectory function. There are a few valid situation where we care about the structure inside a directory, but not about the directory itself. A simple example is for unit testing directory traversal. PathV1 had a function like this, add one to V2 and port existing users of the created temp file and delete it hack to using it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
97c2a0a1100fecb3c2dcd4d582eeaa8fe2ffb335 |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use enums instead of raw octal values. Patch by 罗勇刚(Yonggang Luo). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184971 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
4ae6d4042b5335a97da54110b7e9a4a59e377485 |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a convenience functions that don't return if the directory existed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184955 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
903701dfb7b03b9390c763bb1e2c0b64eec60a30 |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a simpler version of remove_all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184919 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
50188c1f42c122640ab9ccac2134acf371c26b2c |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Port GetMainExecutable over to PathV2. I will remove the V1 version as soon as I change clang in the next commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184914 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
89ced61187bc9805f2894f5988c07d12531a3a0e |
|
24-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a simpler version of is_regular_file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184764 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
bdae6fa82ce92c0782dc291fb75e207398a26c68 |
|
21-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove last use of PathV1.h from Archive.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184484 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
b0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90 |
|
20-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
make getLastModificationTime const. Move it with the other getters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184478 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
11ca2e508c2152732c364d02e5b381e61c851084 |
|
20-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a setLastModificationAndAccessTime to PathV2. With this we can remove the last use of PathV1 from llvm-ar.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
29c17db6508eec1c7c9fb23f3ce863d5ed9bef0e |
|
20-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support for getting the last modification time from a file_status. Use that in llvm-ar.cpp to replace a use of sys::PathWithStatus. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
438600e697448ff704770825d6b92d95ee250905 |
|
20-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove the transitional GetUniqueID. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184433 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
9aa3365426ef5b8b82361945bc6a8dbcd3d2bc2a |
|
20-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Rename fs::GetUniqueID to fs::getUniqueID to match the style guide. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184431 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
4655485eb7dc1d137595149b9bd58eb73e11bb19 |
|
19-Jun-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Modified the implementation of fs::GetUniqueID on Windows such that it actually finds a unique identifier for a file. Also adds unit tests for GetUniqueID. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184351 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
68ba1825fcaf94bdf7e057ef19585226ec48ce5d |
|
18-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a can_write function to PathV2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184233 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
605510d16ead87dc48a363addb8a99eca6e3f17c |
|
18-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a GetUniqueID that will replace the uniqueID of PathV1.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184217 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
8ee23f00c7e9343d09313051c318906558d6ad17 |
|
18-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a version of unique_file that return just the file name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184206 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
9c22f87b1374b06dc6c07f6e8047890e390bbe2d |
|
18-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Basic support for parsing Mach-O universal binaries in LLVMObject library git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184191 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
68c0efac35021516bf46b2793e56e0d9d804c9e8 |
|
17-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't use PathV1.h in LTOCodeGenerator.cpp This patch also adds a simpler version of sys::fs::remove and a tool_output_file constructor for when we already have an open file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
7d75760066d1a38e3f5eac80416b5574ffed0468 |
|
17-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Delete declared but not implemented functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184087 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
fcba9c56a25edc71e32a407dfd6191de6dba0ed7 |
|
14-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Replace use of PathV1.h in Program.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183996 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
af2c42e3d2ee918c4195ce5f32e732c43d93cea8 |
|
11-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove sys::identifyFileType. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
4fbf6633024d40dcb7849f45db5a4d41b2a5b3f1 |
|
11-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fix variable name style. Don't cast to and from int. This enables the compiler to see the enum and produce warnings about a switch not being fully covered. Fix one of these warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183749 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
6d315c6cf201a111d6e7c9118fafc6c39915d1db |
|
10-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a missing 'e'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183692 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
cc3a595ab938352f3acf8652c5858ddf879524a5 |
|
14-Mar-2013 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[Support] Fix lifetime of file descriptors when using MemoryBuffer. Clients of MemoryBuffer::getOpenFile expect it not to take ownership of the file descriptor passed in. So don't. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176995 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
674be02d525d4e24bc6943ed9274958c580bcfbc |
|
10-Jan-2013 |
Jakub Staszak <kubastaszak@gmail.com> |
Fix include guards so they exactly match file names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172025 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
4334dd96a9e622fdcf2825a8f73a2d941d67be72 |
|
30-Nov-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Switch LLVM_USE_RVALUE_REFERENCES to LLVM_HAS_RVALUE_REFERENCES. Rationale: 1) This was the name in the comment block. ;] 2) It matches Clang's __has_feature naming convention. 3) It matches other compiler-feature-test conventions. Sorry for the noise. =] I've also switch the comment block to use a \brief tag and not duplicate the name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168996 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
67c8978617c3bce9d07210f93f6c64c715f77695 |
|
12-Sep-2012 |
Dmitri Gribenko <gribozavr@gmail.com> |
Fix a couple of Doxygen comment issues pointed out by -Wdocumentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163721 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
e20cf3d14997c3511e264748c59687a801caa6ed |
|
04-Sep-2012 |
Bob Wilson <bob.wilson@apple.com> |
Make sure macros in the include subdirectory are not used without being defined. Rationale: For each preprocessor macro, either the definedness is what's meaningful, or the value is what's meaningful, or both. If definedness is meaningful, we should use #ifdef. If the value is meaningful, we should use and #ifdef interchangeably for the same macro, seems ugly to me, even if undefined macros are zero if used. This also has the benefit that including an LLVM header doesn't prevent you from compiling with -Wundef -Werror. Patch by John Garvin! <rdar://problem/12189979> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163148 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
a2ea78f1320c08018e28f82f8fb543fa7b4bb52d |
|
23-Aug-2012 |
Ted Kremenek <kremenek@apple.com> |
Fix an assortment of doxygen comment mistakes found by -Wdocumentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
118f194966d20460c2b1653e06c601e4b66c9b3f |
|
15-Aug-2012 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Properly test the LLVM_USE_RVALUE_REFERENCES macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161978 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
1ebd25e438444ae80ec3d9504fe2173b8306501d |
|
15-Aug-2012 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[PathV2] Add mapped_file_region. Implementation for Windows and POSIX. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161976 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
c8e41c591741b3da1077f7000274ad040bef8002 |
|
23-Jul-2012 |
Sylvestre Ledru <sylvestre@debian.org> |
Fix a typo (the the => the) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160621 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
ca077ec5ea41f4537ae58e141781be622d09c786 |
|
20-Jun-2012 |
Nick Kledzik <kledzik@apple.com> |
Add permissions(), map_file_pages(), and unmap_file_pages() to llvm::sys::fs and add unit test. Unix is implemented. Windows side needs to be implemented. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158770 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
719daba3e01531c6947f07d351550e7ec0a3f0b9 |
|
16-May-2012 |
Daniel Dunbar <daniel@zuster.org> |
[Support] Add a version of sys::fs::equivalent() that treats errors as false. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
61aef8bdf7a60bb1ab510fee0c5b2792468aadd3 |
|
11-May-2012 |
Eric Christopher <echristo@apple.com> |
Allow unique_file to take a mode for file permissions, but default to user only read/write. Part of rdar://11325849 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156591 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
9dc06bd431c826f068a5217718e2171303782f7a |
|
23-Apr-2012 |
Sylvestre Ledru <sylvestre@debian.org> |
Conflict with st_dev/st_ino identifiers under Debian GNU/Hurd The problem is that the struct file_status on UNIX systems has two members called st_dev and st_ino; those are also members of the struct stat, and they are reserved identifiers which can also be provided as #define (and this is the case for st_dev on Hurd). The solution (attached) is to rename them, for example adding a "fs_" prefix (= file status) to them. Patch by Pino Toscano git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
b012eb8cc48fb5f29f911e7866c92c277616b875 |
|
15-Dec-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Zap unnecessary semicolons. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
5b08230930ee219382f6d0abe9d16aa160907169 |
|
14-Dec-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/FileSystem: Add file_magic and move a vew clients over to it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146523 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
7ae606a2a891707ad2e184b0e3baac0dce1b6c0f |
|
12-Dec-2011 |
Chad Rosier <mcrosier@apple.com> |
Revert r146363 to allow buildbots to make forward progress. Original commit message: Support/FileSystem: Implement canonicalize. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
d45fbe62270eaf826419b93f1da66f1850f37faf |
|
12-Dec-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/FileSystem: Implement bool equivalent(file_status A, file_status B); git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146364 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
c3b00e80400d27d5d6152374d87c0ad5866c780c |
|
12-Dec-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/FileSystem: Implement canonicalize. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
a81ac8f2b5d4f61f7bc353f95cc1d0a05266f51c |
|
08-Dec-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/FileSystem: Implement recursive_directory_iterator and make directory_iterator preserve InputIterator semantics on copy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
880545e5d7ad80f0da09187459da1c8a2dcb34ef |
|
08-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
PathV2: Add simplified version of exists that returns false on error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
357b5718411c4a15427d69590651fb8103ae7ba9 |
|
14-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove unimplemented function prototypes from PathV2. They can be readded when someone cares enough. Patch by Aaron Ballman! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
814450a429325339f5445f231c24ced1bf329422 |
|
28-Jul-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Add an optional 'bool makeAbsolute' in llvm::sys::fs::unique_file function. If true and 'model' parameter is not an absolute path, a temp directory will be prepended. Make it true by default to match current behaviour. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136310 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
9f0512d85ffb44b9513ebc867f4d48d33726257a |
|
01-Mar-2011 |
Dan Gohman <gohman@apple.com> |
Change directory_entry::path() to return a const std::string & instead of a StringRef, for the benefit of clients that want the result as a nul-terminated string. Clients that expect a StringRef will get one via the implicit conversion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
28f0ed5c9de4a68f34c0219d4ab83652c4647150 |
|
15-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/PathV2: Add identify_magic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123548 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
d6cdf1d3cb0263c413684aa20cb8aa91f9e128de |
|
15-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/PathV2: Implement get_magic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123544 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
628467ef1f230e40ee00626ddfdcc7ca77b45a11 |
|
28-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/PathV2: Implement has_magic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122587 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
d53f3c864bf94d158a2ae677fe92fd41afaec2f3 |
|
17-Dec-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Pass StringRefs by value, for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
61187dd0ad3d8574f655074e3e7948193d90bb1e |
|
09-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/FileSystem: Change file_status predicate functions that cannot fail to return their result instead of an error_code. Also add some missing predicate functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
ee271d8758c8493f2cadf5b9c0ec57431565891b |
|
07-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/PathV2: Move make_absolute from path to fs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121108 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
1522fce477f3b6b1b5812aa561ad2ff3f51eb968 |
|
07-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/PathV2: Move current_path from path to fs and fix the Unix implementation. Unix bug spotted by Dan Gohman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
03a83a3f41c4763974b6d9d9aff852c9611db44f |
|
06-Dec-2010 |
Frits van Bommel <fvbommel@gmail.com> |
Fix clang warning: "extra ';' inside a class [-pedantic]". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120998 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
753cbbbd3ce28253f381caff83ce2a7f6e08785b |
|
06-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/FileSystem: Add directory_iterator implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
470ae13be812132097cf4c17a189c47def5c19a1 |
|
04-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/FileSystem: Add status implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120870 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
3cb84ef65dd417bc152fdaa173127966ca949318 |
|
03-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/FileSystem: Add unique_file and exists implementations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120776 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
f4e7b167a09df546b4b339ca9ebc445f747a724a |
|
03-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/FileSystem: Remove temp_directory_path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120775 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|
5a7df60619d88a2c804b0dbdf68b0b502941bba3 |
|
01-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/PathV2: Split PathV2.h into PathV2.h and FileSystem.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120592 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/FileSystem.h
|