[clang] 3174766 - [Docs] Fix code-blocks missing a colon and a newline

2023-07-27 Thread Roger Ferrer Ibanez via cfe-commits
Author: Roger Ferrer Ibanez Date: 2023-07-28T05:36:49Z New Revision: 31747668325227013e4cdd2c7aa185110485 URL: https://github.com/llvm/llvm-project/commit/31747668325227013e4cdd2c7aa185110485 DIFF:

[clang] fa45f81 - [clang][Serialization][RISCV] Increase the number of reserved predefined type IDs

2023-06-19 Thread Roger Ferrer Ibanez via cfe-commits
Author: Roger Ferrer Ibanez Date: 2023-06-19T14:37:46Z New Revision: fa45f81ff7ea9fc2a2a40fea8dd7626ecc3a8dbb URL: https://github.com/llvm/llvm-project/commit/fa45f81ff7ea9fc2a2a40fea8dd7626ecc3a8dbb DIFF:

[clang] bfb7736 - [OpenMP] Fix accidental reuse of VLA size

2021-08-06 Thread Roger Ferrer Ibanez via cfe-commits
Author: Roger Ferrer Ibanez Date: 2021-08-07T05:55:27Z New Revision: bfb77364d0be8a5b159cdcf4eaf8e7a720802e89 URL: https://github.com/llvm/llvm-project/commit/bfb77364d0be8a5b159cdcf4eaf8e7a720802e89 DIFF:

[clang] 2bef1c0 - [OpenMP] Lower taskyield using OpenMP IR Builder

2020-02-14 Thread Roger Ferrer Ibanez via cfe-commits
Author: Roger Ferrer Ibanez Date: 2020-02-14T11:35:17Z New Revision: 2bef1c0e5645639bda1807f7df970da97792b0c8 URL: https://github.com/llvm/llvm-project/commit/2bef1c0e5645639bda1807f7df970da97792b0c8 DIFF:

[clang] a82f35e - [OpenMP] Lower taskwait using OpenMP IR Builder

2020-02-14 Thread Roger Ferrer Ibanez via cfe-commits
Author: Roger Ferrer Ibanez Date: 2020-02-14T09:53:02Z New Revision: a82f35e17621a036cb726244ee5cb9708545fb93 URL: https://github.com/llvm/llvm-project/commit/a82f35e17621a036cb726244ee5cb9708545fb93 DIFF:

r371496 - [RISCV] Make -march=rv{32, 64}gc the default in RISC-V Linux

2019-09-10 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Sep 10 01:16:24 2019 New Revision: 371496 URL: http://llvm.org/viewvc/llvm-project?rev=371496=rev Log: [RISCV] Make -march=rv{32,64}gc the default in RISC-V Linux This is the logical follow-up of D65634. Differential Revision: https://reviews.llvm.org/D66003

r371494 - [RISCV] Default to ilp32d/lp64d in RISC-V Linux

2019-09-10 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Sep 10 00:57:36 2019 New Revision: 371494 URL: http://llvm.org/viewvc/llvm-project?rev=371494=rev Log: [RISCV] Default to ilp32d/lp64d in RISC-V Linux When running clang as a native compiler in RISC-V Linux the flag -mabi=ilp32d / -mabi=lp64d is always mandatory. This

r371492 - [RISCV] Move architecture parsing code into its own function

2019-09-10 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Sep 10 00:47:34 2019 New Revision: 371492 URL: http://llvm.org/viewvc/llvm-project?rev=371492=rev Log: [RISCV] Move architecture parsing code into its own function I plan to reuse it in a later patch. This is almost NFC except a small change in control flow when

r368128 - [RISCV] Remove duplicated logic when determining the target ABI

2019-08-07 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Wed Aug 7 00:08:00 2019 New Revision: 368128 URL: http://llvm.org/viewvc/llvm-project?rev=368128=rev Log: [RISCV] Remove duplicated logic when determining the target ABI We were calculating twice ilp32/lp64. Do this in one place instead. Differential Revision:

r367826 - Sidestep false positive due to a matching git repository name

2019-08-05 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Aug 5 03:09:06 2019 New Revision: 367826 URL: http://llvm.org/viewvc/llvm-project?rev=367826=rev Log: Sidestep false positive due to a matching git repository name I have failures in this test because the grep @b gets confused by the clang version including a

r356981 - [RISCV] Pass -target-abi to -cc1as

2019-03-26 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Mar 26 01:01:18 2019 New Revision: 356981 URL: http://llvm.org/viewvc/llvm-project?rev=356981=rev Log: [RISCV] Pass -target-abi to -cc1as The RISC-V assembler needs the target ABI because it defines a flag of the ELF file, as described in [1]. Make clang (the driver)

r342060 - [RISCV] Explicitly set an empty --sysroot in the test

2018-09-12 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Wed Sep 12 08:55:14 2018 New Revision: 342060 URL: http://llvm.org/viewvc/llvm-project?rev=342060=rev Log: [RISCV] Explicitly set an empty --sysroot in the test In rL341655 we added additional behaviour to the Driver for riscv32-unknown-elf when the sysroot is empty. The

[libcxx] r320363 - [libcxx] Define istream_iterator equality comparison operators out-of-line

2017-12-11 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Dec 11 05:54:58 2017 New Revision: 320363 URL: http://llvm.org/viewvc/llvm-project?rev=320363=rev Log: [libcxx] Define istream_iterator equality comparison operators out-of-line Currently libc++ defines operator== and operator!= as friend functions in the definition of

r320017 - Ignore pointers to incomplete types when diagnosing misaligned addresses

2017-12-07 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Thu Dec 7 01:23:50 2017 New Revision: 320017 URL: http://llvm.org/viewvc/llvm-project?rev=320017=rev Log: Ignore pointers to incomplete types when diagnosing misaligned addresses This is a fix for PR35509 in which we crash because we attempt to compute the alignment of an

[libcxx] r317210 - Mark tests as unsupported in C++98 as well

2017-11-02 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Thu Nov 2 08:01:43 2017 New Revision: 317210 URL: http://llvm.org/viewvc/llvm-project?rev=317210=rev Log: Mark tests as unsupported in C++98 as well Differential Revision: https://reviews.llvm.org/D38362 Modified:

[libcxx] r315570 - Mark test as a long-test

2017-10-12 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Thu Oct 12 01:46:05 2017 New Revision: 315570 URL: http://llvm.org/viewvc/llvm-project?rev=315570=rev Log: Mark test as a long-test Differential Revision: https://reviews.llvm.org/D38452 Modified:

[libcxx] r315278 - Remove unneeded typename from test

2017-10-10 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Oct 10 00:42:19 2017 New Revision: 315278 URL: http://llvm.org/viewvc/llvm-project?rev=315278=rev Log: Remove unneeded typename from test Differential Revision: https://reviews.llvm.org/D38628 Modified:

r304524 - Remove file that I forgot to remove as part of rL304523

2017-06-02 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Fri Jun 2 02:21:27 2017 New Revision: 304524 URL: http://llvm.org/viewvc/llvm-project?rev=304524=rev Log: Remove file that I forgot to remove as part of rL304523 Removed: cfe/trunk/test/CodeGenCXX/unaligned-duplicated-mangle-name.cpp Removed:

r304523 - Mangle __unaligned in Itanium ABI

2017-06-02 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Fri Jun 2 02:14:34 2017 New Revision: 304523 URL: http://llvm.org/viewvc/llvm-project?rev=304523=rev Log: Mangle __unaligned in Itanium ABI __unaligned is not currently mangled in any way in the Itanium ABI. This causes failures when using -fms-extensions and C++ in

r300686 - Avoid assert when a non-static member function is qualified with __unaligned

2017-04-19 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Wed Apr 19 07:23:28 2017 New Revision: 300686 URL: http://llvm.org/viewvc/llvm-project?rev=300686=rev Log: Avoid assert when a non-static member function is qualified with __unaligned Under -fms-extensions __unaligned is a type-qualifier that can be applied to a non-static

r297620 - When diagnosing taking address of packed members skip __unaligned-qualified expressions

2017-03-13 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Mar 13 08:18:21 2017 New Revision: 297620 URL: http://llvm.org/viewvc/llvm-project?rev=297620=rev Log: When diagnosing taking address of packed members skip __unaligned-qualified expressions Given that we have already explicitly stated in the qualifier that the

r297276 - Honor __unaligned in codegen for declarations and expressions

2017-03-08 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Wed Mar 8 08:00:44 2017 New Revision: 297276 URL: http://llvm.org/viewvc/llvm-project?rev=297276=rev Log: Honor __unaligned in codegen for declarations and expressions This patch honors the unaligned type qualifier (currently available through he keyword __unaligned and

r296099 - Fix crash when an incorrect redeclaration only differs in __unaligned type-qualifier

2017-02-24 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Fri Feb 24 02:41:09 2017 New Revision: 296099 URL: http://llvm.org/viewvc/llvm-project?rev=296099=rev Log: Fix crash when an incorrect redeclaration only differs in __unaligned type-qualifier Fix an assertion that is hit when a redeclaration with differing types only

[libcxx] r291550 - Mark tests as unsupported under libcpp-no-exceptions

2017-01-10 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Jan 10 02:48:48 2017 New Revision: 291550 URL: http://llvm.org/viewvc/llvm-project?rev=291550=rev Log: Mark tests as unsupported under libcpp-no-exceptions The destructor of std::promise needs to construct a std::future_error exception so it calls

[libcxx] r288660 - Handle tests for noexcept that expect a false value

2016-12-05 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Dec 5 05:05:09 2016 New Revision: 288660 URL: http://llvm.org/viewvc/llvm-project?rev=288660=rev Log: Handle tests for noexcept that expect a false value Under libcpp-no-exceptions, noexcept is trivially true. Some tests expect in the usual setting to return false, so

[libcxx] r288383 - Protect sequences test under libcpp-no-exceptions

2016-12-01 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Thu Dec 1 11:36:41 2016 New Revision: 288383 URL: http://llvm.org/viewvc/llvm-project?rev=288383=rev Log: Protect sequences test under libcpp-no-exceptions Replace throw with TEST_THROW and protect tests that do throw. Also add missing assert(false). Differential

[libcxx] r288382 - Protect futures test under libcpp-no-exceptions

2016-12-01 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Thu Dec 1 11:34:57 2016 New Revision: 288382 URL: http://llvm.org/viewvc/llvm-project?rev=288382=rev Log: Protect futures test under libcpp-no-exceptions Skip tests that expect an exception be thrown. Differential Revision: https://reviews.llvm.org/D27253 Modified:

[libcxx] r288379 - Protect optional test under libcpp-no-exceptions

2016-12-01 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Thu Dec 1 11:33:36 2016 New Revision: 288379 URL: http://llvm.org/viewvc/llvm-project?rev=288379=rev Log: Protect optional test under libcpp-no-exceptions Replace throw with TEST_THROW and skip tests that throw exceptions Differential Revision:

[libcxx] r288378 - Protect std::ostream::sentry test under libcpp-no-exceptions

2016-12-01 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Thu Dec 1 11:31:38 2016 New Revision: 288378 URL: http://llvm.org/viewvc/llvm-project?rev=288378=rev Log: Protect std::ostream::sentry test under libcpp-no-exceptions Skip test that throws an exception. Differential Revision: https://reviews.llvm.org/D27255 Modified:

[libcxx] r288165 - Protect std::array tests under noexceptions

2016-11-29 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Nov 29 11:10:29 2016 New Revision: 288165 URL: http://llvm.org/viewvc/llvm-project?rev=288165=rev Log: Protect std::array tests under noexceptions Skip tests that expect exceptions be thrown. Also add missing asserts. Differential Revision:

[libcxx] r288158 - Protect std::string tests under libcpp-no-exceptions

2016-11-29 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Nov 29 10:40:19 2016 New Revision: 288158 URL: http://llvm.org/viewvc/llvm-project?rev=288158=rev Log: Protect std::string tests under libcpp-no-exceptions Skip tests that expect an exception be thrown and/or disable unreachable catch handlers. Differential Revision:

[libcxx] r288156 - Protect locale tests under noexceptions

2016-11-29 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Nov 29 10:31:40 2016 New Revision: 288156 URL: http://llvm.org/viewvc/llvm-project?rev=288156=rev Log: Protect locale tests under noexceptions Skip tests that expect exceptions be thrown. Differential Revision: https://reviews.llvm.org/D27096 Modified:

[libcxx] r288157 - Protect std::{, unordered_}map tests under noexceptions

2016-11-29 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Nov 29 10:37:48 2016 New Revision: 288157 URL: http://llvm.org/viewvc/llvm-project?rev=288157=rev Log: Protect std::{,unordered_}map tests under noexceptions Skip tests that use exceptions Differential Revision: https://reviews.llvm.org/D27093 Modified:

[libcxx] r288155 - Protect test for dynarray under libcpp-no-exceptions

2016-11-29 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Nov 29 10:27:45 2016 New Revision: 288155 URL: http://llvm.org/viewvc/llvm-project?rev=288155=rev Log: Protect test for dynarray under libcpp-no-exceptions This test expects an exception be thrown. Differential Revision: https://reviews.llvm.org/D26611 Modified:

[PATCH] D27095: Protect std::array tests under noexceptions

2016-11-24 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: mclow.lists, EricWF, rmaprath. rogfer01 added a subscriber: cfe-commits. Skip tests that expect exceptions be thrown. https://reviews.llvm.org/D27095 Files: test/std/containers/sequences/array/at.pass.cpp Index:

[PATCH] D27093: Protect std::{, unordered_}map tests under noexceptions

2016-11-24 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: mclow.lists, EricWF, rmaprath. rogfer01 added a subscriber: cfe-commits. Skip tests that use exceptions https://reviews.llvm.org/D27093 Files: test/std/containers/associative/map/map.access/at.pass.cpp

[PATCH] D26608: Protect std::string tests under libcpp-no-exceptions

2016-11-24 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 reopened this revision. rogfer01 added a comment. This revision is now accepted and ready to land. Somehow I managed to get this wrong. The right review is in https://reviews.llvm.org/D26612 Repository: rL LLVM https://reviews.llvm.org/D26608

[libcxx] r287868 - Reverting wrong diff

2016-11-24 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Thu Nov 24 05:28:02 2016 New Revision: 287868 URL: http://llvm.org/viewvc/llvm-project?rev=287868=rev Log: Reverting wrong diff I managed to confuse me with two reviews of the same thing and ended commiting the wrong one. Modified:

[libcxx] r287866 - Protect tests for std::uninitialized_{copy, fill} under libcpp-no-exceptions

2016-11-24 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Thu Nov 24 05:17:09 2016 New Revision: 287866 URL: http://llvm.org/viewvc/llvm-project?rev=287866=rev Log: Protect tests for std::uninitialized_{copy,fill} under libcpp-no-exceptions Skip tests that expect an exception be thrown. Differential Revision:

[libcxx] r287865 - Protect std::string tests under libcpp-no-exceptions

2016-11-24 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Thu Nov 24 05:15:09 2016 New Revision: 287865 URL: http://llvm.org/viewvc/llvm-project?rev=287865=rev Log: Protect std::string tests under libcpp-no-exceptions Skip tests that expect an exception be thrown and/or disable unreachable catch handlers. Differential Revision:

[PATCH] D26608: Protect std::string tests under libcpp-no-exceptions

2016-11-24 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL287865: Protect std::string tests under libcpp-no-exceptions (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26608?vs=77805=79206#toc Repository: rL LLVM

[PATCH] D26611: Protect test for dynarray under libcpp-no-exceptions

2016-11-24 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added a comment. Ping? https://reviews.llvm.org/D26611 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D26612: Protect std::string tests under libcpp-no-exceptions

2016-11-24 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added a comment. Ping? https://reviews.llvm.org/D26612 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D26606: Protect tests for std::uninitialized_{copy, fill} under libcpp-no-exceptions

2016-11-21 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added a comment. Ping? :) https://reviews.llvm.org/D26606 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D23325: [WIP] Binding of references to packed fields

2016-11-16 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated this revision to Diff 78209. rogfer01 added a comment. Changes: - Rebase patch to trunk - Fixes as pointed out by reviewers TODO: - Diagnose and drop the packed attribute of a class with a nontrivially constructed data member. https://reviews.llvm.org/D23325 Files:

[PATCH] D23325: [WIP] Binding of references to packed fields

2016-11-16 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 marked 15 inline comments as done. rogfer01 added a comment. I am retaking this, will upload an updated patch soon. Comment at: lib/AST/Decl.cpp:3523 + return !isBitField() && + (this->hasAttr() || getParent()->hasAttr()) && +

[PATCH] D23325: [WIP] Binding of references to packed fields

2016-11-16 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added inline comments. Comment at: include/clang/Basic/Specifiers.h:119-140 enum ExprObjectKind { /// An ordinary object is located at an address in memory. OK_Ordinary, /// A bitfield object is a bitfield on a C or C++ record. OK_BitField,

[PATCH] D26612: Protect std::string tests under libcpp-no-exceptions

2016-11-15 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated this revision to Diff 78012. rogfer01 added a comment. Restructure to minimize code duplication. https://reviews.llvm.org/D26612 Files: test/std/strings/basic.string/string.capacity/capacity.pass.cpp test/std/strings/basic.string/string.ops/string_substr/substr.pass.cpp

[PATCH] D26612: Protect std::string tests under libcpp-no-exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: EricWF, mclow.lists, rmaprath. rogfer01 added a subscriber: cfe-commits. Skip tests that expect an exception be thrown and/or disable unreachable catch handlers. https://reviews.llvm.org/D26612 Files:

[PATCH] D26608: Protect std::string tests under libcpp-no-exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: EricWF, mclow.lists, rmaprath. rogfer01 added a subscriber: cfe-commits. Skip tests that expect an exception be thrown and/or disable unreachable catch handlers. https://reviews.llvm.org/D26608 Files:

[PATCH] D26606: Protect tests for std::uninitialized_{copy, fill} under libcpp-no-exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: EricWF, mclow.lists, rmaprath. rogfer01 added a subscriber: cfe-commits. Skip tests that expect an exception be thrown. https://reviews.llvm.org/D26606 Files:

[libcxx] r286823 - Protect std::ios tests under libcpp-no-exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Nov 14 07:44:50 2016 New Revision: 286823 URL: http://llvm.org/viewvc/llvm-project?rev=286823=rev Log: Protect std::ios tests under libcpp-no-exceptions Skip tests that expect an exception be thrown. Also add some missing asserts in the original test. Differential

[PATCH] D26512: Protect std::ios tests under libcpp-no-exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL286823: Protect std::ios tests under libcpp-no-exceptions (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26512?vs=77789=77797#toc Repository: rL LLVM

[PATCH] D26512: Protect std::ios tests under libcpp-no-exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated this revision to Diff 77789. rogfer01 added a comment. Add missing asserts as pointed out by @EricWF https://reviews.llvm.org/D26512 Files: test/std/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp

[libcxx] r286813 - Protect nested-exceptions tests under no-exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Nov 14 05:00:28 2016 New Revision: 286813 URL: http://llvm.org/viewvc/llvm-project?rev=286813=rev Log: Protect nested-exceptions tests under no-exceptions Differential Revision: https://reviews.llvm.org/D26458 Modified:

[PATCH] D26458: Protect nested-exceptions tests under no-exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL286813: Protect nested-exceptions tests under no-exceptions (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26458?vs=77363=77782#toc Repository: rL LLVM

[PATCH] D26139: Tests for strings conversions under libcpp-no-exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL286812: Update tests for strings conversions under libcpp-no-exceptions (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26139?vs=76373=9#toc Repository: rL LLVM

[libcxx] r286812 - Update tests for strings conversions under libcpp-no-exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Nov 14 04:44:26 2016 New Revision: 286812 URL: http://llvm.org/viewvc/llvm-project?rev=286812=rev Log: Update tests for strings conversions under libcpp-no-exceptions Differential Revision: https://reviews.llvm.org/D26139 Modified:

[libcxx] r286809 - Protect smart-pointer tests under no exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Nov 14 04:27:56 2016 New Revision: 286809 URL: http://llvm.org/viewvc/llvm-project?rev=286809=rev Log: Protect smart-pointer tests under no exceptions Skip tests that expect an exception be thrown under no-exceptions. Differential Revision:

[PATCH] D26457: Protect smart-pointer tests under no exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL286809: Protect smart-pointer tests under no exceptions (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26457?vs=77361=8#toc Repository: rL LLVM

[PATCH] D26457: Protect smart-pointer tests under no exceptions

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added a comment. Ping? :) https://reviews.llvm.org/D26457 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D23657: Remove some false positives when taking the address of packed members

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL286798: Remove some false positives when taking the address of packed members (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D23657?vs=77498=3#toc Repository: rL LLVM

r286798 - Remove some false positives when taking the address of packed members

2016-11-14 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Nov 14 02:53:27 2016 New Revision: 286798 URL: http://llvm.org/viewvc/llvm-project?rev=286798=rev Log: Remove some false positives when taking the address of packed members Differential Revision: https://reviews.llvm.org/D23657 Modified:

[PATCH] D26139: Tests for strings conversions under libcpp-no-exceptions

2016-11-11 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added a comment. I'd rather not to go the way of `TEST_TRY` and `TEST_CASE` macros. As suggested by @rmaprath, I've been playing with grouping the tests in three categories: no exceptions (at all), should not throw, must throw. No changes are required for the first group. The third

[PATCH] D26512: Protect std::ios tests under libcpp-no-exceptions

2016-11-10 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added inline comments. Comment at: test/std/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp:171-173 +#else +ios1.copyfmt(ios2); +#endif This is a bit unexpected. It looks like if the copyfmt, even if it throws, were able to copy

[PATCH] D26512: Protect std::ios tests under libcpp-no-exceptions

2016-11-10 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: EricWF, mclow.lists, rmaprath. rogfer01 added a subscriber: cfe-commits. Skip tests that expect an exception be thrown. https://reviews.llvm.org/D26512 Files: test/std/input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp

[PATCH] D26458: Protect nested-exceptions tests under no-exceptions

2016-11-10 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added a comment. @rmaprath well each case is testing a different special member: the assignment operator, the copy constructor and the default constructor. My feeling is that at least the non-throwing part must be tested under no-exceptions. But I understand, that this class is

[libcxx] r286474 - Protect bitset tests under libcpp-no-exceptions

2016-11-10 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Thu Nov 10 10:54:55 2016 New Revision: 286474 URL: http://llvm.org/viewvc/llvm-project?rev=286474=rev Log: Protect bitset tests under libcpp-no-exceptions Bitset tests feature a sequence of tests of increasing bitset sizes, but these tests rely on exceptions when the

[PATCH] D26458: Protect nested-exceptions tests under no-exceptions

2016-11-09 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: mclow.lists, EricWF, rmaprath. rogfer01 added a subscriber: cfe-commits. Skip tests that expect an exception be thrown. https://reviews.llvm.org/D26458 Files: test/std/language.support/support.exception/except.nested/assign.pass.cpp

[PATCH] D26457: Protect smart-pointer tests under no exceptions

2016-11-09 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: EricWF, rmaprath, mclow.lists. rogfer01 added a subscriber: cfe-commits. Skip tests that expect an exception be thrown under no-exceptions. https://reviews.llvm.org/D26457 Files:

[PATCH] D26142: Protect std::experimental::optional tests under libcpp-no-exceptions

2016-11-07 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL286099: Protect std::experimental::optional tests under libcpp-no-exceptions (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26142?vs=77018=77019#toc Repository: rL LLVM

[libcxx] r286099 - Protect std::experimental::optional tests under libcpp-no-exceptions

2016-11-07 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Nov 7 02:23:59 2016 New Revision: 286099 URL: http://llvm.org/viewvc/llvm-project?rev=286099=rev Log: Protect std::experimental::optional tests under libcpp-no-exceptions In these tests there are some paths that explicitly throw, so use the TEST_THROW macro that was

[PATCH] D26142: Protect std::experimental::optional tests under libcpp-no-exceptions

2016-11-07 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated this revision to Diff 77018. rogfer01 added a comment. Updated with changes suggested by @EricWF https://reviews.llvm.org/D26142 Files: test/std/experimental/optional/optional.object/optional.object.assign/copy.pass.cpp

[PATCH] D23657: Remove some false positives when taking the address of packed members

2016-11-03 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added a comment. Ping? :) https://reviews.llvm.org/D23657 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] r285792 - Remove spurious token from #endif

2016-11-02 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Wed Nov 2 03:36:43 2016 New Revision: 285792 URL: http://llvm.org/viewvc/llvm-project?rev=285792=rev Log: Remove spurious token from #endif Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp

[PATCH] D26197: Protect tests for new/delete under libcpp-no-exceptions

2016-11-02 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL285791: Protect tests for new/delete under libcpp-no-exceptions (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26197?vs=76575=76675#toc Repository: rL LLVM

[libcxx] r285791 - Protect tests for new/delete under libcpp-no-exceptions

2016-11-02 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Wed Nov 2 03:14:57 2016 New Revision: 285791 URL: http://llvm.org/viewvc/llvm-project?rev=285791=rev Log: Protect tests for new/delete under libcpp-no-exceptions Skip the tests that expect an exception be thrown and protect unreachable catch blocks. Differential

[PATCH] D26197: Protect tests for new/delete under libcpp-no-exceptions

2016-11-01 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: EricWF, mclow.lists, rmaprath. rogfer01 added a subscriber: cfe-commits. Skip the tests that expect an exception be thrown and protect unreachable catch blocks. https://reviews.llvm.org/D26197 Files:

[PATCH] D26136: Protect exceptional path under libcpp-no-exceptions

2016-11-01 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL285697: Protect exceptional paths under libcpp-no-exceptions (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26136?vs=76566=76567#toc Repository: rL LLVM

[libcxx] r285697 - Protect exceptional paths under libcpp-no-exceptions

2016-11-01 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Nov 1 10:46:16 2016 New Revision: 285697 URL: http://llvm.org/viewvc/llvm-project?rev=285697=rev Log: Protect exceptional paths under libcpp-no-exceptions These tests are of the form try { action-that-may-throw assert(!exceptional-condition)

[PATCH] D26136: Protect exceptional path under libcpp-no-exceptions

2016-11-01 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated this revision to Diff 76566. rogfer01 added a comment. Const-ify variables. https://reviews.llvm.org/D26136 Files: test/std/strings/basic.string/string.access/at.pass.cpp test/std/strings/basic.string/string.capacity/reserve.pass.cpp

[PATCH] D26184: Protect lock tests under libcpp-no-exceptions

2016-11-01 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL285695: Protect lock tests under libcpp-no-exceptions (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26184?vs=76545=76559#toc Repository: rL LLVM

[libcxx] r285695 - Protect lock tests under libcpp-no-exceptions

2016-11-01 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Nov 1 10:00:16 2016 New Revision: 285695 URL: http://llvm.org/viewvc/llvm-project?rev=285695=rev Log: Protect lock tests under libcpp-no-exceptions Skip tests that expect an exception to be thrown. Differential Revision: https://reviews.llvm.org/D26184 Modified:

[PATCH] D26184: Protect lock tests under libcpp-no-exceptions

2016-11-01 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: rmaprath, mclow.lists, EricWF. rogfer01 added a subscriber: cfe-commits. Skip tests that expect an exception to be thrown. https://reviews.llvm.org/D26184 Files: test/std/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp

[PATCH] D26136: Protect exceptional path under libcpp-no-exceptions

2016-11-01 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated the summary for this revision. rogfer01 updated this revision to Diff 76532. rogfer01 added a comment. Update tests following Marshall's suggestion to avoid too much code duplication. Also add assert(false) after the throwing action to ensure that the expected exception is

[PATCH] D26141: Protect tests that expect an exception for an unknown std::random_device

2016-11-01 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL285677: Protect tests that expect an exception for an unknown std::random_device (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26141?vs=76378=76527#toc Repository: rL

[libcxx] r285677 - Protect tests that expect an exception for an unknown std::random_device

2016-11-01 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Tue Nov 1 03:11:12 2016 New Revision: 285677 URL: http://llvm.org/viewvc/llvm-project?rev=285677=rev Log: Protect tests that expect an exception for an unknown std::random_device Skip these tests under libcpp-no-exceptions. Differential Revision:

[PATCH] D26147: Fix archetypes.hpp under libcpp-no-extensions and std level < 14

2016-10-31 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL285572: Fix archetypes.hpp under libcpp-no-extensions and std level < 14 (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26147?vs=76393=76399#toc Repository: rL LLVM

[libcxx] r285572 - Fix archetypes.hpp under libcpp-no-extensions and std level < 14

2016-10-31 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Oct 31 09:14:13 2016 New Revision: 285572 URL: http://llvm.org/viewvc/llvm-project?rev=285572=rev Log: Fix archetypes.hpp under libcpp-no-extensions and std level < 14 Under -fno-exceptions TEST_THROW becomes abort / __builtin_abort which returns void. This causes a

[PATCH] D26147: Fix archetypes.hpp under libcpp-no-extensions and std level < 14

2016-10-31 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: EricWF, mclow.lists, rmaprath. rogfer01 added a subscriber: cfe-commits. Under -fno-exceptions TEST_THROW becomes abort / __builtin_abort which returns void. This causes a type mismatch in the conditional operator when testing the

[PATCH] D26142: Protect std::experimental::optional tests under libcpp-no-exceptions

2016-10-31 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: mclow.lists, EricWF, rmaprath. rogfer01 added a subscriber: cfe-commits. In these tests there are some paths that explicitly throw, so use the TEST_THROW macro that was proposed for this and then skip the tests that may enter the throwing

[PATCH] D26141: Protect tests that expect an exception for an unknown std::random_device

2016-10-31 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: mclow.lists, EricWF, rmaprath. rogfer01 added a subscriber: cfe-commits. Skip these tests under libcpp-no-exceptions. https://reviews.llvm.org/D26141 Files: test/std/numerics/rand/rand.device/ctor.pass.cpp

[PATCH] D26139: Tests for strings conversions under libcpp-no-exceptions

2016-10-31 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: mclow.lists, EricWF, rmaprath. rogfer01 added a subscriber: cfe-commits. These files have two styles of tests // First style try { action assert(something-expected); } catch ( exception ) { assert(false); } //

[PATCH] D26136: Protect exceptional path under libcpp-no-exceptions

2016-10-31 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added inline comments. Comment at: test/std/strings/basic.string/string.access/at.pass.cpp:41 +const S& cs = s; +if (pos < cs.size()) +{ rmaprath wrote: > For the cases where an exception //should've been// thrown, are we not > entering the

[PATCH] D26075: Change from "XFAIL: libcpp-no-exceptions" to "UNSUPPORTED: libcpp-no-exceptions" tests that only check exceptions and nothing else

2016-10-31 Thread Roger Ferrer Ibanez via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL285550: Change from "XFAIL: libcpp-no-exceptions" to "UNSUPPORTED: libcpp-no… (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26075?vs=76190=76360#toc Repository: rL LLVM

[libcxx] r285550 - Change from "XFAIL: libcpp-no-exceptions" to "UNSUPPORTED: libcpp-no-exceptions" tests that only check exceptions and nothing else

2016-10-31 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Mon Oct 31 03:47:53 2016 New Revision: 285550 URL: http://llvm.org/viewvc/llvm-project?rev=285550=rev Log: Change from "XFAIL: libcpp-no-exceptions" to "UNSUPPORTED: libcpp-no-exceptions" tests that only check exceptions and nothing else This is a follow up of D24562.

[PATCH] D23657: Remove some false positives when taking the address of packed members

2016-10-28 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added a comment. Ping? https://reviews.llvm.org/D23657 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D26075: Change from "XFAIL: libcpp-no-exceptions" to "UNSUPPORTED: libcpp-no-exceptions" tests that only check exceptions and nothing else

2016-10-28 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: rmaprath, EricWF, mclow.lists. rogfer01 added a subscriber: cfe-commits. This is a follow up of https://reviews.llvm.org/D24562. These tests do not check anything but exceptions, so it makes sense to mark them as UNSUPPORTED under a

[PATCH] D23657: Remove some false positives when taking the address of packed members

2016-10-21 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated this revision to Diff 75395. rogfer01 added a comment. Mark comment as TODO https://reviews.llvm.org/D23657 Files: include/clang/Sema/Sema.h lib/Sema/SemaChecking.cpp test/Sema/address-packed.c Index: test/Sema/address-packed.c

[PATCH] D23657: Remove some false positives when taking the address of packed members

2016-10-18 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated this revision to Diff 75007. rogfer01 added a comment. Ignore cases where the innermost base expression is too complicated for the scope of this patch. https://reviews.llvm.org/D23657 Files: include/clang/Sema/Sema.h lib/Sema/SemaChecking.cpp test/Sema/address-packed.c

  1   2   >