| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
r100895 landed an llvm-only change to add minix support to googletest.
It did that by putting "defined()" in a macro, which has undefined
behavior. Slightly reshuffle things to remove that undefined behavior.
Also mention in README.LLVM that minix support is a local change.
llvm-svn: 258190
|
| |
|
|
| |
llvm-svn: 240393
|
| |
|
|
|
|
| |
A few more files that were fixed while preparing r240270.
llvm-svn: 240271
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patch is generated using clang-tidy misc-use-override check.
This command was used:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
-checks='-*,misc-use-override' -header-filter='llvm|clang' \
-j=32 -fix -format
http://reviews.llvm.org/D8925
llvm-svn: 234679
|
| |
|
|
| |
llvm-svn: 231894
|
| |
|
|
|
|
| |
found in LLVM.
llvm-svn: 231893
|
| |
|
|
|
|
| |
unnecessarily makes the copy ctor deprecated in C++11
llvm-svn: 231095
|
| |
|
|
|
|
| |
Patch by Viktor Kutuzov!
llvm-svn: 201683
|
| |
|
|
|
|
|
|
| |
Modern compilers (Clang 3.4, GCC 4.8) warn on variadic macros being
introduced in C99, which produces a huge number of useless diagnostics
since this macro is unused in the whole project.
llvm-svn: 200479
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch removes most of the trivial cases of weak vtables by pinning them to
a single object file. The memory leaks in this version have been fixed. Thanks
Alexey for pointing them out.
Differential Revision: http://llvm-reviews.chandlerc.com/D2068
Reviewed by Andy
llvm-svn: 195064
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This change is incorrect. If you delete virtual destructor of both a base class
and a subclass, then the following code:
Base *foo = new Child();
delete foo;
will not cause the destructor for members of Child class. As a result, I observe
plently of memory leaks. Notable examples I investigated are:
ObjectBuffer and ObjectBufferStream, AttributeImpl and StringSAttributeImpl.
llvm-svn: 194997
|
| |
|
|
|
|
|
|
|
|
|
| |
This patch removes most of the trivial cases of weak vtables by pinning them to
a single object file.
Differential Revision: http://llvm-reviews.chandlerc.com/D2068
Reviewed by Andy
llvm-svn: 194865
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
externally to simplify our integration of GoogleTest into LLVM. Also,
build the single source file gtest-all.cc instead of the individual
source files as we don't expect these to change and thus gain nothing
from increased incrementality in compiles.
This makes our standard build of googletest exactly like upstream's
recommended build and the sanitizer's build. It also simplifies the
steps of importing a new version should we ever want one.
llvm-svn: 194801
|
| |
|
|
|
|
|
|
|
|
|
| |
1) don't delete gtest-all.cc (which is used to gather all gtest source
files in a single file)
2) make including LLVMSupport headers optional (on by default).
Sanitizer tools may want to use their own versions of googletest
compiled with specific flags, instead of the common googletest
library used for all other LLVM/Clang unittests.
llvm-svn: 169559
|
| |
|
|
|
|
| |
See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767
llvm-svn: 164768
|
| |
|
|
| |
llvm-svn: 164767
|
| |
|
|
| |
llvm-svn: 163131
|
| |
|
|
| |
llvm-svn: 158101
|
| |
|
|
|
|
| |
This will ensure LLVM and Clang build -Wswitch-enum-redundant-default (an on-by-default warning I'm about to add to Clang).
llvm-svn: 148639
|
| |
|
|
| |
llvm-svn: 136212
|
| |
|
|
|
|
| |
Luis Felipe Strano Moraes!
llvm-svn: 129558
|
| |
|
|
|
|
| |
Patch by Erik Olofsson!
llvm-svn: 126796
|
| |
|
|
| |
llvm-svn: 114725
|
| |
|
|
| |
llvm-svn: 111102
|
| |
|
|
| |
llvm-svn: 111082
|
| |
|
|
|
|
| |
Haiku like Linux provides <regex.h>, so use it. Patch by Paul Davey!
llvm-svn: 106620
|
| |
|
|
| |
llvm-svn: 105354
|
| |
|
|
| |
llvm-svn: 105353
|
| |
|
|
|
|
|
| |
OSX users: make sure that CrashReporter is disabled when running unit tests.
Death tests are enabled now so you'll get a ton of message boxes.
llvm-svn: 105352
|
| |
|
|
| |
llvm-svn: 101191
|
| |
|
|
| |
llvm-svn: 100895
|
| |
|
|
| |
llvm-svn: 91718
|
| |
|
|
| |
llvm-svn: 83823
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed gtest_main.cc: we have our own main() elsewhere
* Simplified the Makefile as we don't need SOURCES
* Moved the internal header to gtest/internal/
* Simplified the Makefile to remove -I param to CPP.Flags
* Updated README.LLVM with all the steps I took to massage GTest to
work in LLVM so far
llvm-svn: 61540
|
|
|
Added a README.LLVM file to indicate which files and directories
were removed from the original source tarball.
llvm-svn: 61526
|