
This will allow using tools like Include-What-You-Use and clangd
IncludeCleaner. The tools will correctly identify the public headers
responsible for importing symbols in the testing code.
This is a backport of 100f6fbf5f
The only untouched file from that patch is
googletest/include/gtest/gtest_prod.h because the change is unrelated.
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D119320
24 lines
802 B
Plaintext
24 lines
802 B
Plaintext
LLVM notes
|
|
----------
|
|
|
|
This directory contains the 'googlemock' component of Google Test 1.10.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 CMakeLists.txt configure* Makefile* CHANGES CONTRIBUTORS README README.md .gitignore
|
|
$ rm -rf build-aux make msvc scripts test docs
|
|
$ rm -f `find . -name \*\.pump`
|
|
$ rm -f src/gmock_main.cc
|
|
|
|
# Put the license in the consistent place for LLVM.
|
|
$ mv LICENSE LICENSE.TXT
|
|
|
|
Modified as follows:
|
|
* Support for std::begin/std::end in gmock-matchers.h
|
|
* IWYU pragmas
|
|
* Disabled -Wdeprecated-copy for clang
|
|
* Added IWYU pragmas from https://github.com/google/googletest/commit/100f6fbf5f81a82d163c1e29735e8a2936eacd4f
|