Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
80bc3550481d263a94e812e0d77be827b00f45f3
/
llvm
/
unittests
/
Support
/
Path.cpp
99497fd
Revert commit r271704, a patch that enables warnings for non-portable #include and #import paths (Corresponding clang patch has been reverted by r271761). Patches are reverted because they generate lots of unadressable warnings for windows and fail tests under ASAN.
by Taewook Oh
· 9 years ago
dfec58e
In openFileForRead, attempt to fetch the actual name of the file on disk -- including case -- so that clang can later warn about non-portable #include and #import directives.
by Taewook Oh
· 9 years ago
bbd10b4
[ThinLTO] Option to control path of distributed backend files
by Teresa Johnson
· 9 years ago
ead771c
[Support][Unittests] Add unittest for recursive_directory_iterator::level()
by Bruno Cardoso Lopes
· 9 years ago
dd2ca83
Unbreak building unit tests on Windows after r266595.
by Nico Weber
· 10 years ago
1562f69
[Support] Fix an invalid character escaping in string literal (unittest).
by Etienne Bergeron
· 10 years ago
88e9ff6
Fix a -Wsign-compare in Support Path unittests
by Reid Kleckner
· 10 years ago
87c85b7
Fix identify_magic() to check that a file that starts with MH_MAGIC is
by Kevin Enderby
· 10 years ago
06d5618
Fix -Wunused-function in a non-Win32 build
by David Blaikie
· 10 years ago
a90e745
[Support] Tweak path::system_temp_directory() on Windows.
by Pawel Bylica
· 10 years ago
f8cf713
Windows-specific test for sys::path::remove_dots.
by Mike Aizatsky
· 10 years ago
662b4fd
Moving FileManager::removeDotPaths to llvm::sys::path::remove_dots
by Mike Aizatsky
· 10 years ago
6e680b2
Revert r252366: [Support] Use GetTempDir to get the temporary dir path on Windows.
by Pawel Bylica
· 10 years ago
b432214
[Support] Use GetTempDir to get the temporary dir path on Windows.
by Pawel Bylica
· 10 years ago
0e97e5c
[Support] Extend sys::path with user_cache_directory function.
by Pawel Bylica
· 10 years ago
2fa025c
Fix path::home_directory() unit test.
by Pawel Bylica
· 10 years ago
cc275e4
SupportTests::HomeDirectory: Don't try tests when $HOME is undefined.
by NAKAMURA Takumi
· 10 years ago
6d5d5bd
Reformat.
by NAKAMURA Takumi
· 10 years ago
7187e4b
Use Windows Vista API to get the user's home directory
by Pawel Bylica
· 10 years ago
2b4e14e
Make test resilient against windows path separators.
by Benjamin Kramer
· 10 years ago
ae1d599
[Support] Add a version of fs::make_absolute with a custom CWD.
by Benjamin Kramer
· 10 years ago
e4405e9
[ADT] Switch a bunch of places in LLVM that were doing single-character
by Chandler Carruth
· 10 years ago
a26be4a
Move twice-repeated clang path operation into a new function.
by Douglas Katzman
· 10 years ago
6b9396c
Thread premissions through sys::fs::create_director{y|ies}
by Frederic Riss
· 10 years ago
b94f052
llvm/unittests/Support/Path.cpp: Use <windows.h> instead of <Windows.h>.
by NAKAMURA Takumi
· 10 years ago
f817c1c
Use 'override/final' instead of 'virtual' for overridden methods
by Alexander Kornienko
· 11 years ago
2547f93
Don't treat .foo as two path components in path::iterators
by Ben Langmuir
· 11 years ago
a7ad4b3
Object: Handle Mach-O kext bundle files
by Justin Bogner
· 11 years ago
c69f13b
Move the resize file feature from mapped_file_region to the only user.
by Rafael Espindola
· 11 years ago
59aaa6c
Pass a FD to resise_file and add a testcase.
by Rafael Espindola
· 11 years ago
7eb1f18
Remove a convoluted way of calling close by moving the call to the only caller.
by Rafael Espindola
· 11 years ago
71bc507
Remove dead code. NFC.
by Rafael Espindola
· 11 years ago
493456e
Fixing some sign comparison warnings from MSVC; NFC.
by Aaron Ballman
· 11 years ago
1b6c734
Drop a few unneeded ctor calls (missed code review comment).
by Paul Robinson
· 11 years ago
d9c4a9a
Improve long path name support on Windows.
by Paul Robinson
· 11 years ago
2d2b254
Fix identify_magic() with mach-o stub dylibs.
by Nick Kledzik
· 11 years ago
5c69ff5
Support: Use llvm::COFF::BigObjMagic
by Rui Ueyama
· 11 years ago
2acb058
Support: improve identify_magic to recognize COFF bigobj
by Rui Ueyama
· 11 years ago
281f23a
Misc cleanups to the FileSytem api.
by Rafael Espindola
· 11 years ago
c159915
Use simpler version of sys::fs::exists. NFC.
by Rafael Espindola
· 11 years ago
d83c63b
Fix Path unittests on Windows after raw_fd_ostream changes
by Reid Kleckner
· 11 years ago
3fd1e99
Modernize raw_fd_ostream's constructor a bit.
by Rafael Espindola
· 11 years ago
ffbabb7
Fix expected windows result.
by Rafael Espindola
· 11 years ago
7e774c2
Remove dead code. Fixes pr20544.
by Rafael Espindola
· 11 years ago
487e764
Path: Stop claiming path::const_iterator is bidirectional
by Justin Bogner
· 11 years ago
0c274ae
unittests: Actually test reverse iterators in Path tests
by Justin Bogner
· 11 years ago
586ee60
These should be EXPECT_TRUE, not EXPECT_FALSE. Amends r212415.
by Aaron Ballman
· 11 years ago
e56fe8a
Fixing compile errors related to changes with MemoryBuffer::getFile.
by Aaron Ballman
· 11 years ago
2a826e4
Finishing touch for the std::error_code transition.
by Rafael Espindola
· 11 years ago
c049c65
Remove the last uses of 'using std::error_code'
by Rafael Espindola
· 11 years ago
3acea39
Don't use 'using std::error_code' in include/llvm.
by Rafael Espindola
· 11 years ago
70fbe6f
Remove unused has_magic.
by Rafael Espindola
· 11 years ago
5c4f829
Use std::error_code instead of llvm::error_code.
by Rafael Espindola
· 11 years ago
a813d60
Remove windows_error.
by Rafael Espindola
· 11 years ago
afc50b3ed
support: add a utility function to normalise path separators
by Saleem Abdulrasool
· 12 years ago
83f858e
Cleanup the interface for creating soft or hard links.
by Rafael Espindola
· 12 years ago
56440fd
Replace OwningPtr<T> with std::unique_ptr<T>.
by Ahmed Charles
· 12 years ago
8d11639
Fix an inconsistency in treatment of trailing / in path::const_iterator
by Ben Langmuir
· 12 years ago
002da5d
[C++11] Switch all uses of the llvm_move macro to use std::move
by Chandler Carruth
· 12 years ago
667363b
[C++11] Remove uses of LLVM_HAS_RVALUE_REFERENCES from the unittests.
by Chandler Carruth
· 12 years ago
90c7f1c
Replace the F_Binary flag with a F_Text one.
by Rafael Espindola
· 12 years ago
83708e6
Fix windows unittest I missed in the raw_fd_ostream constructor change.
by Rafael Espindola
· 12 years ago
5c20ac0
Simplify remove, create_directory and create_directories.
by Rafael Espindola
· 12 years ago
f7d4101
Introduce llvm::sys::path::home_directory.
by Peter Collingbourne
· 12 years ago
78dcc03
Remove remove_all. A compiler has no need for recursively deleting a directory.
by Rafael Espindola
· 12 years ago
e448f9e
Path: Recognize COFF import library file magic.
by Rui Ueyama
· 12 years ago
829c439
Recognize 0x0000 as a COFF file magic.
by Rui Ueyama
· 12 years ago
5e3de7a
Path: Add tests for existing file magics.
by Rui Ueyama
· 12 years ago
89d1bdb
Whitespace.
by Rui Ueyama
· 12 years ago
e5bf246
Try to fix the build on windows.
by Rafael Espindola
· 12 years ago
73537ea
Fixes a bug when iterating on paths
by Tareq A. Siraj
· 12 years ago
107b74c
Fix windows' implementation of status when a file doesn't exist.
by Rafael Espindola
· 12 years ago
a5932af
Implement getUniqueID for directories on windows.
by Rafael Espindola
· 12 years ago
7f822a9
Include st_dev to make the result of getUniqueID actually unique.
by Rafael Espindola
· 12 years ago
d3c8904
Don't end a file name with a dot. It looks odd.
by Rafael Espindola
· 12 years ago
84ab9b3
Add a unit test for checking that we respect the F_Binary flag.
by Rafael Espindola
· 12 years ago
213c4cb
Remove dead code.
by Rafael Espindola
· 12 years ago
6d35481
Add a wrapper for open.
by Rafael Espindola
· 12 years ago
a8a9f1b
We now always create files with the correct permissions. Simplify the interface.
by Rafael Espindola
· 12 years ago
2eb1ae4
Fix windows build.
by Rafael Espindola
· 12 years ago
155cf0f
Use sys::fs::createTemporaryFile.
by Rafael Espindola
· 12 years ago
7ffacc4
Add a convenience createUniqueDirectory function.
by Rafael Espindola
· 12 years ago
7cf7c51
Rename fs::GetUniqueID to fs::getUniqueID to match the style guide.
by Rafael Espindola
· 12 years ago
9fbe530
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.
by Aaron Ballman
· 12 years ago
3bc8e71
Move PathV2.h to Path.h
by Rafael Espindola
· 12 years ago
b8055cb
[Support][FileSystem] Fix identify_magic for big endian ELF.
by Michael J. Spencer
· 13 years ago
fcdf9a8
Test case for graceful handling of long file names on Windows. Patch thanks to Paul Robinson!
by Aaron Ballman
· 13 years ago
01ac34e
[Support][Test] Missed this in the API change.
by Michael J. Spencer
· 13 years ago
130cec2
Sort the #include lines for unittest/...
by Chandler Carruth
· 13 years ago
f12e3a6
Switch LLVM_USE_RVALUE_REFERENCES to LLVM_HAS_RVALUE_REFERENCES.
by Chandler Carruth
· 13 years ago
135611f
Properly test the LLVM_USE_RVALUE_REFERENCES macro.
by Michael J. Spencer
· 13 years ago
ef2284f
[PathV2] Add mapped_file_region. Implementation for Windows and POSIX.
by Michael J. Spencer
· 13 years ago
c8919dd
unittests/Support/Path.cpp: [Win32] Suppress FileSystemTest.FileMapping for now.
by NAKAMURA Takumi
· 13 years ago
787ea1f
unittests/Support/Path.cpp: [Win32] Suppress FileSystemTest.Permissions for now.
by NAKAMURA Takumi
· 13 years ago
18497e9
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.
by Nick Kledzik
· 13 years ago
5310428
Revert r146363 to allow buildbots to make forward progress.
by Chad Rosier
· 14 years ago
203d780
Support/FileSystem: Implement bool equivalent(file_status A, file_status B);
by Michael J. Spencer
· 14 years ago
32ef4d2
Support/FileSystem: Implement canonicalize.
by Michael J. Spencer
· 14 years ago
0cfb367
unittests/Support/Path.cpp: [recursive_directory_iterator] Work around for end iterator.
by NAKAMURA Takumi
· 14 years ago
9b54a3e
unittests/SupportTests: Fix test. pop modifies the current entry, thus the
by Michael J. Spencer
· 14 years ago
Next »