Eric Beckmann
025e82bac1
Fix bug on Big-Endian system, due to reference to vector out of scope.
...
llvm-svn: 304255
2017-05-30 23:10:57 +00:00
Eric Beckmann
ba395ef491
This patch should fix various clang warnings and a use of to_string
...
which isn't support before c++11.
llvm-svn: 304252
2017-05-30 22:29:06 +00:00
Benjamin Kramer
c69fe9cc62
[Object] Remove unused field + constructor.
...
llvm-svn: 304233
2017-05-30 19:37:02 +00:00
Benjamin Kramer
14ea122e6e
[Object] Fix pessimizing move.
...
Returning the Error by value triggers copy elision, the move is more
expensive. Clang rightfully warns about it.
llvm-svn: 304232
2017-05-30 19:36:58 +00:00
Eric Beckmann
72fb6a87fb
Adding parsing ability for .res file.
...
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D33566
llvm-svn: 304225
2017-05-30 18:19:06 +00:00
David Blaikie
f1c3beecb2
Fix -Wunneeded-internal-declaration by removing constant arrays only used in sizeof expressions, in favor of constants containing the size directly
...
llvm-svn: 303483
2017-05-20 03:32:51 +00:00
Eric Beckmann
a6bdf751a2
Add functionality to cvtres to parse all entries in res file.
...
Summary: Added the new modules in the Object/ folder. Updated the
llvm-cvtres interface as well, and added additional tests.
Subscribers: llvm-commits, mgorny
Differential Revision: https://reviews.llvm.org/D33180
llvm-svn: 303480
2017-05-20 01:49:19 +00:00