| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 186018
|
|
|
|
| |
llvm-svn: 183982
|
|
|
|
| |
llvm-svn: 183941
|
|
|
|
|
|
| |
function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration.
llvm-svn: 175006
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sooooo many of these had incorrect or strange main module includes.
I have manually inspected all of these, and fixed the main module
include to be the nearest plausible thing I could find. If you own or
care about any of these source files, I encourage you to take some time
and check that these edits were sensible. I can't have broken anything
(I strictly added headers, and reordered them, never removed), but they
may not be the headers you'd really like to identify as containing the
API being implemented.
Many forward declarations and missing includes were added to a header
files to allow them to parse cleanly when included first. The main
module rule does in fact have its merits. =]
llvm-svn: 169131
|
|
|
|
|
|
|
|
|
|
|
| |
Unify default construction of error_code uses on this idiom so that users don't
feel compelled to make static globals for naming convenience. (unfortunately I
couldn't make the original ctor private as some APIs don't return their result,
instead using an out parameter (that makes sense to default construct) - which
is a bit of a pity. I did, however, find/fix some cases of unnecessary default
construction of error_code before I hit the unfixable cases)
llvm-svn: 150197
|
|
|
|
|
|
| |
Luis Felipe Strano Moraes!
llvm-svn: 129558
|
|
|
|
|
|
| |
via an out parm.
llvm-svn: 121958
|
|
|
|
| |
llvm-svn: 121382
|
|
|
|
|
|
| |
error_code &ec. And fix clients.
llvm-svn: 121379
|
|
|
|
| |
llvm-svn: 120298
|
|
|
|
|
|
| |
no tolerance is set.
llvm-svn: 106033
|
|
|
|
|
|
|
|
|
| |
1..19 ok
to
1..20 o k
(yes, the odd space is necessary).
llvm-svn: 106032
|
|
|
|
| |
llvm-svn: 94808
|
|
|
|
| |
llvm-svn: 50659
|
|
|
|
|
|
|
|
| |
start of a filename, not a filename+length. All clients can produce a
null terminated name, and the system api's require null terminated
strings anyway.
llvm-svn: 49041
|
|
|
|
|
|
|
|
| |
not an mmapped file. This more closely matches its requirements and
provides an implicitly null terminated buffer, something this
routine had to emulate itself before.
llvm-svn: 49024
|
|
|
|
|
|
|
| |
and shared. This complicates the design, is not used, and probably
doesn't even work.
llvm-svn: 49022
|
|
|
|
|
|
| |
annoying warnings.
llvm-svn: 47367
|
|
|
|
| |
llvm-svn: 46458
|
|
|
|
| |
llvm-svn: 46455
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
|
|
|
| |
Change uses of sys::Path class to sys::PathWithStatus in those places where
the file status information is needed.
llvm-svn: 35743
|
|
|
|
|
|
|
|
| |
Make the sys::Path::getFileStatus function more efficient by having it
return a pointer to the FileStatus structure rather than copy it. Adjust
uses of the function accordingly. Also, fix some memory issues in sys::Path.
llvm-svn: 35476
|
|
|
|
|
|
| |
Updates for change in interface of getFileStatus method of sys::Path class.
llvm-svn: 35458
|
|
|
|
| |
llvm-svn: 31908
|
|
|
|
| |
llvm-svn: 31561
|
|
|
|
|
|
|
| |
to describe the difference being reported. This assists with understanding
differences an llvm-test and should help with bugpoint too.
llvm-svn: 31044
|
|
|
|
|
|
|
| |
Final remove of exception handling from this file. lib/System can no longer
throw exceptions so there's no need for try/catch blocks here.
llvm-svn: 29848
|
|
|
|
|
|
|
|
|
|
| |
Adjust users of MappedFile to its new non-throwing interface. Note that in
most cases the lazy step of just throwing after a call to MappedFile was
installed. This was done in the name of incremental changes. Getting rid of
the new throw statements will take adjustment of interfaces and propagation
of errors to higher levels. Those changes will come in subsequent patches.
llvm-svn: 29817
|
|
|
|
|
|
|
|
| |
instead of throwing an exception. This reduces the amount of code that is
exposed to exceptions (e.g. FileUtilities), though it is clearly only one step
along the way.
llvm-svn: 29395
|
|
|
|
|
|
|
| |
Add an additional catch block to ensure that this function can't throw any
exceptions, even one's we're not expecting.
llvm-svn: 28309
|
|
|
|
|
|
|
| |
instead of E for exponentials (e.g. 1.234D-43). Add support for this
notation.
llvm-svn: 22574
|
|
|
|
| |
llvm-svn: 21422
|
|
|
|
|
|
| |
leading whitespace.
llvm-svn: 20647
|
|
|
|
|
|
| |
for the suggestion! :)
llvm-svn: 20203
|
|
|
|
| |
llvm-svn: 20202
|
|
|
|
| |
llvm-svn: 20201
|
|
|
|
|
|
|
|
|
|
| |
handling zero length files a little more intelligently. If both files are
zero length then we return 0 (true) indicating a match. If only one of the
files is zero length then we return 1 (false) indicating that the files
differ. If the files don't agree in length then they can't match so we
skip the first loop that looks for a quick match.
llvm-svn: 20200
|
|
|
|
| |
llvm-svn: 19782
|
|
|
|
|
|
| |
Delete dead functions.
llvm-svn: 19771
|
|
|
|
| |
llvm-svn: 19769
|
|
|
|
| |
llvm-svn: 19766
|
|
|
|
| |
llvm-svn: 19751
|
|
|
|
|
|
| |
Move non-portable FDHandle class to its only user: lib/Debugger
llvm-svn: 19106
|
|
|
|
|
|
|
|
| |
* Remove the "removeFile" function, now implemented by the
sys::Path::destroyFile method.
* Make the FileRemove work with a sys::Path instead of a std::string
llvm-svn: 18999
|
|
|
|
|
|
|
| |
Remove getUniqueFilename and CopyFile. These are now implemented by
sys::Path::makeUnique and sys::CopyFile, respectively.
llvm-svn: 18946
|
|
|
|
|
|
|
|
| |
Remove the MakeFileReadable and MakeFileExecutable functions which are no
longer present in LLVM. They have been replaced with the sys::Path methods
makeReadable and makeExecutable, respectively.
llvm-svn: 18910
|
|
|
|
|
|
|
|
| |
The ReadFileIntoAddressSpace and UnmapFileFromAddressSpace functions are no
longer used by LLVM. Remove them. Replacement functionality for both
functions is now encapsulated in the sys::MappedFile class.
llvm-svn: 18903
|
|
|
|
|
|
|
|
| |
The getFileTimestamp and getFileSize functions have been removed from \
FileUtilities.{h,cpp}. They are replaced by Path::getTimestamp and \
Path::getSize,respectively.
llvm-svn: 18892
|