| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 224057
|
|
|
|
|
|
| |
longer need 'comma_iterator'. Remove it from the test suite.
llvm-svn: 222238
|
|
|
|
|
|
|
|
|
| |
test iterators.
The comma operators in the test iterators give better error messages when they
are deleted as opposed to not defined. Delete these functions when possible.
llvm-svn: 220715
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
An evil user might overload operator comma. Use a void cast to make sure any user overload is not selected.
Modify all the test iterators to define operator comma.
Reviewers: danalbert, mclow.lists
Reviewed By: mclow.lists
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D5929
llvm-svn: 220706
|
|
|
|
|
|
| |
functionality change
llvm-svn: 220142
|
|
|
|
| |
llvm-svn: 217938
|
|
|
|
|
|
| |
it's called. Add tests to mismatch to make sure it can't be blindsided by such an evil iterator. More tests for other algorithms forthcoming. Thanks to STL for pointing this out at CppCon and Yakov Galka for opening LWG issue #2133
llvm-svn: 217902
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These calls are allowed to fail spuriously.
29.6.5.25:
Remark: A weak compare-and-exchange operation may fail spuriously.
That is, even when the contents of memory referred to by expected
and object are equal, it may return false and store back to expected
the same memory contents that were originally there. [ Note: This
spurious failure enables implementation of compare and-exchange on a
broader class of machines, e.g., load-locked store-conditional
machines. A consequence of spurious failure is that nearly all uses
of weak compare-and-exchange will be in a loop.
To fix this, we replace any assert() that expects
std::atomic::compare_exchange_weak() to return true with a loop. If the
call does not return true within N runs (with N currently equal to 10),
then the test fails.
http://llvm.org/bugs/show_bug.cgi?id=20546
llvm-svn: 217319
|
|
|
|
|
|
|
|
|
| |
Fix vector asan annotations with RAII.
Add a test.
Also, remove one dead function.
Review: http://reviews.llvm.org/D4170
llvm-svn: 216995
|
|
|
|
| |
llvm-svn: 215998
|
|
|
|
|
|
|
|
| |
This fixes a race condition on temp file name creation.
http://reviews.llvm.org/D4962
llvm-svn: 215977
|
|
|
|
|
|
| |
interface.
llvm-svn: 215691
|
|
|
|
|
|
| |
tests for list, forward_list, and the std::remove_if algorithm
llvm-svn: 214736
|
|
|
|
| |
llvm-svn: 213887
|
|
|
|
| |
llvm-svn: 212651
|
|
|
|
|
|
| |
return void in C++11
llvm-svn: 210562
|
|
|
|
|
|
| |
are constexpr, and a comparison predicate which counts how many times it's been called.
llvm-svn: 210381
|
|
|
|
| |
llvm-svn: 208319
|
|
|
|
|
|
| |
allocator, not construct one from scratch. Add a test to make sure
llvm-svn: 206623
|
|
|
|
|
|
| |
two new container classes to the test suite that overload operator &, and add test cases to the insert/front_insert/back_insert iterator tests that use these containers.
llvm-svn: 202741
|
|
|
|
|
|
| |
functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch.
llvm-svn: 199400
|
|
|
|
|
|
| |
test suite. Moved one to /support, made it a superset, and removed all but one of the others, and iupdated all the includes. Left the odd one (thread/futures/test_allocator.h) for later.
llvm-svn: 196174
|
|
|
|
|
|
| |
Moved one to /support, removed the other, and iupdated all the includes. No functionality change
llvm-svn: 196127
|
|
|
|
|
|
| |
Moved one to /support, removed the other, and iupdated all the includes. No functionality change
llvm-svn: 196118
|
|
|
|
|
|
| |
/support and delete the other. Then adjust all the tests that used them to include the moved one. No functionality change.
llvm-svn: 195785
|
|
|
|
|
|
|
|
| |
current directory for windows, matching how it works on other platforms.
2. It re-enables the temp file handling for mingw that regressed.
llvm-svn: 192073
|
|
|
|
| |
llvm-svn: 188241
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MSVC-specific, MSVCRT-specific, or Windows-specific. Because Clang can
also define _MSC_VER, and MSVCRT is not necessarily the only C runtime,
these macros should not be used interchangeably.
This patch divides all Windows-related bits into the aforementioned
categories. Two new macros are introduced:
- _LIBCPP_MSVC: Defined when compiling with MSVC. Detected using
_MSC_VER, excluding Clang.
- _LIBCPP_MSVCRT: Defined when using the Microsoft CRT. This is the default
when _WIN32 is defined.
This leaves _WIN32 for code using the Windows API.
This also corrects the spelling of _LIBCP_HAS_IS_BASE_OF to _LIBCPP_HAS_IS_BASE_OF.
Nico, please prepare a patch for CREDITS.TXT, thanks.
llvm-svn: 187593
|
|
|
|
| |
llvm-svn: 185865
|
|
|
|
| |
llvm-svn: 180267
|
|
|
|
|
|
| |
Windows port for these tests to use _tempnam. The bulk of this patch was donated anonymously. I've tested it on OS X and accept responsibility for it. If I've broken anyone's platform by switching from tmpnam to mktemp for the generation of temporary file names, just let me know. Should be easy to fix in test/support/platform_support.h
llvm-svn: 177755
|
|
|
|
| |
llvm-svn: 177291
|
|
|
|
|
|
| |
http://llvm.org/bugs/show_bug.cgi?id=14892.
llvm-svn: 172436
|
|
|
|
| |
llvm-svn: 171980
|
|
-I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files
llvm-svn: 171594
|