1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 16:02:52 +01:00
llvm-mirror/utils/unittest/googletest
David Blaikie 05fe2f515d Help GCC along with code that's actually unreachable.
Unfortunately I don't think there's a fix for this that will work upstream and
also satisfy Clang's -Wunreachable-code, which is a pity. But I'll give it some
more thought -perhaps there's some way out.

llvm-svn: 148645
2012-01-22 01:17:04 +00:00
..
include/gtest Remove unreachable defaults from gtest. 2012-01-21 18:02:01 +00:00
gtest-death-test.cc Remove unreachable defaults from gtest. 2012-01-21 18:02:01 +00:00
gtest-filepath.cc Merge gtest-1.6.0. 2011-07-27 09:25:14 +00:00
gtest-port.cc Merge gtest-1.6.0. 2011-07-27 09:25:14 +00:00
gtest-printers.cc Merge gtest-1.6.0. 2011-07-27 09:25:14 +00:00
gtest-test-part.cc Merge gtest-1.6.0. 2011-07-27 09:25:14 +00:00
gtest-typed-test.cc Merge gtest-1.6.0. 2011-07-27 09:25:14 +00:00
gtest.cc Help GCC along with code that's actually unreachable. 2012-01-22 01:17:04 +00:00
LICENSE.TXT Renamed Google Test license file from COPYING to LICENSE.TXT to match LLVM 2009-01-05 17:42:15 +00:00
Makefile build/unittests: Fix llvm-config names for gtest libraries, and bring Makefile 2011-12-15 23:35:08 +00:00
README.LLVM Merge gtest-1.6.0. 2011-07-27 09:25:14 +00:00

LLVM notes
----------

This directory contains Google Test 1.6.0, 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* CMakeLists.txt configure* Makefile* CHANGES CONTRIBUTORS README
$ rm -rf build-aux cmake codegear fused-src m4 make msvc samples 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.
* To refresh Haiku support in include/gtest/internal/gtest-port.h,
  see http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100621/102898.html