[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&view=rev Log: Remove unneeded typename from test Differential Revision: https://reviews.llvm.org/D38628 Modified: libcxx/trunk/test/std/utilities/utility/pairs/pair.astu

[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&view=rev Log: Mark test as a long-test Differential Revision: https://reviews.llvm.org/D38452 Modified: libcxx/trunk/test/std/input.output/stream.buffers/streambuf/strea

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&view=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.

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&view=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 t

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&view=rev Log: Remove file that I forgot to remove as part of rL304523 Removed: cfe/trunk/test/CodeGenCXX/unaligned-duplicated-mangle-name.cpp Removed: cfe/trunk/test/Code

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&view=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 driv

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&view=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 repo

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&view=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: https:

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&view=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 d

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&view=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. T

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&view=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 Modi

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

2016-09-23 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] D23657: Remove some false positives when taking the address of packed members

2016-09-30 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

RE: r278483 - This patch implements PR#22821.

2016-10-03 Thread Roger Ferrer Ibanez via cfe-commits
Aug 12, 2016 at 08:04:13AM -, Roger Ferrer Ibanez via cfe- > commits wrote: > > > Author: rogfer01 > > > Date: Fri Aug 12 03:04:13 2016 > > > New Revision: 278483 > > > > > > URL: http://llvm.org/viewvc/llvm-project?rev=278483&view=rev > &

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

2016-10-04 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated this revision to Diff 73466. rogfer01 added a comment. Change algorithm following @rsmith suggestions by computing the offset of the whole access and compare it against the expected alignment, so reduced aligned structs inside overaligned structs does not yield a warning. Also

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

2016-10-04 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added a comment. @arphaman thanks for the testcase! Will do. 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] D23657: Remove some false positives when taking the address of packed members

2016-10-14 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated this revision to Diff 74638. rogfer01 added a comment. Updated patch, now we check if the innermost base of a MemberExpr is a DeclRefExpr and check for its declaration in case it provides stronger alignment guarantees. https://reviews.llvm.org/D23657 Files: include/clang/Se

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&view=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 o

[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&view=rev Log: [libcxx] Define istream_iterator equality comparison operators out-of-line Currently libc++ defines operator== and operator!= as friend functions in the definitio

[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: https://github.com/llvm/llvm-project/commit/bfb77364d0be8a5b159cdcf4eaf8e7a720802e89.diff

[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: https://github.com/llvm/llvm-project/commit/31747668325227013e4cdd2c7aa185110485.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: https://github.com/llvm/llvm-project/commit/a82f35e17621a036cb726244ee5cb9708545fb93.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: https://github.com/llvm/llvm-project/commit/2bef1c0e5645639bda1807f7df970da97792b0c8.diff

[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&view=rev Log: Mark tests as unsupported in C++98 as well Differential Revision: https://reviews.llvm.org/D38362 Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/exp

[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: https://github.com/llvm/llvm-project/commit/fa45f81ff7ea9fc2a2a40fea8dd7626ecc3a8dbb.diff

[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&view=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 std::make_excepti

r278908 - Add missing tests

2016-08-17 Thread Roger Ferrer Ibanez via cfe-commits
Author: rogfer01 Date: Wed Aug 17 01:52:15 2016 New Revision: 278908 URL: http://llvm.org/viewvc/llvm-project?rev=278908&view=rev Log: Add missing tests Change r278483 was missing the tests Differential Revision: https://reviews.llvm.org/D20561 Added: cfe/trunk/test/Sema/address-packed-mem

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

2016-08-18 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 created this revision. rogfer01 added reviewers: aaron.ballman, rsmith. rogfer01 added a subscriber: cfe-commits. This change remove some false positives when taking the address of packed members. - It silences the warning when a cast to uintptr_t/intptr_t happens. - If the field is in

RE: r278483 - This patch implements PR#22821.

2016-08-23 Thread Roger Ferrer Ibanez via cfe-commits
i, Aug 12, 2016 at 4:04 AM, Roger Ferrer Ibanez via cfe-commits mailto:cfe-commits@lists.llvm.org>> wrote: Author: rogfer01 Date: Fri Aug 12 03:04:13 2016 New Revision: 278483 URL: http://llvm.org/viewvc/llvm-project?rev=278483&view=rev Log: This patch implements PR#22821. Taking the address

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

2016-08-23 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added a comment. Hi, this is a friendly ping. Thank you! :) https://reviews.llvm.org/D23657 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2016-09-01 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated this revision to Diff 69968. rogfer01 added a comment. Skip the check if the field is already aligned to 1. https://reviews.llvm.org/D23657 Files: lib/Sema/SemaChecking.cpp test/Sema/address-packed.c Index: test/Sema/address-packed.c ===

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

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

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

2016-09-16 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 added a comment. This is a friendly ping :) Thank you very much! https://reviews.llvm.org/D23657 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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&view=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

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&view=rev Log: Honor __unaligned in codegen for declarations and expressions This patch honors the unaligned type qualifier (currently available through he keyword __unaligned a

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&view=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 ex

[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 I

[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] 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()) && + Context.getDeclAlign(this

[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: includ

[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] 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] 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&id=79206#toc Repository: rL LLVM https://review

[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&view=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 Revisi

[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&view=rev Log: Protect tests for std::uninitialized_{copy,fill} under libcpp-no-exceptions Skip tests that expect an exception be thrown. Differential Revision: https://reviews

[PATCH] D26606: Protect tests for std::uninitialized_{copy, fill} 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 rL287866: Protect tests for std::uninitialized_{copy,fill} under libcpp-no-exceptions (authored by rogfer01). Changed prior to commit: https://reviews.llvm.org/D26606?vs=77802&id=79207#toc Repository:

[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&view=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/trunk/test/std/strings/

[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 _

[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 test/std/containers/unord/unord

[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: test/std/containers/s

[PATCH] D27096: Protect locale 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/D27096 Files: test/std/localization/locales/locale.convenience/conversions/conversions.stri

[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&view=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:

[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&view=rev Log: Protect std::{,unordered_}map tests under noexceptions Skip tests that use exceptions Differential Revision: https://reviews.llvm.org/D27093 Modified: libc

[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&view=rev Log: Protect locale tests under noexceptions Skip tests that expect exceptions be thrown. Differential Revision: https://reviews.llvm.org/D27096 Modified: libc

[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&view=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 Revisi

[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&view=rev Log: Protect std::array tests under noexceptions Skip tests that expect exceptions be thrown. Also add missing asserts. Differential Revision: https://reviews.llvm.or

[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&view=rev Log: Protect std::ostream::sentry test under libcpp-no-exceptions Skip test that throws an exception. Differential Revision: https://reviews.llvm.org/D27255 Modifie

[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&view=rev Log: Protect optional test under libcpp-no-exceptions Replace throw with TEST_THROW and skip tests that throw exceptions Differential Revision: https://reviews.llvm.o

[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&view=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] 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&view=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 Re

[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&view=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

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&view=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-st

[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

[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] 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 libra

[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

[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&view=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] 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&id=76360#toc Repository: rL LLV

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

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. This is another followup of https://reviews.llvm.org/D24562 These tests are of the form try { action-that-may-throw assert(!exceptional-condition) a

[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] 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); } // Seco

[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 test/std/numerics/rand/rand

[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 p

[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 library

[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&view=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

[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&id=76399#toc Repository: rL LLVM ht

[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&id=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&view=rev Log: Protect tests that expect an exception for an unknown std::random_device Skip these tests under libcpp-no-exceptions. Differential Revision: https://reviews.llvm

[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 actua

[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 test/s

[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&id=76559#toc Repository: rL LLVM https://reviews.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&view=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 Modifie

[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 test/std/strings/basic.string/string.c

[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&view=rev Log: Protect exceptional paths under libcpp-no-exceptions These tests are of the form try { action-that-may-throw assert(!exceptional-condition) assert(some-

[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&id=76567#toc Repository: rL LLVM https://review

[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: test/std/language.support/support

[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&view=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 Rev

[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&id=76675#toc Repository: rL LLVM https://rev

[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&view=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 M

[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

[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 test/std/experimental/optional/optional.object/optio

[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&view=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 w

[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&id=77019#toc Repository: rL LLVM

[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: test/std/utilities/memory/util.smartptr/util.smartptr.s

[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] D23657: Remove some false positives when taking the address of packed members

2016-11-10 Thread Roger Ferrer Ibanez via cfe-commits
rogfer01 updated this revision to Diff 77498. rogfer01 added a comment. - Address comments. - Rebase test with current trunk - Make the check resilient under errors If no comments arise from this change I will be commiting it Monday next week. https://reviews.llvm.org/D23657 Files: include/c

[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&view=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 b

[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 probabl

[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

  1   2   >