r361120 - Fix buildbot: Use correct Consume*() for braces.

2019-05-19 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Sun May 19 08:30:00 2019 New Revision: 361120 URL: http://llvm.org/viewvc/llvm-project?rev=361120&view=rev Log: Fix buildbot: Use correct Consume*() for braces. Modified: cfe/trunk/lib/Parse/ParseExprCXX.cpp Modified: cfe/trunk/lib/Parse/ParseExprCXX.cpp URL: http:/

r361119 - Added a better diagnostic when using the delete operator with lambdas

2019-05-19 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Sun May 19 08:07:58 2019 New Revision: 361119 URL: http://llvm.org/viewvc/llvm-project?rev=361119&view=rev Log: Added a better diagnostic when using the delete operator with lambdas Summary: This adds a new error for missing parentheses around lambdas in delete operators

r359980 - [clang] fixing -ast-print for variadic parameter pack in lambda capture

2019-05-05 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Sun May 5 05:35:12 2019 New Revision: 359980 URL: http://llvm.org/viewvc/llvm-project?rev=359980&view=rev Log: [clang] fixing -ast-print for variadic parameter pack in lambda capture Summary: currently for: ``` template void f(T... t) { auto l = [t...]{}; } ``` `clang

r359979 - [C++] Interpret unknown identifier in parameter clause as unknown type

2019-05-05 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Sun May 5 05:15:17 2019 New Revision: 359979 URL: http://llvm.org/viewvc/llvm-project?rev=359979&view=rev Log: [C++] Interpret unknown identifier in parameter clause as unknown type instead of as parameter name without a type. Modified: cfe/trunk/lib/Parse/ParseDecl

r359968 - [NFC] Add parentheses to avoid -Wparentheses.

2019-05-04 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Sat May 4 04:28:11 2019 New Revision: 359968 URL: http://llvm.org/viewvc/llvm-project?rev=359968&view=rev Log: [NFC] Add parentheses to avoid -Wparentheses. Modified: cfe/trunk/lib/Parse/ParseDecl.cpp Modified: cfe/trunk/lib/Parse/ParseDecl.cpp URL: http://llvm.org

[libunwind] r358301 - [NFC] Move the export attribute after extern "C".

2019-04-12 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Fri Apr 12 11:34:19 2019 New Revision: 358301 URL: http://llvm.org/viewvc/llvm-project?rev=358301&view=rev Log: [NFC] Move the export attribute after extern "C". Not all compilers support attributes before `extern "C"`. gcc is the main one that doesn't support it. Modifi

r352323 - [SemaCXX] Fix ICE with structure bindings to members of template

2019-01-27 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Sun Jan 27 11:19:59 2019 New Revision: 352323 URL: http://llvm.org/viewvc/llvm-project?rev=352323&view=rev Log: [SemaCXX] Fix ICE with structure bindings to members of template Summary: Trying to use structure binding with a structure that doesn't implement std::tuple_siz

r350874 - Fix false positive unsequenced access and modification warning in array subscript expression.

2019-01-10 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Thu Jan 10 11:03:33 2019 New Revision: 350874 URL: http://llvm.org/viewvc/llvm-project?rev=350874&view=rev Log: Fix false positive unsequenced access and modification warning in array subscript expression. Summary: In the [expr.sub] p1, we can read that for a given E1[E2

r345308 - [C++17] Reject shadowing of capture by parameter in lambda

2018-10-25 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Thu Oct 25 13:15:03 2018 New Revision: 345308 URL: http://llvm.org/viewvc/llvm-project?rev=345308&view=rev Log: [C++17] Reject shadowing of capture by parameter in lambda Summary: This change rejects the shadowing of a capture by a parameter in lambdas in C++17. ``` int

r345303 - Rebase defect report list.

2018-10-25 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Thu Oct 25 12:27:57 2018 New Revision: 345303 URL: http://llvm.org/viewvc/llvm-project?rev=345303&view=rev Log: Rebase defect report list. Modified: cfe/trunk/www/cxx_dr_status.html Modified: cfe/trunk/www/cxx_dr_status.html URL: http://llvm.org/viewvc/llvm-project/

r338801 - Fold two cast plus a cast in a loop into a variable.

2018-08-02 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Thu Aug 2 18:24:52 2018 New Revision: 338801 URL: http://llvm.org/viewvc/llvm-project?rev=338801&view=rev Log: Fold two cast plus a cast in a loop into a variable. This avoids to recast `Record` multiple times. Modified: cfe/trunk/lib/Sema/SemaDecl.cpp Modified: cf

r338170 - Parse a possible trailing postfix expression suffix after a fold expression

2018-07-27 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Fri Jul 27 14:55:12 2018 New Revision: 338170 URL: http://llvm.org/viewvc/llvm-project?rev=338170&view=rev Log: Parse a possible trailing postfix expression suffix after a fold expression Summary: This patch allows the parsing of a postfix expression involving a fold exp

r337017 - Fix PR34668 - P0704R1 implementation is too permissive

2018-07-13 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Fri Jul 13 09:27:45 2018 New Revision: 337017 URL: http://llvm.org/viewvc/llvm-project?rev=337017&view=rev Log: Fix PR34668 - P0704R1 implementation is too permissive Summary: https://bugs.llvm.org/show_bug.cgi?id=34668 Pretty straightforward. Reviewers: rsmith, Rakete1

r336922 - [C++11] Fix warning when dropping cv-qualifiers when assigning to a reference with a braced initializer list

2018-07-12 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Thu Jul 12 10:43:49 2018 New Revision: 336922 URL: http://llvm.org/viewvc/llvm-project?rev=336922&view=rev Log: [C++11] Fix warning when dropping cv-qualifiers when assigning to a reference with a braced initializer list Modified: cfe/trunk/lib/Sema/SemaInit.cpp

r336930 - [C++17] Disallow lambdas in template parameters (PR33696).

2018-07-12 Thread Nicolas Lesser via cfe-commits
Author: rakete Date: Thu Jul 12 11:45:41 2018 New Revision: 336930 URL: http://llvm.org/viewvc/llvm-project?rev=336930&view=rev Log: [C++17] Disallow lambdas in template parameters (PR33696). Summary: This revision disallows lambdas in template parameters, as reported in PR33696. Reviewers:

Re: [PATCH] D39360: [C++11] Don't put empty quotes in static_assert diagnostic.

2017-11-12 Thread Nicolas Lesser via cfe-commits
Agreed! Just wanted to do it but then I noticed that there's already one that landed in r307791! :) On Sun, Oct 29, 2017 at 2:06 PM, Kim Gräsman wrote: > A clang-tidy check to remove empty messages from source would be nice, > though... > > - Kim > > Den 27 okt. 2017 10:24 fm skrev "Nicolas Less

Re: [PATCH] D38342: [C++] Parse (sub) postfix expression after boolean literal

2017-09-28 Thread Nicolas Lesser via cfe-commits
Yeah, I hang out there :) Will do for sure ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits