[libcxx] r294730 - Recommit "Split exception.cpp and new.cpp implementation into different files for different runtimes."

2017-02-10 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Feb 10 02:57:35 2017 New Revision: 294730 URL: http://llvm.org/viewvc/llvm-project?rev=294730&view=rev Log: Recommit "Split exception.cpp and new.cpp implementation into different files for different runtimes." This recommits r294707 with additional fixes. The main diffe

[libcxx] r294731 - Attempt to fix Apple buildit bots

2017-02-10 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Feb 10 03:16:29 2017 New Revision: 294731 URL: http://llvm.org/viewvc/llvm-project?rev=294731&view=rev Log: Attempt to fix Apple buildit bots Modified: libcxx/trunk/src/new.cpp Modified: libcxx/trunk/src/new.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/

[libcxx] r294732 - Fix yet another Apple buildit bug

2017-02-10 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Feb 10 03:25:15 2017 New Revision: 294732 URL: http://llvm.org/viewvc/llvm-project?rev=294732&view=rev Log: Fix yet another Apple buildit bug Modified: libcxx/trunk/src/typeinfo.cpp Modified: libcxx/trunk/src/typeinfo.cpp URL: http://llvm.org/viewvc/llvm-project/lib

[libcxx] r294995 - Add tests for noexcept functions

2017-02-13 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Feb 13 16:44:39 2017 New Revision: 294995 URL: http://llvm.org/viewvc/llvm-project?rev=294995&view=rev Log: Add tests for noexcept functions Modified: libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/is_function.pass.cpp libcxx/trunk/test/std/utili

Re: r295016 - Canonicalize implicit deduction guide parameter types when forming a deduction

2017-02-13 Thread Eric Fiselier via cfe-commits
Hi Richard, The following test triggers an assertion, even after this patch: #include #include template struct TestAlloc : std::allocator {}; template , class Allocator = std::allocator> struct String { using size_type = typename Allocator::size_type; String() = default; Str

[libcxx] r295390 - add tests for ENAMETOOLONG

2017-02-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Feb 16 19:00:37 2017 New Revision: 295390 URL: http://llvm.org/viewvc/llvm-project?rev=295390&view=rev Log: add tests for ENAMETOOLONG Modified: libcxx/trunk/test/std/experimental/filesystem/fs.op.funcs/fs.op.exists/exists.pass.cpp libcxx/trunk/test/std/experime

[libcxx] r295393 - [libc++] Fix PR 31938 - std::basic_string constructors use non-deductible parameter types.

2017-02-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Feb 16 19:17:10 2017 New Revision: 295393 URL: http://llvm.org/viewvc/llvm-project?rev=295393&view=rev Log: [libc++] Fix PR 31938 - std::basic_string constructors use non-deductible parameter types. Summary: This patch fixes http://llvm.org/PR31938. The description below

Re: [libcxx] r294116 - Remove CMake hack

2017-02-16 Thread Eric Fiselier via cfe-commits
Sorry about the breakage. I'm not sure what else to do. The hack had been sitting there for more than a month IIRC. Any advice for next time? /Eric On Thu, Feb 16, 2017 at 7:00 PM, Justin Bogner wrote: > Eric Fiselier via cfe-commits writes: > > Author: ericwf > > Date:

[libcxx] r295399 - update revision in CHANGELOG.TXT and fix python error

2017-02-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Feb 16 19:56:57 2017 New Revision: 295399 URL: http://llvm.org/viewvc/llvm-project?rev=295399&view=rev Log: update revision in CHANGELOG.TXT and fix python error Modified: libcxx/trunk/lib/abi/CHANGELOG.TXT libcxx/trunk/utils/libcxx/sym_check/extract.py Modified:

[libcxx] r295403 - Mark a couple for basic_string member templates as inline. no ABI change this time.

2017-02-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Feb 16 20:31:56 2017 New Revision: 295403 URL: http://llvm.org/viewvc/llvm-project?rev=295403&view=rev Log: Mark a couple for basic_string member templates as inline. no ABI change this time. Modified: libcxx/trunk/include/string Modified: libcxx/trunk/include/strin

[libcxx] r295406 - [libcxx] Remove unexpected handlers in C++17

2017-02-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Feb 16 21:25:08 2017 New Revision: 295406 URL: http://llvm.org/viewvc/llvm-project?rev=295406&view=rev Log: [libcxx] Remove unexpected handlers in C++17 Summary: This patch implements [P0003R5](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html) which

[libcxx] r295407 - Add doc for _LIBCPP_ENABLE_CXX17_DISABLED_AUTO_PTR and make it work under _LIBCPP_ENABLE_CXX17_REMOVED_FEATURES

2017-02-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Feb 16 21:30:25 2017 New Revision: 295407 URL: http://llvm.org/viewvc/llvm-project?rev=295407&view=rev Log: Add doc for _LIBCPP_ENABLE_CXX17_DISABLED_AUTO_PTR and make it work under _LIBCPP_ENABLE_CXX17_REMOVED_FEATURES Modified: libcxx/trunk/docs/UsingLibcxx.rst

[libcxxabi] r295411 - Fix test_exception_storage.pass.cpp in C++17 my re-enabling the unexpected handlers

2017-02-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Feb 16 22:26:22 2017 New Revision: 295411 URL: http://llvm.org/viewvc/llvm-project?rev=295411&view=rev Log: Fix test_exception_storage.pass.cpp in C++17 my re-enabling the unexpected handlers Modified: libcxxabi/trunk/test/test_exception_storage.pass.cpp Modified: l

[libcxx] r295417 - Work around Clang assertion when testing C++17 deduction guides with '-g'.

2017-02-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Feb 16 23:04:09 2017 New Revision: 295417 URL: http://llvm.org/viewvc/llvm-project?rev=295417&view=rev Log: Work around Clang assertion when testing C++17 deduction guides with '-g'. Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/implicit_deduction

Re: r295379 - Properly set up the DeclContext for parameters of implicit deduction guides;

2017-02-16 Thread Eric Fiselier via cfe-commits
Hi Richard, One more issue. When compiling with `-g` the following code hits a `llvm_unreachable` in CGDebugInfo::CreateTypeNode. template struct S { S(T) {} }; S s(42); /Eric On Thu, Feb 16, 2017 at 2:29 PM, Richard Smith via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: rsmith

Re: r295379 - Properly set up the DeclContext for parameters of implicit deduction guides;

2017-02-16 Thread Eric Fiselier via cfe-commits
I put my attempt to fix this up for review: https://reviews.llvm.org/D30082 On Thu, Feb 16, 2017 at 10:17 PM, Eric Fiselier wrote: > Hi Richard, > > One more issue. When compiling with `-g` the following code hits a > `llvm_unreachable` in CGDebugInfo::CreateTypeNode. > > template struct S { S

[libcxx] r295422 - add implicit deduction guide tests for string_view

2017-02-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Feb 17 00:59:11 2017 New Revision: 295422 URL: http://llvm.org/viewvc/llvm-project?rev=295422&view=rev Log: add implicit deduction guide tests for string_view Added: libcxx/trunk/test/std/strings/string.view/string.view.cons/implicit_deduction_guides.pass.cpp Added:

[libcxx] r295423 - Remove dead code in test

2017-02-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Feb 17 01:00:04 2017 New Revision: 295423 URL: http://llvm.org/viewvc/llvm-project?rev=295423&view=rev Log: Remove dead code in test Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/implicit_deduction_guides.pass.cpp Modified: libcxx/trunk/test/

[libcxx] r295428 - Use inline namespaces with GCC instead of __attribute__((__strong__)).

2017-02-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Feb 17 01:31:38 2017 New Revision: 295428 URL: http://llvm.org/viewvc/llvm-project?rev=295428&view=rev Log: Use inline namespaces with GCC instead of __attribute__((__strong__)). GCC 7.0.1 started warning that __attribute__((__strong__)) is depricated. This patch switches

[libcxx] r295434 - Update all bug URL's to point to https://bugs.llvm.org/...

2017-02-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Feb 17 02:37:03 2017 New Revision: 295434 URL: http://llvm.org/viewvc/llvm-project?rev=295434&view=rev Log: Update all bug URL's to point to https://bugs.llvm.org/... Modified: libcxx/trunk/docs/index.rst libcxx/trunk/include/memory libcxx/trunk/test/std/cont

Re: [PATCH] D30339: [libcxxabi] Disable calls to fprintf when building for baremetal targets in release mode

2017-02-24 Thread Eric Fiselier via cfe-commits
Inserting arbitrary feature macros into CMake should not be a supported scenario because it results is macros, such as this one, which are seemingly dead. /Eric On Fri, Feb 24, 2017 at 1:44 PM, Jonathan Roelofs wrote: > > > On 2/24/17 1:30 PM, Eric Fiselier via Phabricator wrote: > >> EricWF ad

[libcxx] r296561 - Fix PR32097 - is_abstract doesn't work on class templates.

2017-02-28 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Feb 28 19:27:14 2017 New Revision: 296561 URL: http://llvm.org/viewvc/llvm-project?rev=296561&view=rev Log: Fix PR32097 - is_abstract doesn't work on class templates. This patch fixes llvm.org/PR32097 by using the __is_abstract builtin type-trait instead of the previous l

[libcxx] r296565 - Improve diagnostics when an invalid hash is used in an unordered container.

2017-02-28 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Feb 28 20:02:28 2017 New Revision: 296565 URL: http://llvm.org/viewvc/llvm-project?rev=296565&view=rev Log: Improve diagnostics when an invalid hash is used in an unordered container. This patch adds a static assertion that the specified hash meets the requirements of an

[libcxxabi] r296567 - Fix non-reserved macro names LIBCXXABI_NORETURN and LIBCXXABI_ARM_EHABI.

2017-02-28 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Feb 28 20:23:54 2017 New Revision: 296567 URL: http://llvm.org/viewvc/llvm-project?rev=296567&view=rev Log: Fix non-reserved macro names LIBCXXABI_NORETURN and LIBCXXABI_ARM_EHABI. This patch adds the required leading underscore to those macros. Modified: libcxxabi/t

[libcxx] r296568 - Fix test failures due to bad test hasher

2017-02-28 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Feb 28 20:34:27 2017 New Revision: 296568 URL: http://llvm.org/viewvc/llvm-project?rev=296568&view=rev Log: Fix test failures due to bad test hasher Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/default_noexcept.pass.cpp libcxx/trunk

[libcxx] r296571 - Mark test as unsupported in C++11

2017-02-28 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Feb 28 20:52:04 2017 New Revision: 296571 URL: http://llvm.org/viewvc/llvm-project?rev=296571&view=rev Log: Mark test as unsupported in C++11 Modified: libcxx/trunk/test/libcxx/containers/unord/unord.set/missing_hash_specialization.fail.cpp Modified: libcxx/trunk/t

Re: [libcxx] r296561 - Fix PR32097 - is_abstract doesn't work on class templates.

2017-03-01 Thread Eric Fiselier via cfe-commits
n Tue, Feb 28, 2017 at 6:27 PM, Eric Fiselier via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: ericwf > Date: Tue Feb 28 19:27:14 2017 > New Revision: 296561 > > URL: http://llvm.org/viewvc/llvm-project?rev=296561&view=rev > Log: > Fix PR32097 - is

Re: [libcxx] r296561 - Fix PR32097 - is_abstract doesn't work on class templates.

2017-03-01 Thread Eric Fiselier via cfe-commits
; Although it's not a regression, it is a significant bug. This patch fixes > > the bug by > > forwarding to a compiler builtin, which is strictly better than what we > > have. I'm > > confident this patch is safe. > > > > /Eric > > > > On Tu

[libcxx] r296685 - Generate the test configuration even when LIBCXX_INCLUDE_TESTS=OFF.

2017-03-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Mar 1 15:53:30 2017 New Revision: 296685 URL: http://llvm.org/viewvc/llvm-project?rev=296685&view=rev Log: Generate the test configuration even when LIBCXX_INCLUDE_TESTS=OFF. This patch changes the CMake configuration so that it always generates the test/lit.site.cfg fil

[libcxxabi] r296715 - Cleanup new/delete definitions

2017-03-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Mar 1 17:59:34 2017 New Revision: 296715 URL: http://llvm.org/viewvc/llvm-project?rev=296715&view=rev Log: Cleanup new/delete definitions This patch cleans up how libc++abi handles the definitions for new/delete. It is in preperation for upcoming changes to fix how both

[libcxx] r296716 - Fix python 3 syntax error in sym_diff

2017-03-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Mar 1 18:03:01 2017 New Revision: 296716 URL: http://llvm.org/viewvc/llvm-project?rev=296716&view=rev Log: Fix python 3 syntax error in sym_diff Modified: libcxx/trunk/utils/libcxx/sym_check/diff.py Modified: libcxx/trunk/utils/libcxx/sym_check/diff.py URL: http://

[libcxx] r296727 - Remove more usages of REQUIRES-ANY in the test-suite

2017-03-01 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Mar 1 20:04:49 2017 New Revision: 296727 URL: http://llvm.org/viewvc/llvm-project?rev=296727&view=rev Log: Remove more usages of REQUIRES-ANY in the test-suite Modified: libcxx/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/assignment.pass.cpp libcxx/

[libcxxabi] r296787 - [libc++abi] Update new/delete definitions to match libc++

2017-03-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Mar 2 13:25:53 2017 New Revision: 296787 URL: http://llvm.org/viewvc/llvm-project?rev=296787&view=rev Log: [libc++abi] Update new/delete definitions to match libc++ Summary: Currently both libc++ and libc++abi provide definitions for new/delete. However libc++abi's defi

[libcxxabi] r296801 - [libc++abi] Add option to enable definitions for the new/delete overloads.

2017-03-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Mar 2 13:34:35 2017 New Revision: 296801 URL: http://llvm.org/viewvc/llvm-project?rev=296801&view=rev Log: [libc++abi] Add option to enable definitions for the new/delete overloads. Summary: Currently both libc++ and libc++abi provide definitions for operator new/delete

[libcxx] r296802 - [libc++] Add option to disable new/delete overloads when libc++abi provides them.

2017-03-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Mar 2 13:35:33 2017 New Revision: 296802 URL: http://llvm.org/viewvc/llvm-project?rev=296802&view=rev Log: [libc++] Add option to disable new/delete overloads when libc++abi provides them. Summary: Currently both libc++ and libc++abi provide definitions for operator ne

[libcxx] r296813 - Fix test failures caused by new/delete calls getting optimized away

2017-03-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Mar 2 15:16:35 2017 New Revision: 296813 URL: http://llvm.org/viewvc/llvm-project?rev=296813&view=rev Log: Fix test failures caused by new/delete calls getting optimized away Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.arra

[libcxxabi] r296823 - Work around GCC linking errors within libc++abi due to missing new/delete definitions

2017-03-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Mar 2 15:55:17 2017 New Revision: 296823 URL: http://llvm.org/viewvc/llvm-project?rev=296823&view=rev Log: Work around GCC linking errors within libc++abi due to missing new/delete definitions Modified: libcxxabi/trunk/CMakeLists.txt Modified: libcxxabi/trunk/CMake

[libcxx] r296822 - Work around GCC linking errors within libc++abi due to missing new/delete definitions

2017-03-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Mar 2 15:55:03 2017 New Revision: 296822 URL: http://llvm.org/viewvc/llvm-project?rev=296822&view=rev Log: Work around GCC linking errors within libc++abi due to missing new/delete definitions Modified: libcxx/trunk/CMakeLists.txt Modified: libcxx/trunk/CMakeLists.

[libcxx] r296831 - remove max_size() extension from polymorphic_allocator. It is unneeded

2017-03-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Mar 2 16:10:14 2017 New Revision: 296831 URL: http://llvm.org/viewvc/llvm-project?rev=296831&view=rev Log: remove max_size() extension from polymorphic_allocator. It is unneeded Removed: libcxx/trunk/test/libcxx/experimental/memory/memory.polymorphic.allocator.class

[libcxx] r296840 - Work around test failure on 32 bit OS X

2017-03-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Mar 2 17:18:40 2017 New Revision: 296840 URL: http://llvm.org/viewvc/llvm-project?rev=296840&view=rev Log: Work around test failure on 32 bit OS X Modified: libcxx/trunk/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp Mo

[libcxx] r296851 - Fix sign-compare warning in test; Oddly this only appears on OS X

2017-03-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Mar 2 20:02:07 2017 New Revision: 296851 URL: http://llvm.org/viewvc/llvm-project?rev=296851&view=rev Log: Fix sign-compare warning in test; Oddly this only appears on OS X Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/move_alloc.

[libcxx] r296854 - Clean up more usages of _LIBCPP_HAS_NO_RVALUE_REFERENCES

2017-03-02 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Mar 2 21:43:25 2017 New Revision: 296854 URL: http://llvm.org/viewvc/llvm-project?rev=296854&view=rev Log: Clean up more usages of _LIBCPP_HAS_NO_RVALUE_REFERENCES Modified: libcxx/trunk/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.

[libcxx] r296919 - Fix hash requirements check in __hash_table.

2017-03-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 3 16:35:58 2017 New Revision: 296919 URL: http://llvm.org/viewvc/llvm-project?rev=296919&view=rev Log: Fix hash requirements check in __hash_table. r296565 attempted to add better diagnostics when an unordered container is instantiated with a hash that doesn't meet t

[libcxx] r296922 - Remove the buildit and testit scripts; they haven't been supported in years

2017-03-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 3 16:47:45 2017 New Revision: 296922 URL: http://llvm.org/viewvc/llvm-project?rev=296922&view=rev Log: Remove the buildit and testit scripts; they haven't been supported in years Removed: libcxx/trunk/lib/buildit libcxx/trunk/test/testit Removed: libcxx/trun

Re: [libcxx] r296919 - Fix hash requirements check in __hash_table.

2017-03-03 Thread Eric Fiselier via cfe-commits
eir code compiling until they have time to fix it. Of course patches are always welcome :-P /Eric > Is it possible to use some warning text that lets people know what they > need to do to make the compiler happy, instead of just telling them that > the compiler is unhappy? > > On F

[libcxxabi] r296936 - Turn on -Wunused-function and cleanup occurances

2017-03-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 3 19:02:35 2017 New Revision: 296936 URL: http://llvm.org/viewvc/llvm-project?rev=296936&view=rev Log: Turn on -Wunused-function and cleanup occurances Modified: libcxxabi/trunk/CMakeLists.txt libcxxabi/trunk/cmake/config-ix.cmake libcxxabi/trunk/src/cxa_

[libcxxabi] r296940 - Fix PR25874 - Detect features required for cxa_thread_atexit_test.pass.cpp

2017-03-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 3 19:26:41 2017 New Revision: 296940 URL: http://llvm.org/viewvc/llvm-project?rev=296940&view=rev Log: Fix PR25874 - Detect features required for cxa_thread_atexit_test.pass.cpp Modified: libcxxabi/trunk/test/CMakeLists.txt libcxxabi/trunk/test/cxa_thread_ate

[libcxx] r296942 - teach LIT how to detect the glibc version

2017-03-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 3 19:29:51 2017 New Revision: 296942 URL: http://llvm.org/viewvc/llvm-project?rev=296942&view=rev Log: teach LIT how to detect the glibc version Modified: libcxx/trunk/utils/libcxx/test/config.py Modified: libcxx/trunk/utils/libcxx/test/config.py URL: http://ll

[libcxxabi] r296952 - [libcxxabi] Fix alignment of allocated exceptions in 32 bit builds

2017-03-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 3 20:04:45 2017 New Revision: 296952 URL: http://llvm.org/viewvc/llvm-project?rev=296952&view=rev Log: [libcxxabi] Fix alignment of allocated exceptions in 32 bit builds Summary: In 32 bit builds on a 64 bit system `std::malloc` does not return correctly aligned mem

[libcxxabi] r296954 - Fix CMake configuration errors on OS X

2017-03-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 3 20:15:37 2017 New Revision: 296954 URL: http://llvm.org/viewvc/llvm-project?rev=296954&view=rev Log: Fix CMake configuration errors on OS X Modified: libcxxabi/trunk/CMakeLists.txt Modified: libcxxabi/trunk/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-proj

[libcxxabi] r296955 - Attempt to suppress test failures on OS X

2017-03-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 3 20:29:25 2017 New Revision: 296955 URL: http://llvm.org/viewvc/llvm-project?rev=296955&view=rev Log: Attempt to suppress test failures on OS X Modified: libcxxabi/trunk/test/libcxxabi/test/config.py libcxxabi/trunk/test/test_exception_address_alignment.pass

Re: [libcxxabi] r296940 - Fix PR25874 - Detect features required for cxa_thread_atexit_test.pass.cpp

2017-03-03 Thread Eric Fiselier via cfe-commits
LIBCXXABI_HAS_CXA_THREAD_ATEXIT_IMPL should be set by `check_library_exists` at the bottom of `config-ix.cmake`. On Fri, Mar 3, 2017 at 7:22 PM, Jonathan Roelofs wrote: > > > On 3/3/17 6:26 PM, Eric Fiselier via cfe-commits wrote: > >> Author: ericwf >> Date: Fri Mar

[libcxxabi] r296957 - Add missing UNSUPPORTED for -fno-exception mode

2017-03-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 3 21:03:27 2017 New Revision: 296957 URL: http://llvm.org/viewvc/llvm-project?rev=296957&view=rev Log: Add missing UNSUPPORTED for -fno-exception mode Modified: libcxxabi/trunk/test/test_exception_address_alignment.pass.cpp Modified: libcxxabi/trunk/test/test_ex

[libcxxabi] r296960 - Fully Reformat fallback_malloc.cpp

2017-03-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 3 21:23:15 2017 New Revision: 296960 URL: http://llvm.org/viewvc/llvm-project?rev=296960&view=rev Log: Fully Reformat fallback_malloc.cpp This patch fully reformats fallback_malloc.cpp. Previously the test was a mess of different styles and indentations. This made it

[libcxx] r296965 - Fix nonsense comment

2017-03-04 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Mar 4 06:28:12 2017 New Revision: 296965 URL: http://llvm.org/viewvc/llvm-project?rev=296965&view=rev Log: Fix nonsense comment Modified: libcxx/trunk/utils/libcxx/test/config.py Modified: libcxx/trunk/utils/libcxx/test/config.py URL: http://llvm.org/viewvc/llvm-pr

[libcxx] r297066 - Mark two any_cast issues as complete

2017-03-06 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Mar 6 14:49:42 2017 New Revision: 297066 URL: http://llvm.org/viewvc/llvm-project?rev=297066&view=rev Log: Mark two any_cast issues as complete Modified: libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/www/cxx1z_status.html URL: http://llvm.org/viewvc/llv

[libcxx] r297069 - Mark LWG 2781 as complete. No changes required

2017-03-06 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Mar 6 14:56:13 2017 New Revision: 297069 URL: http://llvm.org/viewvc/llvm-project?rev=297069&view=rev Log: Mark LWG 2781 as complete. No changes required Modified: libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/www/cxx1z_status.html URL: http://llvm.org/

[libcxx] r297071 - Implement LWG 2787 - [file_status.cons] is inconsistent

2017-03-06 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Mar 6 15:02:06 2017 New Revision: 297071 URL: http://llvm.org/viewvc/llvm-project?rev=297071&view=rev Log: Implement LWG 2787 - [file_status.cons] is inconsistent Modified: libcxx/trunk/include/experimental/filesystem libcxx/trunk/test/std/experimental/filesyste

[libcxx] r297073 - Mark LWG 2789 as complete. No changes required

2017-03-06 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Mar 6 15:07:18 2017 New Revision: 297073 URL: http://llvm.org/viewvc/llvm-project?rev=297073&view=rev Log: Mark LWG 2789 as complete. No changes required Modified: libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/www/cxx1z_status.html URL: http://llvm.org/

[libcxx] r297074 - Mark LWG 2806 as complete. Libc++ speculatively shiped this change in 4.0

2017-03-06 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Mar 6 15:09:02 2017 New Revision: 297074 URL: http://llvm.org/viewvc/llvm-project?rev=297074&view=rev Log: Mark LWG 2806 as complete. Libc++ speculatively shiped this change in 4.0 Modified: libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/www/cxx1z_status.

[libcxx] r297079 - Add list of filesystem NB comments to TODO.TXT so they can be tracked separately

2017-03-06 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Mar 6 15:23:36 2017 New Revision: 297079 URL: http://llvm.org/viewvc/llvm-project?rev=297079&view=rev Log: Add list of filesystem NB comments to TODO.TXT so they can be tracked separately Modified: libcxx/trunk/TODO.TXT Modified: libcxx/trunk/TODO.TXT URL: http://l

r297089 - [coroutines] Improve diagnostics when building implicit constructs.

2017-03-06 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Mar 6 16:52:28 2017 New Revision: 297089 URL: http://llvm.org/viewvc/llvm-project?rev=297089&view=rev Log: [coroutines] Improve diagnostics when building implicit constructs. Previously when a coroutine was building the implicit setup/destroy constructs it would emit dia

r297093 - [coroutines] Add DependentCoawaitExpr and fix re-building CoroutineBodyStmt.

2017-03-06 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Mar 6 17:38:15 2017 New Revision: 297093 URL: http://llvm.org/viewvc/llvm-project?rev=297093&view=rev Log: [coroutines] Add DependentCoawaitExpr and fix re-building CoroutineBodyStmt. Summary: The changes contained in this patch are: 1. Defines a new AST node `CoawaitDe

r297105 - Fix unused variable in SemaCoroutine.cpp

2017-03-06 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Mar 6 18:01:13 2017 New Revision: 297105 URL: http://llvm.org/viewvc/llvm-project?rev=297105&view=rev Log: Fix unused variable in SemaCoroutine.cpp Modified: cfe/trunk/lib/Sema/SemaCoroutine.cpp Modified: cfe/trunk/lib/Sema/SemaCoroutine.cpp URL: http://llvm.org/vi

r297106 - Define LLVM_ENABLE_WARNINGS when building standalone clang to ensure warnings get enabled

2017-03-06 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Mon Mar 6 18:15:18 2017 New Revision: 297106 URL: http://llvm.org/viewvc/llvm-project?rev=297106&view=rev Log: Define LLVM_ENABLE_WARNINGS when building standalone clang to ensure warnings get enabled Modified: cfe/trunk/CMakeLists.txt Modified: cfe/trunk/CMakeLists.tx

[libcxx] r297306 - Fix PR32183 - Wrap GCC exception implementation in missing namespace std

2017-03-08 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Mar 8 14:06:01 2017 New Revision: 297306 URL: http://llvm.org/viewvc/llvm-project?rev=297306&view=rev Log: Fix PR32183 - Wrap GCC exception implementation in missing namespace std Modified: libcxx/trunk/src/support/runtime/exception_glibcxx.ipp libcxx/trunk/src/s

[libcxx] r297355 - Disable unsigned integer sanitizer for basic_string::replace(). Patch from tomche...@google.com

2017-03-08 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Mar 8 19:54:13 2017 New Revision: 297355 URL: http://llvm.org/viewvc/llvm-project?rev=297355&view=rev Log: Disable unsigned integer sanitizer for basic_string::replace(). Patch from tomche...@google.com basic_string::replace() has the below line __sz += __n2 - __n1; w

r297358 - [coroutines] Fix assertion in DependentCoawaitExpr when the argument is non-dependent.

2017-03-08 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Mar 8 23:01:31 2017 New Revision: 297358 URL: http://llvm.org/viewvc/llvm-project?rev=297358&view=rev Log: [coroutines] Fix assertion in DependentCoawaitExpr when the argument is non-dependent. Summary: A `co_await arg` expression has a dependent type whenever the promi

[libcxx] r297532 - Fix DoNotOptimize on MSVC

2017-03-10 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 10 18:07:08 2017 New Revision: 297532 URL: http://llvm.org/viewvc/llvm-project?rev=297532&view=rev Log: Fix DoNotOptimize on MSVC Modified: libcxx/trunk/test/support/test_macros.h Modified: libcxx/trunk/test/support/test_macros.h URL: http://llvm.org/viewvc/llvm

r297547 - [coroutines] Fix diagnostics depending on the first coroutine statement.

2017-03-10 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 10 20:35:37 2017 New Revision: 297547 URL: http://llvm.org/viewvc/llvm-project?rev=297547&view=rev Log: [coroutines] Fix diagnostics depending on the first coroutine statement. Summary: Some coroutine diagnostics need to point to the location of the first coroutine k

[libcxx] r297553 - Change test coverage generation to use llvm-cov instead of gcov.

2017-03-10 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 10 21:24:18 2017 New Revision: 297553 URL: http://llvm.org/viewvc/llvm-project?rev=297553&view=rev Log: Change test coverage generation to use llvm-cov instead of gcov. Clang doesn't produce gcov compatible coverage files. This causes lcov to break because it uses gco

Re: [PATCH] D30773: Make git-clang-format python 3 compatible

2017-03-10 Thread Eric Fiselier via cfe-commits
On Thu, Mar 9, 2017 at 9:36 AM, Nico Weber wrote: > Consider landing the obvious bits (print function, mostly) separately and > use this only for the interesting bits. > Sounds good. I just wanted to make sure I got the simple bits right as well. If this doesn't get reviewed in the next week I'

[libcxx] r297555 - fix test coverage capture dirs

2017-03-10 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Mar 10 23:28:09 2017 New Revision: 297555 URL: http://llvm.org/viewvc/llvm-project?rev=297555&view=rev Log: fix test coverage capture dirs Modified: libcxx/trunk/test/CMakeLists.txt Modified: libcxx/trunk/test/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/

Re: [libcxx] r297553 - Change test coverage generation to use llvm-cov instead of gcov.

2017-03-13 Thread Eric Fiselier via cfe-commits
Hi Bruno, Thank you for the fix. I couldn't get to it today. I'll watch the sanitizer bots more carefully in future. On Mar 13, 2017 10:26 PM, "Bruno Cardoso Lopes" wrote: > Hi Eric, > > I fixed the build for darwin in r297703, let me know if you have any > comments. > > Thanks, > > On Mon, Mar

[PATCH] D25403: [CUDA] Mark __libcpp_{isnan, isinf, isfinite} as constexpr.

2016-11-15 Thread Eric Fiselier via cfe-commits
EricWF accepted this revision. EricWF added inline comments. This revision is now accepted and ready to land. Comment at: libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp:17 +// true constexpr-ness. + +#include Does GCC offer these as contexpr? If not t

[PATCH] D25403: [CUDA] Mark __libcpp_{isnan, isinf, isfinite} as constexpr.

2016-11-15 Thread Eric Fiselier via cfe-commits
EricWF added inline comments. Comment at: libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp:22 + +#ifndef _LIBCPP_VERSION +#error _LIBCPP_VERSION not defined jlebar wrote: > EricWF wrote: > > You don't need this `_LIBCPP_VERSION` check here. > Hm, there a

[PATCH] D25403: [CUDA] Mark __libcpp_{isnan, isinf, isfinite} as constexpr.

2016-11-15 Thread Eric Fiselier via cfe-commits
EricWF added inline comments. Comment at: libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp:17 +// true constexpr-ness. + +#include jlebar wrote: > EricWF wrote: > > Does GCC offer these as contexpr? If not this needs a `// XFAIL: gcc` > Looks like the r

[libcxx] r287020 - Add .clang-format to libc++

2016-11-15 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Nov 15 14:21:30 2016 New Revision: 287020 URL: http://llvm.org/viewvc/llvm-project?rev=287020&view=rev Log: Add .clang-format to libc++ Adding a Clang Format file to libc++ and which style it should use has been discussed a couple of times. This patch finally adds a .clan

[libcxx] r287080 - Fix non-reserved name usage

2016-11-15 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue Nov 15 22:45:32 2016 New Revision: 287080 URL: http://llvm.org/viewvc/llvm-project?rev=287080&view=rev Log: Fix non-reserved name usage Modified: libcxx/trunk/include/limits Modified: libcxx/trunk/include/limits URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/

[PATCH] D26744: [clang-tidy] Fix identifier naming for initializer list member initializers.

2016-11-16 Thread Eric Fiselier via cfe-commits
EricWF created this revision. EricWF added reviewers: alexfh, hokein, aaron.ballman. EricWF added a subscriber: cfe-commits. This patch adds handling for member initializers in a constructors initializer list. Previously we only handled base-class and delegating initializers, which are transform

[libcxx] r287109 - Fix -verify tests for older ccache versions

2016-11-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Nov 16 08:48:42 2016 New Revision: 287109 URL: http://llvm.org/viewvc/llvm-project?rev=287109&view=rev Log: Fix -verify tests for older ccache versions Modified: libcxx/trunk/test/libcxx/test/format.py Modified: libcxx/trunk/test/libcxx/test/format.py URL: http://ll

[PATCH] D26702: [libc++] Introduce `_LIBCPP_OVERRIDABLE_FUNC_VIS`

2016-11-16 Thread Eric Fiselier via cfe-commits
EricWF accepted this revision. EricWF added inline comments. This revision is now accepted and ready to land. Comment at: src/new.cpp:163 -_LIBCPP_WEAK _LIBCPP_NEW_DELETE_VIS void* You should be able to remove the macro on the definitions since they're redund

[PATCH] D26702: [libc++] Introduce `_LIBCPP_OVERRIDABLE_FUNC_VIS`

2016-11-16 Thread Eric Fiselier via cfe-commits
EricWF added a comment. What happens on windows when `operator new` isn't overridden and has to be imported from the DLL? Does that work? https://reviews.llvm.org/D26702 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/

[PATCH] D26744: [clang-tidy] Fix identifier naming for initializer list member initializers.

2016-11-16 Thread Eric Fiselier via cfe-commits
EricWF marked an inline comment as done. EricWF added inline comments. Comment at: test/clang-tidy/readability-identifier-naming.cpp:155 // CHECK-FIXES: {{^}}class CMyClass {{{$}} +public: my_class(); aaron.ballman wrote: > Why set the access specifier here

[PATCH] D26744: [clang-tidy] Fix identifier naming for initializer list member initializers.

2016-11-16 Thread Eric Fiselier via cfe-commits
EricWF updated this revision to Diff 78252. EricWF added a comment. Fix `auto` usage. https://reviews.llvm.org/D26744 Files: clang-tidy/readability/IdentifierNamingCheck.cpp test/clang-tidy/readability-identifier-naming.cpp Index: test/clang-tidy/readability-identifier-naming.cpp

[clang-tools-extra] r287153 - [clang-tidy] Fix identifier naming for initializer list member initializers.

2016-11-16 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Wed Nov 16 15:15:58 2016 New Revision: 287153 URL: http://llvm.org/viewvc/llvm-project?rev=287153&view=rev Log: [clang-tidy] Fix identifier naming for initializer list member initializers. Summary: This patch adds handling for member initializers in a constructors initializer

[PATCH] D25654: [Sema] Don't perform aggregate initialization for types with explicit constructors

2016-11-17 Thread Eric Fiselier via cfe-commits
EricWF added a comment. @rsmith ping. This is kind-of blocking making libc++'s tag types not constructible from `{}`. https://reviews.llvm.org/D25654 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/list

[PATCH] D26782: [libcxx] [test] Test changes for P0504R0 "Revisiting in-place tag types for any/optional/variant"

2016-11-17 Thread Eric Fiselier via cfe-commits
EricWF accepted this revision. EricWF added a comment. This revision is now accepted and ready to land. LGTM. This patch misses `any.modifiers/emplace.pass.cpp` but I'll fix that up and commit with the libc++ changes! https://reviews.llvm.org/D26782 __

[libcxx] r287249 - Test changes for P0504R0 "Revisiting in-place tag types for any/optional/variant". Patch from Casey Carter

2016-11-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Nov 17 13:23:35 2016 New Revision: 287249 URL: http://llvm.org/viewvc/llvm-project?rev=287249&view=rev Log: Test changes for P0504R0 "Revisiting in-place tag types for any/optional/variant". Patch from Casey Carter Modified: libcxx/trunk/test/std/utilities/any/any.c

[libcxx] r287250 - Implement P0504R0: Revisiting in-place tag types for any/optional/variant

2016-11-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Nov 17 13:24:04 2016 New Revision: 287250 URL: http://llvm.org/viewvc/llvm-project?rev=287250&view=rev Log: Implement P0504R0: Revisiting in-place tag types for any/optional/variant Modified: libcxx/trunk/include/any libcxx/trunk/include/utility Modified: libcxx/

[libcxx] r287251 - Remove files missed in r287250

2016-11-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Nov 17 13:24:34 2016 New Revision: 287251 URL: http://llvm.org/viewvc/llvm-project?rev=287251&view=rev Log: Remove files missed in r287250 Removed: libcxx/trunk/test/libcxx/utilities/utility/utility.inplace/ ___ cfe-commits

[PATCH] D26782: [libcxx] [test] Test changes for P0504R0 "Revisiting in-place tag types for any/optional/variant"

2016-11-17 Thread Eric Fiselier via cfe-commits
EricWF closed this revision. EricWF added a comment. r287249. Thanks again! https://reviews.llvm.org/D26782 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] r287255 - Workaround compilers w/o C++1z inline variables

2016-11-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Nov 17 14:08:43 2016 New Revision: 287255 URL: http://llvm.org/viewvc/llvm-project?rev=287255&view=rev Log: Workaround compilers w/o C++1z inline variables Modified: libcxx/trunk/include/__config libcxx/trunk/include/utility Modified: libcxx/trunk/include/__confi

[PATCH] D25654: [Sema] Don't perform aggregate initialization for types with explicit constructors

2016-11-17 Thread Eric Fiselier via cfe-commits
EricWF updated this revision to Diff 78410. EricWF added a comment. OK, I've applied the fix to C++11 and C++14. Although the inheriting-constructor part still only matters in C++1z since it requires having base classes. I also fixed aggregate initialization for types with non-aggregate base c

[PATCH] D26826: [libcxx] Implement locale.h to fix modules build

2016-11-17 Thread Eric Fiselier via cfe-commits
EricWF created this revision. EricWF added reviewers: mclow.lists, rsmith. EricWF added a subscriber: cfe-commits. Because `locale.h` isn't part of the libc++ modules the class definitions it provides are exported as part of `__locale` (since it happens to be build first). This breaks `` which e

[PATCH] D26825: [libc++] Fix preprocessor guard for overload declaration

2016-11-17 Thread Eric Fiselier via cfe-commits
EricWF accepted this revision. EricWF added a comment. This revision is now accepted and ready to land. LGTM. Thanks! https://reviews.llvm.org/D26825 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listi

[PATCH] D25654: [Sema] Don't perform aggregate initialization for types with explicit constructors

2016-11-17 Thread Eric Fiselier via cfe-commits
EricWF updated this revision to Diff 78459. EricWF added a comment. Add tests that explicit default constructors are still allowed outside of copy-initialization. https://reviews.llvm.org/D25654 Files: lib/AST/DeclCXX.cpp test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p1.cpp test/CXX/dcl.decl/

[PATCH] D26830: [libcxx] Add string_view literals

2016-11-17 Thread Eric Fiselier via cfe-commits
EricWF added a comment. Which paper is this implementing? Also please update the synopsis comment at the top of the header. Comment at: include/string_view:749 +inline namespace literals +{ If this is new to C++17 then the new declarations should be guarded

[libcxx] r287321 - Remove _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS

2016-11-17 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Nov 18 00:42:17 2016 New Revision: 287321 URL: http://llvm.org/viewvc/llvm-project?rev=287321&view=rev Log: Remove _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS libc++ no longer supports C++11 compilers that don't implement `= default`. This patch removes all instances of the featur

[PATCH] D26829: [clang] Allow lexer to handle string_view literals

2016-11-17 Thread Eric Fiselier via cfe-commits
EricWF added a comment. Please add tests to `cxx1y-user-defined-literals.cpp` (and probably rename it). Other than that this LGTM, but I don't feel comfortable approving clang patches. https://reviews.llvm.org/D26829 ___ cfe-commits mailing list cf

<    6   7   8   9   10   11   12   13   14   15   >