Revision tags: llvmorg-4.0.0, llvmorg-4.0.0-rc4, llvmorg-4.0.0-rc3, llvmorg-4.0.0-rc2, llvmorg-4.0.0-rc1, llvmorg-3.9.1, llvmorg-3.9.1-rc3, llvmorg-3.9.1-rc2, llvmorg-3.9.1-rc1 |
|
#
0df59d8c |
| 11-Oct-2016 |
Mehdi Amini <mehdi.amini@apple.com> |
Turn FileManager DirectoryEntry::Name from raw pointer to StringRef (NFC)
llvm-svn: 283856
|
#
004b9c7a |
| 10-Oct-2016 |
Mehdi Amini <mehdi.amini@apple.com> |
Store FileEntry::Filename as a StringRef instead of raw pointer (NFC)
llvm-svn: 283815
|
Revision tags: llvmorg-3.9.0, llvmorg-3.9.0-rc3, llvmorg-3.9.0-rc2, llvmorg-3.9.0-rc1, llvmorg-3.8.1, llvmorg-3.8.1-rc1, llvmorg-3.8.0, llvmorg-3.8.0-rc3, llvmorg-3.8.0-rc2, llvmorg-3.8.0-rc1, llvmorg-3.7.1, llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1, llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3, studio-1.4, llvmorg-3.7.0-rc2, llvmorg-3.7.0-rc1, llvmorg-3.6.2, llvmorg-3.6.2-rc1, llvmorg-3.6.1, llvmorg-3.6.1-rc1, llvmorg-3.5.2, llvmorg-3.5.2-rc1 |
|
#
33335df8 |
| 01-Mar-2015 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add missing include.
llvm-svn: 230910
|
Revision tags: llvmorg-3.6.0, llvmorg-3.6.0-rc4, llvmorg-3.6.0-rc3, llvmorg-3.6.0-rc2, llvmorg-3.6.0-rc1 |
|
#
575bc3ba |
| 14-Jan-2015 |
Chandler Carruth <chandlerc@gmail.com> |
[cleanup] Re-sort the #include lines using llvm/utils/sort_includes.py
No functionality changed, this is a purely mechanical cleanup to ensure the #include order remains consistent across the projec
[cleanup] Re-sort the #include lines using llvm/utils/sort_includes.py
No functionality changed, this is a purely mechanical cleanup to ensure the #include order remains consistent across the project.
llvm-svn: 225975
show more ...
|
Revision tags: llvmorg-3.5.1, llvmorg-3.5.1-rc2, llvmorg-3.5.1-rc1, llvmorg-3.5.0, llvmorg-3.5.0-rc4, llvmorg-3.5.0-rc3 |
|
#
23430ccb |
| 11-Aug-2014 |
David Blaikie <dblaikie@gmail.com> |
unique_ptr-ify FileSystemStatCache::setNextStatCache
And in the process, discover that FileManager::removeStatCache had a double-delete when removing an element from the middle of the list (at the b
unique_ptr-ify FileSystemStatCache::setNextStatCache
And in the process, discover that FileManager::removeStatCache had a double-delete when removing an element from the middle of the list (at the beginning or the end of the list, there was no problem) and add a unit test to exercise the code path (which successfully crashed when run (with modifications to match the old API) without this patch applied)
llvm-svn: 215388
show more ...
|
Revision tags: llvmorg-3.5.0-rc2, llvmorg-3.5.0-rc1 |
|
#
46741758 |
| 08-Jul-2014 |
Benjamin Kramer <benny.kra@googlemail.com> |
Update unit test for signature change.
llvm-svn: 212545
|
#
416fa34b |
| 08-Jun-2014 |
Craig Topper <craig.topper@gmail.com> |
[C++11] Use 'nullptr'. Unittests edition.
llvm-svn: 210423
|
#
1d257e1d |
| 04-Jun-2014 |
Alp Toker <alp@nuanti.com> |
Remove the last remaining llvm/Config/config.h includes
This corrects long-standing misuses of LLVM's internal config.h.
In most cases the public llvm-config.h header was intended and we can now re
Remove the last remaining llvm/Config/config.h includes
This corrects long-standing misuses of LLVM's internal config.h.
In most cases the public llvm-config.h header was intended and we can now remove the old hacks thanks to LLVM r210144.
The config.h header is private, won't be installed and should no longer be included by clang or other modules.
llvm-svn: 210145
show more ...
|
Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1, llvmorg-3.4.1, llvmorg-3.4.1-rc2, llvmorg-3.4.1-rc1 |
|
#
501eadb4 |
| 12-Mar-2014 |
Hans Wennborg <hans@hanshq.net> |
Check for LLVM_ON_WIN32 instead of _WIN32.
This is a follow-up to r203624 to address Anton's comment.
llvm-svn: 203668
|
#
d066d4c8 |
| 28-Feb-2014 |
Ben Langmuir <blangmuir@apple.com> |
Reapply fixed "Honour 'use-external-names' in FileManager"
Was r202442
There were two issues with the original patch that have now been fixed. 1. We were memset'ing over a FileEntry in a test case.
Reapply fixed "Honour 'use-external-names' in FileManager"
Was r202442
There were two issues with the original patch that have now been fixed. 1. We were memset'ing over a FileEntry in a test case. After adding a std::string to FileEntry, this still happened to not break for me. 2. I didn't pass the FileManager into the new compiler instance in compileModule. This was hidden in some cases by the fact I didn't clear the module cache in the test.
Also, I changed the copy constructor for FileEntry, which was memcpy'ing in a (now) unsafe way.
llvm-svn: 202539
show more ...
|
#
1b8d44f5 |
| 27-Feb-2014 |
Ben Langmuir <blangmuir@apple.com> |
Revert "Honour 'use-external-names' in FileManager"
Revert r202442, which broke the buildbots.
llvm-svn: 202443
|
#
09e0d5c1 |
| 27-Feb-2014 |
Ben Langmuir <blangmuir@apple.com> |
Honour 'use-external-names' in FileManager
Pass through the externally-visible names that we got from the VFS down to FileManager, and test that this is the name showing up in __FILE__, diagnostics,
Honour 'use-external-names' in FileManager
Pass through the externally-visible names that we got from the VFS down to FileManager, and test that this is the name showing up in __FILE__, diagnostics, and debug information.
llvm-svn: 202442
show more ...
|
#
c8130a74 |
| 20-Feb-2014 |
Ben Langmuir <blangmuir@apple.com> |
Recommit virtual file system
Previously reverted in r201755 due to causing an assertion failure.
I've removed the offending assertion, and taught the CompilerInstance to create a default virtual fi
Recommit virtual file system
Previously reverted in r201755 due to causing an assertion failure.
I've removed the offending assertion, and taught the CompilerInstance to create a default virtual file system inside createFileManager. In the future, we should be able to reach into the CompilerInvocation to customize this behaviour without breaking clients that don't care.
llvm-svn: 201818
show more ...
|
#
a32575e4 |
| 20-Feb-2014 |
Juergen Ributzka <juergen@apple.com> |
Reverting the virtual file system implementation, because it triggers an assertion in our internal build bots.
This reverts commits 201618, 201635, 201636, 201639, 201685, 201691, and 201696.
llvm-
Reverting the virtual file system implementation, because it triggers an assertion in our internal build bots.
This reverts commits 201618, 201635, 201636, 201639, 201685, 201691, and 201696.
llvm-svn: 201755
show more ...
|
#
090610d3 |
| 19-Feb-2014 |
Ben Langmuir <blangmuir@apple.com> |
Initial implementation of virtual file system
This adds the minimum virtual file system support to start migrating FileManager onto the VFS.
Originally discussed here: http://lists.cs.uiuc.edu/pipe
Initial implementation of virtual file system
This adds the minimum virtual file system support to start migrating FileManager onto the VFS.
Originally discussed here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-February/035188.html
Differential Revision: http://llvm-reviews.chandlerc.com/D2745
llvm-svn: 201618
show more ...
|
Revision tags: llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1 |
|
#
f8f91b89 |
| 01-Aug-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use llvm::sys::fs::UniqueID for windows and unix.
This unifies the unix and windows versions of FileManager::UniqueDirContainer and FileManager::UniqueFileContainer by using UniqueID.
We cannot jus
Use llvm::sys::fs::UniqueID for windows and unix.
This unifies the unix and windows versions of FileManager::UniqueDirContainer and FileManager::UniqueFileContainer by using UniqueID.
We cannot just replace "struct stat" with llvm::sys::fs::file_status, since we want to be able to construct fake ones, and file_status has different members on unix and windows.
What the patch does is:
* Record only the information that clang is actually using. * Use llvm::sys::fs::status instead of stat and fstat. * Use llvm::sys::fs::UniqueID * Delete the old windows versions of UniqueDirContainer and UniqueFileContainer since the "unix" one now works on windows too.
llvm-svn: 187619
show more ...
|
#
ee30546c |
| 29-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fix handling of "clang c:foo"
On windows, c:foo is a valid file path, but stat fails on just "c:". This causes a problem for clang since its file manager wants to cache data about the parent directo
Fix handling of "clang c:foo"
On windows, c:foo is a valid file path, but stat fails on just "c:". This causes a problem for clang since its file manager wants to cache data about the parent directory.
There are refactorings to be done in here, but this gives clang the correct behavior and testing first.
Patch by Yunzhong Gao!
llvm-svn: 187359
show more ...
|
Revision tags: llvmorg-3.3.1-rc1, llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1, llvmorg-3.2.0 |
|
#
3b779379 |
| 11-Dec-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Extend stat query APIs to explicitly specify if the query is for a file or directory, allowing just a stat call if a file descriptor is not needed.
Doing just 'stat' is faster than 'open/fstat/close
Extend stat query APIs to explicitly specify if the query is for a file or directory, allowing just a stat call if a file descriptor is not needed.
Doing just 'stat' is faster than 'open/fstat/close'. This has the effect of cutting down system time for validating the input files of a PCH.
llvm-svn: 169831
show more ...
|
Revision tags: llvmorg-3.2.0-rc3 |
|
#
320d9666 |
| 04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for unittests/...
I've tried to place sensible headers at the top as main-module headers.
llvm-svn: 169243
|
Revision tags: llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1, llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1, llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1 |
|
#
7d7d1afe |
| 23-Sep-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
unittests/Basic/FileManagerTest.cpp: Suppress warnings on gcc.
llvm-svn: 140364
|
#
67677898 |
| 24-Jun-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
unittests/Basic/FileManagerTest.cpp: Unbreak Win32, mingw and msvc.
LLVM_ON_WIN32 is defined in llvm/Config/config.h. IMO, it might be enough with _WIN32 in most cases, LLVM_ON_xxx could be deprecat
unittests/Basic/FileManagerTest.cpp: Unbreak Win32, mingw and msvc.
LLVM_ON_WIN32 is defined in llvm/Config/config.h. IMO, it might be enough with _WIN32 in most cases, LLVM_ON_xxx could be deprecated.
llvm-svn: 133794
show more ...
|
Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1 |
|
#
bc402abc |
| 15-Feb-2011 |
Zhanyong Wan <wan@google.com> |
Moves FileManagerTest.cpp to unittests/Basic such that the unit test directory structure matches the library structure. Reviewed by jyasskin.
llvm-svn: 125600
|