Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
e30d3eb53e7fa3e51cd86c4dced0f8fe8f16d53a
/
llvm
/
unittests
/
Support
/
Path.cpp
c0d6160
[Support] Follow-up for "Test directory iterators and recursive directory iterators with broken symlinks."
by Juergen Ributzka
· 9 years ago
e7d0fa68
[Support] Test directory iterators and recursive directory iterators with broken symlinks.
by Juergen Ributzka
· 9 years ago
345012d
Reverting r297617 because it broke some bots:
by Aaron Ballman
· 9 years ago
f5cba91
Add support for getting file system permissions and implement sys::fs::permissions to set them.
by Aaron Ballman
· 9 years ago
aeab48a
Fix test failure when Home directory cannot be found.
by Zachary Turner
· 9 years ago
e48ace6
Add llvm::sys::fs::real_path.
by Zachary Turner
· 9 years ago
260bda3
[Support] Add llvm::sys::fs::remove_directories.
by Zachary Turner
· 9 years ago
e0ec129
[Support] Remove unit test for fs::is_local
by Jonas Hahnfeld
· 9 years ago
9c761a3
Process tilde in llvm::sys::path::native
by Serge Pavlov
· 9 years ago
e8bb392
[Support] XFAIL is_local for mips
by Simon Dardis
· 9 years ago
392ed9d
[Support] Add a function to check if a file resides locally.
by Zachary Turner
· 9 years ago
5044009
Fix fs::set_current_path unit test
by Pavel Labath
· 9 years ago
2f09609
[Support] Add sys::fs::set_current_path() (aka chdir)
by Pavel Labath
· 9 years ago
eb100b6
[Support] remove_dots: Remove windows test.
by Benjamin Kramer
· 9 years ago
937dd7a
[Support] remove_dots: Remove .. from absolute paths.
by Benjamin Kramer
· 9 years ago
0db71d9
unittests: Explicitly ignore some return values in crash tests
by Justin Bogner
· 9 years ago
af5a28f
Do not delete leading ../ in remove_dots.
by Eric Liu
· 9 years ago
1a4398a
Fix a real temp file leak in FileOutputBuffer
by Reid Kleckner
· 9 years ago
75e557f
Try to fix some temp file leaks in SupportTests, PR18335
by Reid Kleckner
· 9 years ago
0d955d0
Use the range variant of find instead of unpacking begin/end
by David Majnemer
· 9 years ago
0ad0046
Switch to using an API that handles non-ASCII paths appropriately on Windows.
by Aaron Ballman
· 9 years ago
3dd74b8
Fix a relatively nasty bug with fs::getPathFromOpenFD() on Windows. The GetFinalPathNameByHandle API does not behave as documented; if given a buffer that has enough space for the path but not the null terminator, the call will return the number of characters required *without* the null terminator (despite being documented otherwise) and it will not set GetLastError(). The result was that this function would return a bogus path and no error. Instead, ensure there is sufficient space for a null terminator (we already strip it off manually for compatibility with older versions of Windows).
by Aaron Ballman
· 9 years ago
d915327
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
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
Next »