mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-26 13:36:28 +00:00
25713a50a3
This can break when there are implicit conversions from types raw_ostream understands but std::ostream doesn't, but it increases the number of cases that Just Work. llvm-svn: 81093
32 lines
907 B
Plaintext
32 lines
907 B
Plaintext
LLVM notes
|
|
----------
|
|
|
|
This directory contains Google Test 1.2.1, with all elements removed except for
|
|
the actual source code, to minimize the addition to the LLVM distribution.
|
|
|
|
Cleaned up as follows:
|
|
|
|
# Remove all the unnecessary files and directories
|
|
$ rm -f aclocal* configure* Makefile* CHANGES CONTRIBUTORS README
|
|
$ rm -rf build-aux m4 make msvc samples scons scripts test xcode
|
|
$ rm -f `find . -name \*\.pump`
|
|
|
|
# Move all the source files to the current directory
|
|
$ mv src/* .
|
|
$ rmdir src
|
|
|
|
# Move extra headers into the already-existing internal headers dir
|
|
$ mv *.h include/gtest/internal/
|
|
|
|
# Update paths to the included files
|
|
$ perl -pi -e 's|^#include "src/|#include "gtest/internal/|' *.cc
|
|
|
|
$ rm -f gtest-all.cc gtest_main.cc
|
|
|
|
$ mv COPYING LICENSE.TXT
|
|
|
|
|
|
Modified as follows:
|
|
* To GTestStreamToHelper in include/gtest/internal/gtest-internal.h,
|
|
added the ability to stream with raw_os_ostream.
|