[libcxx] r300622 - Cleanup _LIBCPP_HAS_NO_ macros in thread.

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 18:05:08 2017 New Revision: 300622 URL: http://llvm.org/viewvc/llvm-project?rev=300622&view=rev Log: Cleanup _LIBCPP_HAS_NO_ macros in thread. Modified: libcxx/trunk/include/__mutex_base libcxx/trunk/include/mutex libcxx/trunk/include/thread libcxx

[libcxx] r300623 - Cleanup _LIBCPP_HAS_NO_ macros for std::initializer_list

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 18:09:36 2017 New Revision: 300623 URL: http://llvm.org/viewvc/llvm-project?rev=300623&view=rev Log: Cleanup _LIBCPP_HAS_NO_ macros for std::initializer_list Added: libcxx/trunk/test/std/language.support/support.initlist/include_cxx03.pass.cpp Modified: li

[libcxx] r300625 - Cleanup _LIBCPP_HAS_NO_ in algorithm

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 18:26:47 2017 New Revision: 300625 URL: http://llvm.org/viewvc/llvm-project?rev=300625&view=rev Log: Cleanup _LIBCPP_HAS_NO_ in algorithm Modified: libcxx/trunk/include/algorithm libcxx/trunk/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.

[libcxx] r300626 - Cleanup _LIBCPP_HAS_NO_ in the input.output library

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 18:38:41 2017 New Revision: 300626 URL: http://llvm.org/viewvc/llvm-project?rev=300626&view=rev Log: Cleanup _LIBCPP_HAS_NO_ in the input.output library Modified: libcxx/trunk/include/fstream libcxx/trunk/include/istream libcxx/trunk/include/ostream

[libcxx] r300627 - Cleanup _LIBCPP_HAS_NO_ macro usage in regex

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 18:42:15 2017 New Revision: 300627 URL: http://llvm.org/viewvc/llvm-project?rev=300627&view=rev Log: Cleanup _LIBCPP_HAS_NO_ macro usage in regex Modified: libcxx/trunk/include/regex libcxx/trunk/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp

[libcxx] r300632 - Cleanup _LIBCPP_HAS_NO_ macros in the numeric tests and headers

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 19:23:45 2017 New Revision: 300632 URL: http://llvm.org/viewvc/llvm-project?rev=300632&view=rev Log: Cleanup _LIBCPP_HAS_NO_ macros in the numeric tests and headers Modified: libcxx/trunk/include/random libcxx/trunk/include/valarray libcxx/trunk/test/s

[libcxx] r300633 - Cleanup _LIBCPP_HAS_NO_ in the string library.

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 19:28:44 2017 New Revision: 300633 URL: http://llvm.org/viewvc/llvm-project?rev=300633&view=rev Log: Cleanup _LIBCPP_HAS_NO_ in the string library. Modified: libcxx/trunk/include/string libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_ins

[libcxx] r300635 - Cleanup _LIBCPP_HAS_NO_ in the utilities library

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 19:56:32 2017 New Revision: 300635 URL: http://llvm.org/viewvc/llvm-project?rev=300635&view=rev Log: Cleanup _LIBCPP_HAS_NO_ in the utilities library Modified: libcxx/trunk/test/std/utilities/meta/meta.help/integral_constant.pass.cpp libcxx/trunk/test/std/

[libcxx] r300637 - Cleanup _LIBCPP_HAS_NO_ in support headers and final tests

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 20:02:49 2017 New Revision: 300637 URL: http://llvm.org/viewvc/llvm-project?rev=300637&view=rev Log: Cleanup _LIBCPP_HAS_NO_ in support headers and final tests Modified: libcxx/trunk/test/libcxx/containers/sequences/vector/asan_throw.pass.cpp libcxx/trunk/t

[libcxx] r300643 - Cleanup remaining _LIBCPP_HAS_NO_ usages in container headers

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 20:23:04 2017 New Revision: 300643 URL: http://llvm.org/viewvc/llvm-project?rev=300643&view=rev Log: Cleanup remaining _LIBCPP_HAS_NO_ usages in container headers Modified: libcxx/trunk/include/__hash_table libcxx/trunk/include/__split_buffer libcxx/tru

[libcxx] r300644 - Cleanup remaining usages of _LIBCPP_HAS_NO_ in tuple and utility

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 20:23:39 2017 New Revision: 300644 URL: http://llvm.org/viewvc/llvm-project?rev=300644&view=rev Log: Cleanup remaining usages of _LIBCPP_HAS_NO_ in tuple and utility Modified: libcxx/trunk/include/__tuple libcxx/trunk/include/tuple libcxx/trunk/include/

[libcxx] r300646 - Cleanup remaining usages of _LIBCPP_HAS_NO_ in the functional library

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 20:28:47 2017 New Revision: 300646 URL: http://llvm.org/viewvc/llvm-project?rev=300646&view=rev Log: Cleanup remaining usages of _LIBCPP_HAS_NO_ in the functional library Modified: libcxx/trunk/include/__functional_base libcxx/trunk/include/functional Mod

[libcxx] r300648 - Cleanup usages of _LIBCPP_HAS_NO_ in , , , and

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 20:34:08 2017 New Revision: 300648 URL: http://llvm.org/viewvc/llvm-project?rev=300648&view=rev Log: Cleanup usages of _LIBCPP_HAS_NO_ in , , , and Modified: libcxx/trunk/include/bitset libcxx/trunk/include/ios libcxx/trunk/include/iterator libcxx

[libcxx] r300649 - Cleanup usages of _LIBCPP_HAS_NO_ in

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 20:35:58 2017 New Revision: 300649 URL: http://llvm.org/viewvc/llvm-project?rev=300649&view=rev Log: Cleanup usages of _LIBCPP_HAS_NO_ in Modified: libcxx/trunk/include/exception Modified: libcxx/trunk/include/exception URL: http://llvm.org/viewvc/llvm-proje

[libcxx] r300652 - Fix tests for extended noexcept in the container adaptors tests

2017-04-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Apr 18 21:07:12 2017 New Revision: 300652 URL: http://llvm.org/viewvc/llvm-project?rev=300652&view=rev Log: Fix tests for extended noexcept in the container adaptors tests Modified: libcxx/trunk/test/std/containers/container.adaptors/priority.queue/priqueue.cons/defa

[libcxx] r291921 - Revert "Rework fix for PR19460 - Use explicit bool as an extension instead."

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 12:03:46 2017 New Revision: 291921 URL: http://llvm.org/viewvc/llvm-project?rev=291921&view=rev Log: Revert "Rework fix for PR19460 - Use explicit bool as an extension instead." This reverts commit 3a1b90a866b6d5d62a5f37fbfb3a1ee36cc70dd1. Modified: libcxx/tru

[libcxx] r291922 - Revert "Rework fix for PR19460 - Use explicit bool as an extension instead."

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 12:08:23 2017 New Revision: 291922 URL: http://llvm.org/viewvc/llvm-project?rev=291922&view=rev Log: Revert "Rework fix for PR19460 - Use explicit bool as an extension instead." Modified: libcxx/branches/release_40/include/__config libcxx/branches/release_

[libcxx] r291925 - Fix merge conflict caused by r291921

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 12:25:13 2017 New Revision: 291925 URL: http://llvm.org/viewvc/llvm-project?rev=291925&view=rev Log: Fix merge conflict caused by r291921 Modified: libcxx/trunk/include/ios Modified: libcxx/trunk/include/ios URL: http://llvm.org/viewvc/llvm-project/libcxx/tru

[libcxx] r291935 - Fix merge error caused by r291922

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 12:42:41 2017 New Revision: 291935 URL: http://llvm.org/viewvc/llvm-project?rev=291935&view=rev Log: Fix merge error caused by r291922 Modified: libcxx/branches/release_40/include/ios Modified: libcxx/branches/release_40/include/ios URL: http://llvm.org/viewv

[libcxx] r291961 - Add _LIBCPP_DIAGNOSE_WARNING and _LIBCPP_DIAGNOSE_ERROR macros.

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 16:02:08 2017 New Revision: 291961 URL: http://llvm.org/viewvc/llvm-project?rev=291961&view=rev Log: Add _LIBCPP_DIAGNOSE_WARNING and _LIBCPP_DIAGNOSE_ERROR macros. Clang recently added a `diagnose_if(cond, msg, type)` attribute which can be used to generate diagno

r291963 - [clang] Emit `diagnose_if` warnings from system headers

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 16:11:40 2017 New Revision: 291963 URL: http://llvm.org/viewvc/llvm-project?rev=291963&view=rev Log: [clang] Emit `diagnose_if` warnings from system headers Summary: In order for libc++ to meaningfully use `diagnose_if` warnings they need to be emitted from system

[libcxx] r291969 - Diagnose non-const-callable hash functions and comparators

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 16:42:53 2017 New Revision: 291969 URL: http://llvm.org/viewvc/llvm-project?rev=291969&view=rev Log: Diagnose non-const-callable hash functions and comparators Added: libcxx/trunk/test/libcxx/containers/unord/non_const_comparator.fail.cpp Modified: libcxx/t

Re: r291963 - [clang] Emit `diagnose_if` warnings from system headers

2017-01-13 Thread Eric Fiselier via cfe-commits
> Do we want to consider merging this into the release branch? Seems like > more of a bugfix than a feature to me. > > On Fri, Jan 13, 2017 at 2:11 PM, Eric Fiselier via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> Author: ericwf >> Date: Fri Jan 13 1

[libcxx] r291976 - Diagnose invalid memory orderings in

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 17:45:39 2017 New Revision: 291976 URL: http://llvm.org/viewvc/llvm-project?rev=291976&view=rev Log: Diagnose invalid memory orderings in Added: libcxx/trunk/test/libcxx/atomics/diagnose_invalid_memory_order.fail.cpp Modified: libcxx/trunk/include/__config

[libcxx] r291986 - Remove unused parameters in C++03

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 19:33:53 2017 New Revision: 291986 URL: http://llvm.org/viewvc/llvm-project?rev=291986&view=rev Log: Remove unused parameters in C++03 Modified: libcxx/trunk/include/memory Modified: libcxx/trunk/include/memory URL: http://llvm.org/viewvc/llvm-project/libcxx/

Re: [libcxx] r291072 - Get test-suite configuring on Windows with clang-cl

2017-01-13 Thread Eric Fiselier via cfe-commits
inker flags. However that is probably incorrect, and having the extra dependency is annoying. I've also found link to work fine in my testing. > Awesome! I'll confirm and remove the dependency on lld. > > On 1/4/17, 7:57 PM, "cfe-commits on behalf of Eric Fiselier via > cf

[libcxx] r291987 - Don't force use of lld in tests on Windows

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 19:58:01 2017 New Revision: 291987 URL: http://llvm.org/viewvc/llvm-project?rev=291987&view=rev Log: Don't force use of lld in tests on Windows Modified: libcxx/trunk/test/libcxx/test/config.py Modified: libcxx/trunk/test/libcxx/test/config.py URL: http://llv

[libcxx] r291991 - Don't dump llvm-config --cmakedir output if command fails.

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 21:35:15 2017 New Revision: 291991 URL: http://llvm.org/viewvc/llvm-project?rev=291991&view=rev Log: Don't dump llvm-config --cmakedir output if command fails. This patch adjusts the out-of-tree CMake configuration so that the stderr output is ignored when an old l

[libunwind] r291992 - Don't dump llvm-config --cmakedir output if command fails.

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 21:46:05 2017 New Revision: 291992 URL: http://llvm.org/viewvc/llvm-project?rev=291992&view=rev Log: Don't dump llvm-config --cmakedir output if command fails. This patch adjusts the out-of-tree CMake configuration so that the stderr output is ignored when an old l

[libcxxabi] r291993 - Don't dump llvm-config --cmakedir output if command fails.

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 21:47:49 2017 New Revision: 291993 URL: http://llvm.org/viewvc/llvm-project?rev=291993&view=rev Log: Don't dump llvm-config --cmakedir output if command fails. This patch adjusts the out-of-tree CMake configuration so that the stderr output is ignored when an old l

Re: [libcxx] r291508 - [cmake] Obtain LLVM_CMAKE_PATH from llvm-config if available

2017-01-13 Thread Eric Fiselier via cfe-commits
This patch causes `execute_process` to dump the standard error if the command fails. This causes the llvm-config help message to be printed as part of CMake configuration, which is ugly and incorrect. I've already fixed this for libc++, libc++abi, and libunwind trunk, but the issue still exists in

[libcxx] r291995 - Use __is_identifier to detect Clang extensions instead of __has_extension.

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 22:27:58 2017 New Revision: 291995 URL: http://llvm.org/viewvc/llvm-project?rev=291995&view=rev Log: Use __is_identifier to detect Clang extensions instead of __has_extension. When -pedantic-errors is specified `__has_extension()` is always false when it would othe

[libcxx] r291998 - Tweak .clang-format configuration.

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 13 23:43:02 2017 New Revision: 291998 URL: http://llvm.org/viewvc/llvm-project?rev=291998&view=rev Log: Tweak .clang-format configuration. Remove the custom configuration options for brace wrapping. They don't work well for inline functions or type-traits classes. Mo

[libcxx] r292001 - [libc++] [CMake] Link with /nodefaultlibs on Windows

2017-01-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jan 14 00:06:47 2017 New Revision: 292001 URL: http://llvm.org/viewvc/llvm-project?rev=292001&view=rev Log: [libc++] [CMake] Link with /nodefaultlibs on Windows Summary: This patch attempts to fix the libc++ build/link so that it doesn't use an default C++ libraries on W

[libcxx] r292006 - [libc++][CMake] Use debug MSVC runtimes when libc++ is built in debug mode

2017-01-14 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jan 14 01:54:39 2017 New Revision: 292006 URL: http://llvm.org/viewvc/llvm-project?rev=292006&view=rev Log: [libc++][CMake] Use debug MSVC runtimes when libc++ is built in debug mode Summary: This patch allows libc++ to be built against the debug MSVC runtimes instead of

[libcxx] r292010 - Fix copy-paste errors in r292001

2017-01-14 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jan 14 04:22:21 2017 New Revision: 292010 URL: http://llvm.org/viewvc/llvm-project?rev=292010&view=rev Log: Fix copy-paste errors in r292001 Modified: libcxx/trunk/cmake/Modules/HandleLibcxxFlags.cmake Modified: libcxx/trunk/cmake/Modules/HandleLibcxxFlags.cmake URL:

[libcxx] r292011 - Fix Windows try_lock implementation

2017-01-14 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jan 14 04:27:12 2017 New Revision: 292011 URL: http://llvm.org/viewvc/llvm-project?rev=292011&view=rev Log: Fix Windows try_lock implementation Modified: libcxx/trunk/include/__threading_support libcxx/trunk/src/mutex.cpp libcxx/trunk/test/libcxx/test/config.p

[libcxx] r292012 - Mark test as UNSUPPORTED on Windows since it hangs forever

2017-01-14 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jan 14 04:31:43 2017 New Revision: 292012 URL: http://llvm.org/viewvc/llvm-project?rev=292012&view=rev Log: Mark test as UNSUPPORTED on Windows since it hangs forever Modified: libcxx/trunk/test/std/utilities/variant/variant.visit/visit.pass.cpp Modified: libcxx/trun

Re: [libcxx] r292013 - Fix last_write_time tests for filesystems that don't support negative and very large times

2017-01-14 Thread Eric Fiselier via cfe-commits
+1 from me. @Hans am I OK to merge this? On Sat, Jan 14, 2017 at 4:53 AM, Hahnfeld, Jonas < hahnf...@itc.rwth-aachen.de> wrote: > Hi Hans, > > can this be merged for 4.0? Eric suggested this in > https://reviews.llvm.org/D22452 so I think he should be fine. > > Thanks, > Jonas > > Am Samstag, den

[libcxx] r292022 - Fix thread creation on Windows

2017-01-14 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jan 14 13:11:07 2017 New Revision: 292022 URL: http://llvm.org/viewvc/llvm-project?rev=292022&view=rev Log: Fix thread creation on Windows Modified: libcxx/trunk/include/__threading_support Modified: libcxx/trunk/include/__threading_support URL: http://llvm.org/view

[libcxx] r292027 - Attempt two at fixing threading on Windows

2017-01-14 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jan 14 14:19:00 2017 New Revision: 292027 URL: http://llvm.org/viewvc/llvm-project?rev=292027&view=rev Log: Attempt two at fixing threading on Windows Reviewers: compnerd Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D28735 Modified: libc

[libcxx] r292028 - Fix demangle.h on Windows

2017-01-14 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jan 14 14:21:18 2017 New Revision: 292028 URL: http://llvm.org/viewvc/llvm-project?rev=292028&view=rev Log: Fix demangle.h on Windows Modified: libcxx/trunk/test/support/demangle.h Modified: libcxx/trunk/test/support/demangle.h URL: http://llvm.org/viewvc/llvm-proje

[libcxx] r292029 - XFAIL native handle tests

2017-01-14 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jan 14 14:25:25 2017 New Revision: 292029 URL: http://llvm.org/viewvc/llvm-project?rev=292029&view=rev Log: XFAIL native handle tests Modified: libcxx/trunk/test/libcxx/thread/thread.condition/thread.condition.condvar/native_handle.pass.cpp libcxx/trunk/test/lib

[libcxx] r292038 - Work around python3 bytes vs str in libc++ test config

2017-01-14 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jan 14 18:06:02 2017 New Revision: 292038 URL: http://llvm.org/viewvc/llvm-project?rev=292038&view=rev Log: Work around python3 bytes vs str in libc++ test config Modified: libcxx/trunk/test/libcxx/compiler.py Modified: libcxx/trunk/test/libcxx/compiler.py URL: http

[libcxx] r292152 - Make sym_check python 3 compatible

2017-01-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Jan 16 13:52:58 2017 New Revision: 292152 URL: http://llvm.org/viewvc/llvm-project?rev=292152&view=rev Log: Make sym_check python 3 compatible Modified: libcxx/trunk/utils/sym_check/sym_check/util.py Modified: libcxx/trunk/utils/sym_check/sym_check/util.py URL: http

[libcxx] r292157 - Improve CMake and LIT support for Windows

2017-01-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Jan 16 14:47:35 2017 New Revision: 292157 URL: http://llvm.org/viewvc/llvm-project?rev=292157&view=rev Log: Improve CMake and LIT support for Windows This patch contains multiple cleanups and fixes to better support building on Windows. * [Test] Fix handling of library r

[libcxx] r292158 - [libc++] Introduce _LIBCPP_EXTERN_VIS to fix __libcpp_debug_function link errors

2017-01-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Jan 16 15:01:00 2017 New Revision: 292158 URL: http://llvm.org/viewvc/llvm-project?rev=292158&view=rev Log: [libc++] Introduce _LIBCPP_EXTERN_VIS to fix __libcpp_debug_function link errors Summary: On Windows tests that use `_LIBCPP_ASSERT` fail to link because the asser

[libcxx] r292159 - Fix std::tuples EBO when targeting the MSVC ABI.

2017-01-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Jan 16 15:15:08 2017 New Revision: 292159 URL: http://llvm.org/viewvc/llvm-project?rev=292159&view=rev Log: Fix std::tuples EBO when targeting the MSVC ABI. MSVC/clang-cl doesn't do a full EBO unless __declspec(empty_bases) is applied to the derived type. This causes cert

[libcxx] r292177 - Rename new_handler in tests to avoid conflicts with MSVC symbols.

2017-01-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Jan 16 18:32:08 2017 New Revision: 292177 URL: http://llvm.org/viewvc/llvm-project?rev=292177&view=rev Log: Rename new_handler in tests to avoid conflicts with MSVC symbols. On Windows the header new.h defines "new_handler" in the global namespace. Modified: libcxx/

[libcxx] r292181 - Add warning messages to buildit/testit about their upcoming removal

2017-01-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Jan 16 19:16:44 2017 New Revision: 292181 URL: http://llvm.org/viewvc/llvm-project?rev=292181&view=rev Log: Add warning messages to buildit/testit about their upcoming removal Modified: libcxx/trunk/lib/buildit libcxx/trunk/test/testit Modified: libcxx/trunk/lib/

[libcxx] r292185 - Fix DLL build by removing _LIBCPP_FUNC_VIS from member of class marked dllexport

2017-01-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Jan 16 21:05:31 2017 New Revision: 292185 URL: http://llvm.org/viewvc/llvm-project?rev=292185&view=rev Log: Fix DLL build by removing _LIBCPP_FUNC_VIS from member of class marked dllexport Modified: libcxx/trunk/include/memory Modified: libcxx/trunk/include/memory UR

[libcxx] r292190 - Add ABI option to remove recently inlined __shared_count functions from the library.

2017-01-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Jan 16 21:16:26 2017 New Revision: 292190 URL: http://llvm.org/viewvc/llvm-project?rev=292190&view=rev Log: Add ABI option to remove recently inlined __shared_count functions from the library. In order to allow inlining of previously out-of-line functions without an ABI

[libcxx] r292276 - Fix std::string assignment ambiguity from braced initializer lists.

2017-01-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Jan 17 16:10:32 2017 New Revision: 292276 URL: http://llvm.org/viewvc/llvm-project?rev=292276&view=rev Log: Fix std::string assignment ambiguity from braced initializer lists. When support for `basic_string_view` was added to string it also added new assignment operators

Re: [libcxx] r292276 - Fix std::string assignment ambiguity from braced initializer lists.

2017-01-17 Thread Eric Fiselier via cfe-commits
Hi Marshall, We should merge this fix into the 4.0 release. It fixes a regression which was reported by the FreeBSD maintainers here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216177 Am I OK to merge this? /Eric On Tue, Jan 17, 2017 at 3:10 PM, Eric Fiselier via cfe-commits <

[libcxx] r292291 - Don't strip -m32 from the user provide command line flags. This fixes the compiler-rt 32 bit sanitizer build

2017-01-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Jan 17 17:27:56 2017 New Revision: 292291 URL: http://llvm.org/viewvc/llvm-project?rev=292291&view=rev Log: Don't strip -m32 from the user provide command line flags. This fixes the compiler-rt 32 bit sanitizer build Modified: libcxx/trunk/CMakeLists.txt Modified: l

[libcxx] r292294 - Fix type_info's constructor by making it explicit again.

2017-01-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Jan 17 17:41:42 2017 New Revision: 292294 URL: http://llvm.org/viewvc/llvm-project?rev=292294&view=rev Log: Fix type_info's constructor by making it explicit again. In recent changes type_info's private constructor was accidentally made implicit. This patch fixes that. M

Re: [libcxx] r292294 - Fix type_info's constructor by making it explicit again.

2017-01-17 Thread Eric Fiselier via cfe-commits
FYI Once the bots finish checking this commit I'm going to merge this into the 4.0 branch. This fixes a very recently introduced regression. /Eric On Tue, Jan 17, 2017 at 4:41 PM, Eric Fiselier via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: ericwf > Date: Tu

[libcxx] r292297 - Allow sym_diff.py to report non-zero for non-breaking ABI changes

2017-01-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Jan 17 18:05:01 2017 New Revision: 292297 URL: http://llvm.org/viewvc/llvm-project?rev=292297&view=rev Log: Allow sym_diff.py to report non-zero for non-breaking ABI changes Modified: libcxx/trunk/lib/abi/CMakeLists.txt libcxx/trunk/utils/sym_check/sym_check/diff.

[libcxx] r292309 - Merge r292294: Fix type_info's constructor by making it explicit again.

2017-01-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Jan 17 18:14:31 2017 New Revision: 292309 URL: http://llvm.org/viewvc/llvm-project?rev=292309&view=rev Log: Merge r292294: Fix type_info's constructor by making it explicit again. In recent changes type_info's private constructor was accidentally made implicit. This patch

Re: [libcxx] r292294 - Fix type_info's constructor by making it explicit again.

2017-01-17 Thread Eric Fiselier via cfe-commits
Jan 17, 2017 at 4:41 PM, Eric Fiselier via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> Author: ericwf >> Date: Tue Jan 17 17:41:42 2017 >> New Revision: 292294 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=292294&view=rev >> Log: &g

Re: [libcxx] r292013 - Fix last_write_time tests for filesystems that don't support negative and very large times

2017-01-17 Thread Eric Fiselier via cfe-commits
@Jonas please go ahead and merge this patch. On Tue, Jan 17, 2017 at 5:24 PM, Hans Wennborg wrote: > Yes, go ahead. > > Apologies for the delay. > > - Hans > > On Sat, Jan 14, 2017 at 5:54 AM, Eric Fiselier wrote: > > +1 from me. @Hans am I OK to merge this? > > > > On Sat, Jan 14, 2017 at 4:5

[libcxx] r292326 - Add support for running our test suite against MSVC's STL

2017-01-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Jan 17 19:48:54 2017 New Revision: 292326 URL: http://llvm.org/viewvc/llvm-project?rev=292326&view=rev Log: Add support for running our test suite against MSVC's STL Modified: libcxx/trunk/test/libcxx/test/config.py libcxx/trunk/test/std/thread/thread.mutex/threa

[libcxx] r292337 - More configuration changes for running the test suite against MSVC's STL

2017-01-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Jan 17 21:57:38 2017 New Revision: 292337 URL: http://llvm.org/viewvc/llvm-project?rev=292337&view=rev Log: More configuration changes for running the test suite against MSVC's STL Added: libcxx/trunk/test/std/experimental/string.view/lit.local.cfg Modified: libcx

[libcxx] r292342 - Get more std::string _LIBCPP_DEBUG tests passing

2017-01-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Jan 17 23:34:42 2017 New Revision: 292342 URL: http://llvm.org/viewvc/llvm-project?rev=292342&view=rev Log: Get more std::string _LIBCPP_DEBUG tests passing Modified: libcxx/trunk/test/libcxx/debug/containers/db_string.pass.cpp libcxx/trunk/test/support/debug_mode

[libcxx] r292345 - Fix filesystem::path assignment from {}

2017-01-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Jan 17 23:48:55 2017 New Revision: 292345 URL: http://llvm.org/viewvc/llvm-project?rev=292345&view=rev Log: Fix filesystem::path assignment from {} Adding `path::operator=(string_type&&)` made the expression `p = {}` ambiguous. This path fixes that ambiguity by making the

[libcxx] r292346 - Add mechanism to override LIT options using enviroment variables

2017-01-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jan 18 00:08:38 2017 New Revision: 292346 URL: http://llvm.org/viewvc/llvm-project?rev=292346&view=rev Log: Add mechanism to override LIT options using enviroment variables Modified: libcxx/trunk/test/libcxx/test/config.py Modified: libcxx/trunk/test/libcxx/test/conf

[libcxx] r292347 - Revert "Add mechanism to override LIT options using enviroment variables"

2017-01-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jan 18 00:24:18 2017 New Revision: 292347 URL: http://llvm.org/viewvc/llvm-project?rev=292347&view=rev Log: Revert "Add mechanism to override LIT options using enviroment variables" The buildbots currently depend on the old configuration. I'll recommit once Zorg is fixed

[libcxx] r292351 - Re-add mechanism to override LIT options using enviroment variables.

2017-01-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jan 18 01:56:57 2017 New Revision: 292351 URL: http://llvm.org/viewvc/llvm-project?rev=292351&view=rev Log: Re-add mechanism to override LIT options using enviroment variables. There was a dumb mistake in the original commit that has now been fixed Modified: libcxx/t

[libcxx] r292354 - Merge R292276: Fix std::string assignment ambiguity from braced initializer lists.

2017-01-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Jan 18 02:43:24 2017 New Revision: 292354 URL: http://llvm.org/viewvc/llvm-project?rev=292354&view=rev Log: Merge R292276: Fix std::string assignment ambiguity from braced initializer lists. When support for `basic_string_view` was added to string it also added new assig

[libcxx] r292539 - Adjust msvc_stdlib_force_include.hpp to handle clang++

2017-01-19 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Jan 19 17:48:05 2017 New Revision: 292539 URL: http://llvm.org/viewvc/llvm-project?rev=292539&view=rev Log: Adjust msvc_stdlib_force_include.hpp to handle clang++ Summary: This patch adjusts the newly added `msvc_stdlib_force_include.hpp` so that it also works when used

[libcxx] r292541 - Fix demangle helper after r286788

2017-01-19 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Jan 19 18:00:31 2017 New Revision: 292541 URL: http://llvm.org/viewvc/llvm-project?rev=292541&view=rev Log: Fix demangle helper after r286788 Modified: libcxx/trunk/test/support/demangle.h libcxx/trunk/test/support/test.support/test_demangle.pass.cpp Modified: li

[libcxx] r292560 - [NFC] Group aligned new/delete definitions together in new.cpp

2017-01-19 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Jan 19 19:13:49 2017 New Revision: 292560 URL: http://llvm.org/viewvc/llvm-project?rev=292560&view=rev Log: [NFC] Group aligned new/delete definitions together in new.cpp This patch is cleanup to prepare for future changes Modified: libcxx/trunk/src/new.cpp Modified

[libcxx] r292564 - Disable aligned new/delete on Apple platforms without posix_memalign

2017-01-19 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Jan 19 19:47:26 2017 New Revision: 292564 URL: http://llvm.org/viewvc/llvm-project?rev=292564&view=rev Log: Disable aligned new/delete on Apple platforms without posix_memalign Summary: This patch disables the aligned new/delet overloads on Apple platforms without `posix

Re: [libcxx] r292564 - Disable aligned new/delete on Apple platforms without posix_memalign

2017-01-19 Thread Eric Fiselier via cfe-commits
Hi Hans, Marshall gave this commit and r292560 permission to be merged into 4.0, which I will being doing shortly. /Eric On Thu, Jan 19, 2017 at 6:47 PM, Eric Fiselier via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: ericwf > Date: Thu Jan 19 19:47:26 2017 > New R

[libcxx] r292565 - Merge r292560 - [NFC] Group aligned new/delete definitions together in new.cpp

2017-01-19 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Jan 19 19:52:28 2017 New Revision: 292565 URL: http://llvm.org/viewvc/llvm-project?rev=292565&view=rev Log: Merge r292560 - [NFC] Group aligned new/delete definitions together in new.cpp Modified: libcxx/branches/release_40/src/new.cpp Modified: libcxx/branches/relea

[libcxx] r292566 - Merge r292564 - Disable aligned new/delete on Apple platforms without posix_memalign

2017-01-19 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Jan 19 19:54:53 2017 New Revision: 292566 URL: http://llvm.org/viewvc/llvm-project?rev=292566&view=rev Log: Merge r292564 - Disable aligned new/delete on Apple platforms without posix_memalign This patch disables the aligned new/delet overloads on Apple platforms without

Re: [libcxx] r292564 - Disable aligned new/delete on Apple platforms without posix_memalign

2017-01-19 Thread Eric Fiselier via cfe-commits
Merged. Relevant commits: * r292566 - Merge r292564 * r292565 - Merge r292560 /Eric ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] r292577 - Refactor unique_ptr/shared_ptr deleter test types into single header.

2017-01-19 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Jan 19 22:39:17 2017 New Revision: 292577 URL: http://llvm.org/viewvc/llvm-project?rev=292577&view=rev Log: Refactor unique_ptr/shared_ptr deleter test types into single header. Added: libcxx/trunk/test/support/deleter_types.h - copied, changed from r292564, li

[libcxx] r292582 - Still expose std::align_val_t in C++17 even if we don't have aligned new/delete.

2017-01-19 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 20 00:27:34 2017 New Revision: 292582 URL: http://llvm.org/viewvc/llvm-project?rev=292582&view=rev Log: Still expose std::align_val_t in C++17 even if we don't have aligned new/delete. r292564 disabled the aligned new/delete overloads on platforms without posix_memali

Re: [libcxx] r292582 - Still expose std::align_val_t in C++17 even if we don't have aligned new/delete.

2017-01-19 Thread Eric Fiselier via cfe-commits
at 11:27 PM, Eric Fiselier via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: ericwf > Date: Fri Jan 20 00:27:34 2017 > New Revision: 292582 > > URL: http://llvm.org/viewvc/llvm-project?rev=292582&view=rev > Log: > Still expose std::align_val_t in C++17

[libcxx] r292586 - Merge r292582 - Still expose std::align_val_t in C++17 even if we don't have aligned new/delete.

2017-01-20 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 20 01:53:20 2017 New Revision: 292586 URL: http://llvm.org/viewvc/llvm-project?rev=292586&view=rev Log: Merge r292582 - Still expose std::align_val_t in C++17 even if we don't have aligned new/delete. r292564 disabled the aligned new/delete overloads on platforms

Re: [libcxx] r292582 - Still expose std::align_val_t in C++17 even if we don't have aligned new/delete.

2017-01-20 Thread Eric Fiselier via cfe-commits
ss.cpp` pass in C++17 even if the system > doesn't support aligned new/delete. > > Because r292564 was merged into 4.0, this should be as well. > > @Marshall can you OK this? > > /Eric > > On Thu, Jan 19, 2017 at 11:27 PM, Eric Fiselier via cfe-commits < >

[libcxx] r292605 - Don't default older GCC's to C++17, but C++14 or C++11 instead

2017-01-20 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 20 06:46:57 2017 New Revision: 292605 URL: http://llvm.org/viewvc/llvm-project?rev=292605&view=rev Log: Don't default older GCC's to C++17, but C++14 or C++11 instead Modified: libcxx/trunk/test/libcxx/test/config.py Modified: libcxx/trunk/test/libcxx/test/config

[libcxx] r292606 - Revert "Don't default older GCC's to C++17, but C++14 or C++11 instead"

2017-01-20 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 20 06:52:59 2017 New Revision: 292606 URL: http://llvm.org/viewvc/llvm-project?rev=292606&view=rev Log: Revert "Don't default older GCC's to C++17, but C++14 or C++11 instead" The commit isn't quite right, and I want to only have to merge one commit into 4.0 Modified

[libcxx] r292607 - Don't default older GCC's to C++17, but C++14 or C++11 instead

2017-01-20 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 20 06:54:45 2017 New Revision: 292607 URL: http://llvm.org/viewvc/llvm-project?rev=292607&view=rev Log: Don't default older GCC's to C++17, but C++14 or C++11 instead Modified: libcxx/trunk/test/libcxx/test/config.py Modified: libcxx/trunk/test/libcxx/test/config

Re: [libcxx] r292607 - Don't default older GCC's to C++17, but C++14 or C++11 instead

2017-01-20 Thread Eric Fiselier via cfe-commits
We should merge this patch into the 4.0 release branch. It is needed to make "check-all" pass when using GCC 4, 5 and 6. /Eric On Fri, Jan 20, 2017 at 5:54 AM, Eric Fiselier via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: ericwf > Date: Fri Jan 20 06:54:

[libcxxabi] r292638 - Fix catch_reference_nullptr.pass.cpp test for GCC.

2017-01-20 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 20 13:34:19 2017 New Revision: 292638 URL: http://llvm.org/viewvc/llvm-project?rev=292638&view=rev Log: Fix catch_reference_nullptr.pass.cpp test for GCC. This test contained an implicit conversion from nullptr to bool. Clang warns about this but the test had supresse

Re: [libcxxabi] r292638 - Fix catch_reference_nullptr.pass.cpp test for GCC.

2017-01-20 Thread Eric Fiselier via cfe-commits
This patch fixes a libc++abi test failure when compiled with GCC 5, 6, or 7. We should merge this into 4.0 to help get `check-all` clean. /Eric On Fri, Jan 20, 2017 at 12:34 PM, Eric Fiselier via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: ericwf > Date: Fri Jan 20 1

[libcxx] r292684 - Implement P0513R0 - "Poisoning the Hash"

2017-01-20 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 20 18:02:12 2017 New Revision: 292684 URL: http://llvm.org/viewvc/llvm-project?rev=292684&view=rev Log: Implement P0513R0 - "Poisoning the Hash" Summary: Exactly what the title says. This patch also adds a `std::hash` specialization in C++17, but it was not added by

[libcxx] r292689 - Fix recent build errors

2017-01-20 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Jan 20 18:57:29 2017 New Revision: 292689 URL: http://llvm.org/viewvc/llvm-project?rev=292689&view=rev Log: Fix recent build errors Modified: libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.hash/hash_unique_ptr.pass.cpp libcxx/trunk/test/std/u

[libcxx] r292717 - Revert accidentally changes which reverted r292582

2017-01-21 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jan 21 08:42:44 2017 New Revision: 292717 URL: http://llvm.org/viewvc/llvm-project?rev=292717&view=rev Log: Revert accidentally changes which reverted r292582 Modified: libcxx/trunk/include/new Modified: libcxx/trunk/include/new URL: http://llvm.org/viewvc/llvm-proj

[libcxx] r292830 - Fix GCC C++03 build by hiding default template argument in C++03

2017-01-23 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Jan 23 15:24:58 2017 New Revision: 292830 URL: http://llvm.org/viewvc/llvm-project?rev=292830&view=rev Log: Fix GCC C++03 build by hiding default template argument in C++03 Modified: libcxx/trunk/include/string Modified: libcxx/trunk/include/string URL: http://llvm.

Re: [libcxx] r292830 - Fix GCC C++03 build by hiding default template argument in C++03

2017-01-23 Thread Eric Fiselier via cfe-commits
This patch should be merge into the 4.0 branch. It fixes a bug introduced to the 4.0 branch in r292354 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216054). /Eric On Mon, Jan 23, 2017 at 2:24 PM, Eric Fiselier via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: eric

[libcxx] r292833 - Manually force the use of __decltype in C++03 with Clang 3.4.

2017-01-23 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Jan 23 15:41:13 2017 New Revision: 292833 URL: http://llvm.org/viewvc/llvm-project?rev=292833&view=rev Log: Manually force the use of __decltype in C++03 with Clang 3.4. uses `decltype` in a way incompatible with `__typeof__`. This is problematic when compiling with Cla

Re: [libcxx] r292822 - Fixed a typo in __config that prevented the aligned new/delete tests from passing on Mac OS.

2017-01-23 Thread Eric Fiselier via cfe-commits
This patch needs to get merged into 4.0 since the offending commit with the misspelling is in the 4.0 branch. /Eric On Mon, Jan 23, 2017 at 12:51 PM, Marshall Clow via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: marshall > Date: Mon Jan 23 13:51:54 2017 > New Revision: 292822 > >

Re: [libcxx] r292833 - Manually force the use of __decltype in C++03 with Clang 3.4.

2017-01-23 Thread Eric Fiselier via cfe-commits
This patch should be merge into 4.0 since it is needed to fix compile time regressions in when using Clang 3.4 and C++03. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216054 for more info. /Eric On Mon, Jan 23, 2017 at 2:41 PM, Eric Fiselier via cfe-commits < cfe-comm

Re: [libcxx] r291961 - Add _LIBCPP_DIAGNOSE_WARNING and _LIBCPP_DIAGNOSE_ERROR macros.

2017-01-23 Thread Eric Fiselier via cfe-commits
others, but it >> feels like we'd want to have the ability to turn individual user-defined >> warnings on or off instead of just having a single toggle for all of them. >> Are there plans for something like that? >> >> On Fri, Jan 13, 2017 at 5:02 PM, Eric Fi

Re: [libcxx] r291961 - Add _LIBCPP_DIAGNOSE_WARNING and _LIBCPP_DIAGNOSE_ERROR macros.

2017-01-23 Thread Eric Fiselier via cfe-commits
::foo and std::bar > warnings are disabled > -Wno-user-defined-warnings='libcxx_warning_foo_tag' // std::bar can warn > -Wno-user-defined-warnings='libcxx_warning_foo_tag,libcxx_warning_bar_tag' > // neither std::foo nor std::bar warn > > ...Personally, I'

[libcxx] r292866 - Merge r292833 - Manually force the use of __decltype in C++03 with Clang 3.4.

2017-01-23 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Jan 23 19:01:55 2017 New Revision: 292866 URL: http://llvm.org/viewvc/llvm-project?rev=292866&view=rev Log: Merge r292833 - Manually force the use of __decltype in C++03 with Clang 3.4. This merges a version of r292833 since it didn't apply cleanly due to other upstream c

Re: [libcxx] r292833 - Manually force the use of __decltype in C++03 with Clang 3.4.

2017-01-23 Thread Eric Fiselier via cfe-commits
C++03. > > > > See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216054 for more > info. > > > > /Eric > > > > On Mon, Jan 23, 2017 at 2:41 PM, Eric Fiselier via cfe-commits > > wrote: > >> > >> Author: ericwf > >> Dat

<    4   5   6   7   8   9   10   11   12   13   >