[clang] 7ef45f4 - P1957R2: conversion from a pointer to bool is considered narrowing.

2020-02-11 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-02-11T06:52:44-08:00 New Revision: 7ef45f45f6721af4942f0e0bc38329e236b468cd URL: https://github.com/llvm/llvm-project/commit/7ef45f45f6721af4942f0e0bc38329e236b468cd DIFF: https://github.com/llvm/llvm-project/commit/7ef45f45f6721af4942f0e0bc38329e236b468cd.diff

[clang] 9ce6dc9 - CWG1423: don't permit implicit conversion of nullptr_t to bool.

2020-02-11 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-02-11T06:52:45-08:00 New Revision: 9ce6dc9872be4081fb98f6161c28581e1cbbe7dc URL: https://github.com/llvm/llvm-project/commit/9ce6dc9872be4081fb98f6161c28581e1cbbe7dc DIFF: https://github.com/llvm/llvm-project/commit/9ce6dc9872be4081fb98f6161c28581e1cbbe7dc.diff

Re: [clang] 0130b6c - Don't assume a reference refers to at least sizeof(T) bytes.

2020-02-12 Thread Richard Smith via cfe-commits
wrote: > Should this be cherry-picked to 10.0? > > On 1/31/20, 7:09 PM, "cfe-commits on behalf of Richard Smith via > cfe-commits" cfe-commits@lists.llvm.org> wrote: > > > Author: Richard Smith > Date: 2020-01-31T19:08:17-08:00 > New Revisi

[clang] c1394af - Don't call memcpy(p, 0, 0).

2020-02-13 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-02-13T00:51:12-08:00 New Revision: c1394afb8df6445b46f42546588f59668bd39ac6 URL: https://github.com/llvm/llvm-project/commit/c1394afb8df6445b46f42546588f59668bd39ac6 DIFF: https://github.com/llvm/llvm-project/commit/c1394afb8df6445b46f42546588f59668bd39ac6.diff

Re: [clang] 0e3a487 - PR12350: Handle remaining cases permitted by CWG DR 244.

2020-02-13 Thread Richard Smith via cfe-commits
er > passed as argument 2, which is declared to never be null > > > http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/38698/steps/check-clang%20ubsan/logs/stdio > > On Fri, Feb 7, 2020 at 6:41 PM Richard Smith via cfe-commits < > cfe-commits@lists.llvm.or

[clang] b74a381 - [cxx_status] New papers from Prague 2020 WG21 meeting.

2020-02-15 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-02-15T02:16:21-08:00 New Revision: b74a381296eef048911bb22dc4eb2d3598460470 URL: https://github.com/llvm/llvm-project/commit/b74a381296eef048911bb22dc4eb2d3598460470 DIFF: https://github.com/llvm/llvm-project/commit/b74a381296eef048911bb22dc4eb2d3598460470.diff

[clang] 34bd51f - PR44890: Inherit explicitly-specified template arguments into base class

2020-02-15 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-02-15T02:16:21-08:00 New Revision: 34bd51f4b1d9f489e61becb662bdc72bb56dd277 URL: https://github.com/llvm/llvm-project/commit/34bd51f4b1d9f489e61becb662bdc72bb56dd277 DIFF: https://github.com/llvm/llvm-project/commit/34bd51f4b1d9f489e61becb662bdc72bb56dd277.diff

[clang] e28d9ba - PR44958: Allow member calls and typeid / dynamic_cast on mutable objects

2020-02-18 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-02-18T14:57:13-08:00 New Revision: e28d9bae4b3be60e90daa69a2eeb3254c952e051 URL: https://github.com/llvm/llvm-project/commit/e28d9bae4b3be60e90daa69a2eeb3254c952e051 DIFF: https://github.com/llvm/llvm-project/commit/e28d9bae4b3be60e90daa69a2eeb3254c952e051.diff

[clang] 24ad121 - Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang

2020-02-18 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-02-18T16:16:37-08:00 New Revision: 24ad121582454e625bdad125c90d9ac0dae948c8 URL: https://github.com/llvm/llvm-project/commit/24ad121582454e625bdad125c90d9ac0dae948c8 DIFF: https://github.com/llvm/llvm-project/commit/24ad121582454e625bdad125c90d9ac0dae948c8.diff

[clang] b78e8e0 - Add extra test file forgotten in 45d7080.

2020-01-16 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-16T18:13:49-08:00 New Revision: b78e8e0d79c47a6698a0abc10a37b8a253cb6064 URL: https://github.com/llvm/llvm-project/commit/b78e8e0d79c47a6698a0abc10a37b8a253cb6064 DIFF: https://github.com/llvm/llvm-project/commit/b78e8e0d79c47a6698a0abc10a37b8a253cb6064.diff

Re: [clang] 45d7080 - PR42694 Support explicit(bool) in older language modes as an extension.

2020-01-16 Thread Richard Smith via cfe-commits
ecause their > standard library will soon rely on it. > > On Wed, 15 Jan 2020 at 18:50, Richard Smith via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> >> Author: Richard Smith >> Date: 2020-01-15T18:38:23-08:00 >> New Revision: 45d70806f

[clang] 01a6cd4 - Don't dump IR output from this test to stdout.

2020-01-16 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-16T19:19:45-08:00 New Revision: 01a6cd471f019cfeda057c3b1b6fc6213575217c URL: https://github.com/llvm/llvm-project/commit/01a6cd471f019cfeda057c3b1b6fc6213575217c DIFF: https://github.com/llvm/llvm-project/commit/01a6cd471f019cfeda057c3b1b6fc6213575217c.diff

[clang] a42fd84 - Remove redundant CXXScopeSpec from TemplateIdAnnotation.

2020-01-17 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-17T15:47:21-08:00 New Revision: a42fd84cff265b7e9faa3fe42885ee171393e4db URL: https://github.com/llvm/llvm-project/commit/a42fd84cff265b7e9faa3fe42885ee171393e4db DIFF: https://github.com/llvm/llvm-project/commit/a42fd84cff265b7e9faa3fe42885ee171393e4db.diff

[clang] 13fa4e2 - PR42108 Consistently diagnose binding a reference template parameter to

2020-01-19 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-19T18:16:36-08:00 New Revision: 13fa4e2e5ae6ab5403be19e24415e0c7a5569681 URL: https://github.com/llvm/llvm-project/commit/13fa4e2e5ae6ab5403be19e24415e0c7a5569681 DIFF: https://github.com/llvm/llvm-project/commit/13fa4e2e5ae6ab5403be19e24415e0c7a5569681.diff

[clang] add2b7e - List implicit operator== after implicit destructors in a vtable.

2020-01-19 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-19T18:31:36-08:00 New Revision: add2b7e44ada46f30715b5c48823a9e9e317e0c3 URL: https://github.com/llvm/llvm-project/commit/add2b7e44ada46f30715b5c48823a9e9e317e0c3 DIFF: https://github.com/llvm/llvm-project/commit/add2b7e44ada46f30715b5c48823a9e9e317e0c3.diff

[clang] 7a9fa76 - Undo changes to release notes intended for the Clang 10 branch, not master.

2020-01-19 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-19T18:33:42-08:00 New Revision: 7a9fa76be7425b5a6fb3dfe7fc4f9e16892628cb URL: https://github.com/llvm/llvm-project/commit/7a9fa76be7425b5a6fb3dfe7fc4f9e16892628cb DIFF: https://github.com/llvm/llvm-project/commit/7a9fa76be7425b5a6fb3dfe7fc4f9e16892628cb.diff

[clang] 6e73fee - List implicit operator== after implicit destructors in a vtable.

2020-01-21 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-21T15:54:40-08:00 New Revision: 6e73fee780839bfa95aff492864e93e79910380b URL: https://github.com/llvm/llvm-project/commit/6e73fee780839bfa95aff492864e93e79910380b DIFF: https://github.com/llvm/llvm-project/commit/6e73fee780839bfa95aff492864e93e79910380b.diff

[clang] b32013b - [www] Update cxx_status page to list changes on the Clang 10 branch as

2020-01-22 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-22T14:48:56-08:00 New Revision: b32013baec1d9d6adcebdd9b523d308e8a1af856 URL: https://github.com/llvm/llvm-project/commit/b32013baec1d9d6adcebdd9b523d308e8a1af856 DIFF: https://github.com/llvm/llvm-project/commit/b32013baec1d9d6adcebdd9b523d308e8a1af856.diff

[clang] fa2fc81 - Re-add documentation for -flax-vector-conversions= removed in

2020-01-23 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-23T12:28:03-08:00 New Revision: fa2fc81d3464aa9b6e5e9d2ad8f512904712d2b7 URL: https://github.com/llvm/llvm-project/commit/fa2fc81d3464aa9b6e5e9d2ad8f512904712d2b7 DIFF: https://github.com/llvm/llvm-project/commit/fa2fc81d3464aa9b6e5e9d2ad8f512904712d2b7.diff

[clang] 04f131d - DR1753: Don't permit x.NS::~T() as a pseudo-destructor name.

2020-01-24 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-24T18:53:50-08:00 New Revision: 04f131da0b19abff611773c03be9bafb53c753ce URL: https://github.com/llvm/llvm-project/commit/04f131da0b19abff611773c03be9bafb53c753ce DIFF: https://github.com/llvm/llvm-project/commit/04f131da0b19abff611773c03be9bafb53c753ce.diff

[clang] af80b8c - PR44684: Look through parens and similar constructs when determining

2020-01-27 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-27T18:20:57-08:00 New Revision: af80b8ccc5772c14920d4554b7ca7e15f2fad1c4 URL: https://github.com/llvm/llvm-project/commit/af80b8ccc5772c14920d4554b7ca7e15f2fad1c4 DIFF: https://github.com/llvm/llvm-project/commit/af80b8ccc5772c14920d4554b7ca7e15f2fad1c4.diff

[clang] d28763c - Replace 'AllowExplicit' bool with an enum. No functionality change.

2020-01-30 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-30T17:16:50-08:00 New Revision: d28763cad06e66651e1936756d3e28126b055abf URL: https://github.com/llvm/llvm-project/commit/d28763cad06e66651e1936756d3e28126b055abf DIFF: https://github.com/llvm/llvm-project/commit/d28763cad06e66651e1936756d3e28126b055abf.diff

[clang] 1f3f8c3 - PR44721: Don't consider overloaded operators for built-in comparisons

2020-01-30 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-30T17:16:50-08:00 New Revision: 1f3f8c369a5067a132c871f33a955a7feaea8534 URL: https://github.com/llvm/llvm-project/commit/1f3f8c369a5067a132c871f33a955a7feaea8534 DIFF: https://github.com/llvm/llvm-project/commit/1f3f8c369a5067a132c871f33a955a7feaea8534.diff

Re: [clang] 1f3f8c3 - PR44721: Don't consider overloaded operators for built-in comparisons

2020-01-30 Thread Richard Smith via cfe-commits
Hi Hans, This is a pretty safe bugfix for a new feature in Clang 10. OK for branch? On Thu, 30 Jan 2020 at 17:17, Richard Smith via cfe-commits < cfe-commits@lists.llvm.org> wrote: > > Author: Richard Smith > Date: 2020-01-30T17:16:50-08:00

[clang] 5ae6554 - PR41991: Accept attributes on defaulted and deleted friends.

2020-01-30 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-30T17:42:17-08:00 New Revision: 5ae6554a1dcd2e39346030c06d364492901c9e8d URL: https://github.com/llvm/llvm-project/commit/5ae6554a1dcd2e39346030c06d364492901c9e8d DIFF: https://github.com/llvm/llvm-project/commit/5ae6554a1dcd2e39346030c06d364492901c9e8d.diff

[clang] 1db66e7 - PR44627: Consider reversing == and <=> candidates found by ADL.

2020-01-30 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-01-30T18:41:54-08:00 New Revision: 1db66e705f4dbe7dbe17edac804289ef59d5f616 URL: https://github.com/llvm/llvm-project/commit/1db66e705f4dbe7dbe17edac804289ef59d5f616 DIFF: https://github.com/llvm/llvm-project/commit/1db66e705f4dbe7dbe17edac804289ef59d5f616.diff

Re: r328731 - [ObjC++] Make parameter passing and function return compatible with ObjC

2018-04-01 Thread Richard Smith via cfe-commits
On 28 March 2018 at 14:13, Akira Hatanaka via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: ahatanak > Date: Wed Mar 28 14:13:14 2018 > New Revision: 328731 > > URL: http://llvm.org/viewvc/llvm-project?rev=328731&view=rev > Log: > [ObjC++] Make parameter passing and function return co

r328999 - Add helper to determine if a field is a zero-length bitfield.

2018-04-02 Thread Richard Smith via cfe-commits
Author: rsmith Date: Mon Apr 2 11:29:43 2018 New Revision: 328999 URL: http://llvm.org/viewvc/llvm-project?rev=328999&view=rev Log: Add helper to determine if a field is a zero-length bitfield. Modified: cfe/trunk/include/clang/AST/Decl.h cfe/trunk/lib/AST/Decl.cpp cfe/trunk/lib/AST/

r329000 - Add -fclang-abi-compat=6 flag for upcoming ABI changes.

2018-04-02 Thread Richard Smith via cfe-commits
Author: rsmith Date: Mon Apr 2 11:29:44 2018 New Revision: 329000 URL: http://llvm.org/viewvc/llvm-project?rev=329000&view=rev Log: Add -fclang-abi-compat=6 flag for upcoming ABI changes. Modified: cfe/trunk/include/clang/Basic/LangOptions.h cfe/trunk/lib/Frontend/CompilerInvocation.cpp

r329098 - Use Clang when referring to the project and clang when referring to the binary.

2018-04-03 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Apr 3 11:28:13 2018 New Revision: 329098 URL: http://llvm.org/viewvc/llvm-project?rev=329098&view=rev Log: Use Clang when referring to the project and clang when referring to the binary. Modified: cfe/trunk/docs/ReleaseNotes.rst Modified: cfe/trunk/docs/ReleaseNotes

Re: r328731 - [ObjC++] Make parameter passing and function return compatible with ObjC

2018-04-03 Thread Richard Smith via cfe-commits
On 3 April 2018 at 13:07, Akira Hatanaka via cfe-commits < cfe-commits@lists.llvm.org> wrote: > > > On Apr 1, 2018, at 6:00 PM, Richard Smith wrote: > > On 28 March 2018 at 14:13, Akira Hatanaka via cfe-commits lists.llvm.org> wrote: > >> Author: ahatanak >> Date: Wed Mar 28 14:13:14 2018 >> New

Re: r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-04 Thread Richard Smith via cfe-commits
Hi Akira, This change has broken the C++ versions of these type traits for classes with volatile members. Such classes are required to claim to be trivial per C++ DR 2094 ( http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2094) but return false from isNonTrivialToPrimitiveCopy(). Also

Re: r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-04 Thread Richard Smith via cfe-commits
On 4 April 2018 at 16:24, Akira Hatanaka via cfe-commits < cfe-commits@lists.llvm.org> wrote: > > On Apr 4, 2018, at 3:38 PM, Richard Smith wrote: > > Hi Akira, > > This change has broken the C++ versions of these type traits for classes > with volatile members. Such classes are required to claim

Re: r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-04 Thread Richard Smith via cfe-commits
On 4 April 2018 at 16:37, Akira Hatanaka via cfe-commits < cfe-commits@lists.llvm.org> wrote: > > > On Apr 4, 2018, at 4:24 PM, Akira Hatanaka via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > > > On Apr 4, 2018, at 3:38 PM, Richard Smith wrote: > > Hi Akira, > > This change has broken the

Re: r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-04 Thread Richard Smith via cfe-commits
On 4 April 2018 at 16:24, Akira Hatanaka via cfe-commits < cfe-commits@lists.llvm.org> wrote: > > On Apr 4, 2018, at 3:38 PM, Richard Smith wrote: > > Hi Akira, > > This change has broken the C++ versions of these type traits for classes > with volatile members. Such classes are required to claim

r329247 - Revert r328680 ("[ObjC] Make C++ triviality type traits available to non-trivial C structs.")

2018-04-04 Thread Richard Smith via cfe-commits
Author: rsmith Date: Wed Apr 4 17:34:54 2018 New Revision: 329247 URL: http://llvm.org/viewvc/llvm-project?rev=329247&view=rev Log: Revert r328680 ("[ObjC] Make C++ triviality type traits available to non-trivial C structs.") It unintentionally caused the values of the __has_* type traits to ch

Re: r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-04 Thread Richard Smith via cfe-commits
On 4 April 2018 at 16:57, Akira Hatanaka via cfe-commits < cfe-commits@lists.llvm.org> wrote: > > On Apr 4, 2018, at 4:47 PM, Richard Smith wrote: > > On 4 April 2018 at 16:24, Akira Hatanaka via cfe-commits lists.llvm.org> wrote: > >> >> On Apr 4, 2018, at 3:38 PM, Richard Smith wrote: >> >> H

r329332 - DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standard

2018-04-05 Thread Richard Smith via cfe-commits
Author: rsmith Date: Thu Apr 5 11:55:37 2018 New Revision: 329332 URL: http://llvm.org/viewvc/llvm-project?rev=329332&view=rev Log: DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standard layout" rules. The new rules say that a standard-layout struct has its first non-static data mem

r329342 - PR36992: do not store beyond the dsize of a class object unless we know

2018-04-05 Thread Richard Smith via cfe-commits
Author: rsmith Date: Thu Apr 5 13:52:58 2018 New Revision: 329342 URL: http://llvm.org/viewvc/llvm-project?rev=329342&view=rev Log: PR36992: do not store beyond the dsize of a class object unless we know the tail padding is not reused. We track on the AggValueSlot (and through a couple of other

Re: r329300 - Disable -fmerge-all-constants as default.

2018-04-05 Thread Richard Smith via cfe-commits
MipsFastISel::fastLowerArguments looks very broken and is likely the culprit here: const ArrayRef GPR32ArgRegs = {Mips::A0, Mips::A1, Mips::A2, Mips::A3}; const ArrayRef FGR32ArgRegs = {Mips::F12, Mips::F14}; const ArrayRef AFGR64ArgRegs = {Mips::D

r329352 - Add a couple more tests for DR372.

2018-04-05 Thread Richard Smith via cfe-commits
Author: rsmith Date: Thu Apr 5 14:49:20 2018 New Revision: 329352 URL: http://llvm.org/viewvc/llvm-project?rev=329352&view=rev Log: Add a couple more tests for DR372. Modified: cfe/trunk/test/CXX/drs/dr3xx.cpp Modified: cfe/trunk/test/CXX/drs/dr3xx.cpp URL: http://llvm.org/viewvc/llvm-proj

Re: r329342 - PR36992: do not store beyond the dsize of a class object unless we know

2018-04-06 Thread Richard Smith via cfe-commits
ereferenceable(12)) unnamed_addr #0 comdat align 2 { > ^ > :97:28: note: possible intended match here > %call = call %"struct.Implicit::A"* > @_ZN8Implicit1AC2ERKS0_(%"struct.Implicit::A"* %3, %"struct.Implicit::A&qu

r329449 - Don't assume constructors return void.

2018-04-06 Thread Richard Smith via cfe-commits
Author: rsmith Date: Fri Apr 6 13:06:02 2018 New Revision: 329449 URL: http://llvm.org/viewvc/llvm-project?rev=329449&view=rev Log: Don't assume constructors return void. Should fix ARM buildbot. Modified: cfe/trunk/test/CodeGenCXX/tail-padding.cpp Modified: cfe/trunk/test/CodeGenCXX/tail-

r329467 - Generalize test for 32-bit targets.

2018-04-06 Thread Richard Smith via cfe-commits
Author: rsmith Date: Fri Apr 6 17:28:32 2018 New Revision: 329467 URL: http://llvm.org/viewvc/llvm-project?rev=329467&view=rev Log: Generalize test for 32-bit targets. Modified: cfe/trunk/test/CodeGenCXX/tail-padding.cpp Modified: cfe/trunk/test/CodeGenCXX/tail-padding.cpp URL: http://llvm

Re: r329714 - I removed the failed test.

2018-04-10 Thread Richard Smith via cfe-commits
This is not an appropriate response to a test failing. Please revert the entire patch, then put it up for review again and this time request review from cfe-commits. On Tue, 10 Apr 2018, 16:48 Andrew V. Tischenko via cfe-commits, < cfe-commits@lists.llvm.org> wrote: > Author: avt77 > Date: Tue Ap

Re: r329804 - [Sema] Fix built-in decrement operator overload resolution

2018-04-11 Thread Richard Smith via cfe-commits
While you're here... ++ should not be available for bool in C++17 onwards. :) On Wed, 11 Apr 2018, 14:39 Jan Korous via cfe-commits, < cfe-commits@lists.llvm.org> wrote: > Author: jkorous > Date: Wed Apr 11 06:36:29 2018 > New Revision: 329804 > > URL: http://llvm.org/viewvc/llvm-project?rev=3298

Re: r316518 - mplement __has_unique_object_representations

2017-10-26 Thread Richard Smith via cfe-commits
On 24 Oct 2017 14:32, "Erich Keane via cfe-commits" < cfe-commits@lists.llvm.org> wrote: Author: erichkeane Date: Tue Oct 24 14:31:50 2017 New Revision: 316518 URL: http://llvm.org/viewvc/llvm-project?rev=316518&view=rev Log: mplement __has_unique_object_representations A helper builtin to facil

RE: r316518 - mplement __has_unique_object_representations

2017-10-26 Thread Richard Smith via cfe-commits
Incremental progress is fine :) On 26 Oct 2017 09:53, "Keane, Erich via cfe-commits" < cfe-commits@lists.llvm.org> wrote: Thanks for the review Richard. Would you like me to revert, or can I just make these changes in a new patch? *From:* Richard Smith [mailto:rich...@metafoo.co.uk] *Sent:*

r316820 - Never try to instantiate a deduction guide's "definition". Fixes bogus warning when there inevitably isn't one.

2017-10-27 Thread Richard Smith via cfe-commits
Author: rsmith Date: Fri Oct 27 18:15:00 2017 New Revision: 316820 URL: http://llvm.org/viewvc/llvm-project?rev=316820&view=rev Log: Never try to instantiate a deduction guide's "definition". Fixes bogus warning when there inevitably isn't one. Modified: cfe/trunk/lib/Sema/SemaTemplateInstan

r316836 - PR35039: Materialize temporary objects before wrapping them in an

2017-10-28 Thread Richard Smith via cfe-commits
Author: rsmith Date: Sat Oct 28 11:59:51 2017 New Revision: 316836 URL: http://llvm.org/viewvc/llvm-project?rev=316836&view=rev Log: PR35039: Materialize temporary objects before wrapping them in an OpaqueValueExpr in a GNU binary conditional expression. It's not meaningful for a non-materialized

r316935 - Add a test to make sure that -Wdeprecated doesn't warn on use of 'throw()' in system headers (deprecated in C++17).

2017-10-30 Thread Richard Smith via cfe-commits
Author: rsmith Date: Mon Oct 30 11:05:10 2017 New Revision: 316935 URL: http://llvm.org/viewvc/llvm-project?rev=316935&view=rev Log: Add a test to make sure that -Wdeprecated doesn't warn on use of 'throw()' in system headers (deprecated in C++17). Modified: cfe/trunk/test/SemaCXX/cxx1z-noex

r316936 - Undo accidental language mode change in this test.

2017-10-30 Thread Richard Smith via cfe-commits
Author: rsmith Date: Mon Oct 30 11:06:18 2017 New Revision: 316936 URL: http://llvm.org/viewvc/llvm-project?rev=316936&view=rev Log: Undo accidental language mode change in this test. Modified: cfe/trunk/test/SemaCXX/cxx1z-noexcept-function-type.cpp Modified: cfe/trunk/test/SemaCXX/cxx1z-noe

r316965 - [modules] Retain multiple using-directives in the same scope even if they name the same namespace.

2017-10-30 Thread Richard Smith via cfe-commits
Author: rsmith Date: Mon Oct 30 15:38:20 2017 New Revision: 316965 URL: http://llvm.org/viewvc/llvm-project?rev=316965&view=rev Log: [modules] Retain multiple using-directives in the same scope even if they name the same namespace. They might have different visibility, and thus discarding all bu

Re: r315402 - [modules] Only take visible using-directives into account during name lookup.

2017-10-30 Thread Richard Smith via cfe-commits
On 30 October 2017 at 15:12, Vassil Vassilev via cfe-commits < cfe-commits@lists.llvm.org> wrote: > On 11/10/17 03:19, Richard Smith via cfe-commits wrote: > >> Author: rsmith >> Date: Tue Oct 10 18:19:11 2017 >> New Revision: 315402 >> >> URL: http://ll

Re: r316965 - [modules] Retain multiple using-directives in the same scope even if they name the same namespace.

2017-10-30 Thread Richard Smith via cfe-commits
I should add: the test is courtesy of Vassil Vassilev. Thanks! On 30 October 2017 at 15:38, Richard Smith via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: rsmith > Date: Mon Oct 30 15:38:20 2017 > New Revision: 316965 > > URL: http://llvm.org/viewvc/llvm-projec

r317032 - Fix usage of right shift operator in fold expressions

2017-10-31 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Oct 31 13:29:22 2017 New Revision: 317032 URL: http://llvm.org/viewvc/llvm-project?rev=317032&view=rev Log: Fix usage of right shift operator in fold expressions The right shift operator was not seen as a valid operator in a fold expression, which is PR32563. Patch by N

r317066 - [c++17] Refine resolution of constructor / conversion function disambiguation.

2017-10-31 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Oct 31 18:37:11 2017 New Revision: 317066 URL: http://llvm.org/viewvc/llvm-project?rev=317066&view=rev Log: [c++17] Refine resolution of constructor / conversion function disambiguation. Given a choice between a constructor call and a conversion function in C++17, we pref

r317076 - Fix -Wunused-private-field to fire regardless of which implicit special members have been implicitly declared.

2017-10-31 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Oct 31 21:52:12 2017 New Revision: 317076 URL: http://llvm.org/viewvc/llvm-project?rev=317076&view=rev Log: Fix -Wunused-private-field to fire regardless of which implicit special members have been implicitly declared. Modified: cfe/trunk/lib/Sema/Sema.cpp cfe/tr

r317140 - Fix missing -Wregister warning when 'register' is applied to a function parameter.

2017-11-01 Thread Richard Smith via cfe-commits
Author: rsmith Date: Wed Nov 1 16:38:37 2017 New Revision: 317140 URL: http://llvm.org/viewvc/llvm-project?rev=317140&view=rev Log: Fix missing -Wregister warning when 'register' is applied to a function parameter. Modified: cfe/trunk/lib/Sema/SemaDecl.cpp cfe/trunk/test/CXX/dcl.dcl/dcl

r317147 - PR33746: Store the 'inline'ness of a static data member with the update record

2017-11-01 Thread Richard Smith via cfe-commits
Author: rsmith Date: Wed Nov 1 18:06:00 2017 New Revision: 317147 URL: http://llvm.org/viewvc/llvm-project?rev=317147&view=rev Log: PR33746: Store the 'inline'ness of a static data member with the update record for instantiating its definition. We model the 'inline'ness as being instantiated wit

r317296 - [c++17] Visit class template explicit specializations just like all other class definitions in codegen.

2017-11-02 Thread Richard Smith via cfe-commits
Author: rsmith Date: Thu Nov 2 18:26:01 2017 New Revision: 317296 URL: http://llvm.org/viewvc/llvm-project?rev=317296&view=rev Log: [c++17] Visit class template explicit specializations just like all other class definitions in codegen. If an explicit specialization has a static data member, it

r317982 - [cxx_status] Update for moved Albuquerque papers.

2017-11-11 Thread Richard Smith via cfe-commits
Author: rsmith Date: Sat Nov 11 09:54:46 2017 New Revision: 317982 URL: http://llvm.org/viewvc/llvm-project?rev=317982&view=rev Log: [cxx_status] Update for moved Albuquerque papers. Modified: cfe/trunk/www/cxx_status.html Modified: cfe/trunk/www/cxx_status.html URL: http://llvm.org/viewvc/

r317983 - [cxx_status] Add resolution of CWG issue 1581, since it's an important, visible change.

2017-11-11 Thread Richard Smith via cfe-commits
Author: rsmith Date: Sat Nov 11 10:00:16 2017 New Revision: 317983 URL: http://llvm.org/viewvc/llvm-project?rev=317983&view=rev Log: [cxx_status] Add resolution of CWG issue 1581, since it's an important, visible change. Modified: cfe/trunk/www/cxx_status.html Modified: cfe/trunk/www/cxx_st

r318245 - [modules] Fix crash in complex class merging scenario.

2017-11-14 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Nov 14 17:33:46 2017 New Revision: 318245 URL: http://llvm.org/viewvc/llvm-project?rev=318245&view=rev Log: [modules] Fix crash in complex class merging scenario. When we merge together class definitions, we can end up with the canonical declaration of a field not being t

r318258 - PR35214: don't crash if we see an array of unknown bound added to an empty but invalid designator.

2017-11-14 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Nov 14 19:03:56 2017 New Revision: 318258 URL: http://llvm.org/viewvc/llvm-project?rev=318258&view=rev Log: PR35214: don't crash if we see an array of unknown bound added to an empty but invalid designator. Modified: cfe/trunk/lib/AST/ExprConstant.cpp cfe/trunk/t

Re: r318456 - Issue -Wempty-body warnings for else blocks

2017-11-16 Thread Richard Smith via cfe-commits
This is kicking up false positives on code that does the following: #define USED(x) if(x);else // ... assert(x); USED(x); It's a bit of a weird pattern, but it occurs in some open-source code and seems easy enough for us to detect (if the semicolon and the preceding token aren't from the same Fil

r318474 - PR22763: if a defaulted (non-user-provided) special member function is

2017-11-16 Thread Richard Smith via cfe-commits
Author: rsmith Date: Thu Nov 16 15:54:56 2017 New Revision: 318474 URL: http://llvm.org/viewvc/llvm-project?rev=318474&view=rev Log: PR22763: if a defaulted (non-user-provided) special member function is explicitly instantiated, still emit it with each use. We don't emit a definition of the membe

[clang] bc73ef0 - PR60985: Fix merging of lambda closure types across modules.

2023-03-30 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-03-30T14:22:40-07:00 New Revision: bc73ef0031b50f7443615fef614fb4ecaaa4bd11 URL: https://github.com/llvm/llvm-project/commit/bc73ef0031b50f7443615fef614fb4ecaaa4bd11 DIFF: https://github.com/llvm/llvm-project/commit/bc73ef0031b50f7443615fef614fb4ecaaa4bd11.diff

[clang] a07abe2 - Factor out helper to determine whether a function is a "member-like

2023-03-30 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-03-30T17:00:16-07:00 New Revision: a07abe27b4d1d39ebb940a7f4e6235302444cbf0 URL: https://github.com/llvm/llvm-project/commit/a07abe27b4d1d39ebb940a7f4e6235302444cbf0 DIFF: https://github.com/llvm/llvm-project/commit/a07abe27b4d1d39ebb940a7f4e6235302444cbf0.diff

[clang] e3cba2f - Clean up template parameter list profiling. No functionality change.

2023-03-30 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-03-30T17:00:16-07:00 New Revision: e3cba2f464d318213ba05361e635e9b3b862e174 URL: https://github.com/llvm/llvm-project/commit/e3cba2f464d318213ba05361e635e9b3b862e174 DIFF: https://github.com/llvm/llvm-project/commit/e3cba2f464d318213ba05361e635e9b3b862e174.diff

[clang] fe73233 - Convert boolean flag in TemplateParameterListsAreEqual into an

2023-03-30 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-03-30T17:00:16-07:00 New Revision: fe73233b3a8b7b9dbb457419b494200503ffd34a URL: https://github.com/llvm/llvm-project/commit/fe73233b3a8b7b9dbb457419b494200503ffd34a DIFF: https://github.com/llvm/llvm-project/commit/fe73233b3a8b7b9dbb457419b494200503ffd34a.diff

[clang] bc62fb9 - Ignore constraints when determining a canonical template parameter.

2023-03-30 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-03-30T17:00:16-07:00 New Revision: bc62fb9e1779043ba4ffa75bb2133cc670d4105c URL: https://github.com/llvm/llvm-project/commit/bc62fb9e1779043ba4ffa75bb2133cc670d4105c DIFF: https://github.com/llvm/llvm-project/commit/bc62fb9e1779043ba4ffa75bb2133cc670d4105c.diff

[clang] 3524a9f - Retain constraints in the canonical form of an auto type.

2023-03-30 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-03-30T17:00:16-07:00 New Revision: 3524a9f84a0a1a106aa649a775066ba4d9e8ae0d URL: https://github.com/llvm/llvm-project/commit/3524a9f84a0a1a106aa649a775066ba4d9e8ae0d DIFF: https://github.com/llvm/llvm-project/commit/3524a9f84a0a1a106aa649a775066ba4d9e8ae0d.diff

[clang] aeee4eb - Stop modifying trailing return types.

2023-04-02 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-04-02T01:41:49-07:00 New Revision: aeee4ebd689171c963aa5d973e14cb6e731eb147 URL: https://github.com/llvm/llvm-project/commit/aeee4ebd689171c963aa5d973e14cb6e731eb147 DIFF: https://github.com/llvm/llvm-project/commit/aeee4ebd689171c963aa5d973e14cb6e731eb147.diff

[clang] 3242934 - Lazily deserialize default member initializers.

2023-04-05 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-04-05T15:46:13-07:00 New Revision: 32429341910d0a48336215be13c7c9140dd26da4 URL: https://github.com/llvm/llvm-project/commit/32429341910d0a48336215be13c7c9140dd26da4 DIFF: https://github.com/llvm/llvm-project/commit/32429341910d0a48336215be13c7c9140dd26da4.diff

[clang] bc95f27 - Revert "Revert "[Modules] Remove unnecessary check when generating name lookup table in ASTWriter""

2023-04-06 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-04-06T15:42:00-07:00 New Revision: bc95f27337c7ed77c28e713c855272848f01802a URL: https://github.com/llvm/llvm-project/commit/bc95f27337c7ed77c28e713c855272848f01802a DIFF: https://github.com/llvm/llvm-project/commit/bc95f27337c7ed77c28e713c855272848f01802a.diff

[clang] bf9de4c - Reject attempts to initialize non-aggregate types from a designated

2023-04-06 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-04-06T18:01:01-07:00 New Revision: bf9de4cf131032502c8967a65283a461fe36520d URL: https://github.com/llvm/llvm-project/commit/bf9de4cf131032502c8967a65283a461fe36520d DIFF: https://github.com/llvm/llvm-project/commit/bf9de4cf131032502c8967a65283a461fe36520d.diff

[clang] 1e43349 - Pass the found declaration to DiagnoseUseOfDecl.

2023-04-26 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-04-26T16:55:30-07:00 New Revision: 1e43349e321694d7fee3d77cb691887ad67fb5d7 URL: https://github.com/llvm/llvm-project/commit/1e43349e321694d7fee3d77cb691887ad67fb5d7 DIFF: https://github.com/llvm/llvm-project/commit/1e43349e321694d7fee3d77cb691887ad67fb5d7.diff

[clang] 0a57d4d - Remove bug fix release note for a bug that was never released.

2023-04-30 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2023-04-30T15:13:22-07:00 New Revision: 0a57d4d490a4090631e13bab17cee015fc91d4dd URL: https://github.com/llvm/llvm-project/commit/0a57d4d490a4090631e13bab17cee015fc91d4dd DIFF: https://github.com/llvm/llvm-project/commit/0a57d4d490a4090631e13bab17cee015fc91d4dd.diff

[clang] 4a1ccfe - When merging lambdas, keep track of the capture lists from each version.

2022-12-08 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2022-12-08T11:37:00-08:00 New Revision: 4a1ccfe8a3cfd4569bc962a38b6117a9a2b8ad21 URL: https://github.com/llvm/llvm-project/commit/4a1ccfe8a3cfd4569bc962a38b6117a9a2b8ad21 DIFF: https://github.com/llvm/llvm-project/commit/4a1ccfe8a3cfd4569bc962a38b6117a9a2b8ad21.diff

[clang] 5982b0b - Add missing check for constant evaluation of a comparison of a pointer

2022-12-12 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2022-12-12T17:09:26-08:00 New Revision: 5982b0b0b84296e34057a777e3d51e10fcd8abc7 URL: https://github.com/llvm/llvm-project/commit/5982b0b0b84296e34057a777e3d51e10fcd8abc7 DIFF: https://github.com/llvm/llvm-project/commit/5982b0b0b84296e34057a777e3d51e10fcd8abc7.diff

[clang] f7a1f7a - Fix test on 32-bit targets.

2022-12-12 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2022-12-12T17:38:51-08:00 New Revision: f7a1f7ab70eadd8264db2d3f956a1a6bab749c01 URL: https://github.com/llvm/llvm-project/commit/f7a1f7ab70eadd8264db2d3f956a1a6bab749c01 DIFF: https://github.com/llvm/llvm-project/commit/f7a1f7ab70eadd8264db2d3f956a1a6bab749c01.diff

[clang] bcd51aa - Don't try to look up a name containing a dependent type.

2022-12-13 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2022-12-13T14:42:51-08:00 New Revision: bcd51aaaf8bde4b0ae7a4155d9ce3dec78fe2598 URL: https://github.com/llvm/llvm-project/commit/bcd51aaaf8bde4b0ae7a4155d9ce3dec78fe2598 DIFF: https://github.com/llvm/llvm-project/commit/bcd51aaaf8bde4b0ae7a4155d9ce3dec78fe2598.diff

r289698 - Remove unused variable found by GCC warning.

2016-12-14 Thread Richard Smith via cfe-commits
Author: rsmith Date: Wed Dec 14 13:45:03 2016 New Revision: 289698 URL: http://llvm.org/viewvc/llvm-project?rev=289698&view=rev Log: Remove unused variable found by GCC warning. Modified: cfe/trunk/lib/Serialization/ASTReader.cpp Modified: cfe/trunk/lib/Serialization/ASTReader.cpp URL: http

r289753 - Move checks for creation of objects of abstract class type from the various

2016-12-14 Thread Richard Smith via cfe-commits
Author: rsmith Date: Wed Dec 14 20:28:18 2016 New Revision: 289753 URL: http://llvm.org/viewvc/llvm-project?rev=289753&view=rev Log: Move checks for creation of objects of abstract class type from the various constructs that can do so into the initialization code. This fixes a number of different

r289754 - [c++1z] Permit constant evaluation of a call through a function pointer whose

2016-12-14 Thread Richard Smith via cfe-commits
Author: rsmith Date: Wed Dec 14 20:35:39 2016 New Revision: 289754 URL: http://llvm.org/viewvc/llvm-project?rev=289754&view=rev Log: [c++1z] Permit constant evaluation of a call through a function pointer whose type differs from the type of the actual function due to having a different exception s

r289905 - [c++1z] P0195R2: Allow multiple using-declarators in a single using-declaration.

2016-12-15 Thread Richard Smith via cfe-commits
Author: rsmith Date: Thu Dec 15 18:58:48 2016 New Revision: 289905 URL: http://llvm.org/viewvc/llvm-project?rev=289905&view=rev Log: [c++1z] P0195R2: Allow multiple using-declarators in a single using-declaration. Added: cfe/trunk/test/Parser/cxx1z-using-declaration.cpp Modified: cfe/trun

r290071 - Fix some interactions between C++11 and C++14 features and using-declarations:

2016-12-18 Thread Richard Smith via cfe-commits
Author: rsmith Date: Sun Dec 18 15:39:37 2016 New Revision: 290071 URL: http://llvm.org/viewvc/llvm-project?rev=290071&view=rev Log: Fix some interactions between C++11 and C++14 features and using-declarations: * a dependent non-type using-declaration within a function template can be valid,

r290072 - Fix name hiding and redeclaration checking for dependent local

2016-12-18 Thread Richard Smith via cfe-commits
Author: rsmith Date: Sun Dec 18 16:01:46 2016 New Revision: 290072 URL: http://llvm.org/viewvc/llvm-project?rev=290072&view=rev Log: Fix name hiding and redeclaration checking for dependent local using-declarations. Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp cfe/trunk/lib/Sema/SemaLooku

r290080 - [c++1z] P0195R2: Support pack-expansion of using-declarations.

2016-12-18 Thread Richard Smith via cfe-commits
Author: rsmith Date: Sun Dec 18 22:08:53 2016 New Revision: 290080 URL: http://llvm.org/viewvc/llvm-project?rev=290080&view=rev Log: [c++1z] P0195R2: Support pack-expansion of using-declarations. This change introduces UsingPackDecl as a marker for the set of UsingDecls produced by pack expansion

r290081 - [c++1z] cxx_status: mark p0195r2 as done.

2016-12-18 Thread Richard Smith via cfe-commits
Author: rsmith Date: Sun Dec 18 22:16:03 2016 New Revision: 290081 URL: http://llvm.org/viewvc/llvm-project?rev=290081&view=rev Log: [c++1z] cxx_status: mark p0195r2 as done. Modified: cfe/trunk/lib/Frontend/InitPreprocessor.cpp cfe/trunk/test/Lexer/cxx-features.cpp cfe/trunk/www/cxx_

r290082 - Add __cpp_structured_bindings feature test macro for structured bindings, per

2016-12-18 Thread Richard Smith via cfe-commits
Author: rsmith Date: Sun Dec 18 22:21:36 2016 New Revision: 290082 URL: http://llvm.org/viewvc/llvm-project?rev=290082&view=rev Log: Add __cpp_structured_bindings feature test macro for structured bindings, per latest (provisional) draft of SD-6. Modified: cfe/trunk/lib/Frontend/InitPreproces

r290146 - Fix completely bogus types for some builtins:

2016-12-19 Thread Richard Smith via cfe-commits
Author: rsmith Date: Mon Dec 19 17:59:34 2016 New Revision: 290146 URL: http://llvm.org/viewvc/llvm-project?rev=290146&view=rev Log: Fix completely bogus types for some builtins: * In C++, never create a FunctionNoProtoType for a builtin (fixes C++1z crasher from r289754). * Fix type of __s

Re: r289754 - [c++1z] Permit constant evaluation of a call through a function pointer whose

2016-12-19 Thread Richard Smith via cfe-commits
tstrap/bin/clang-3.8+0x28fd392) > #24 0x0000028f5acb clang::ParseAST(clang::Sema&, bool, bool) > (/usr/local/google/home/aizatsky/out/llvm/bootstrap/ > bin/clang-3.8+0x28f5acb) > #25 0x0250587e clang::CodeGenAction::ExecuteAction() > (/usr/local/google/home/aizatsky

r290166 - Add test for DR692.

2016-12-19 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Dec 20 01:24:53 2016 New Revision: 290166 URL: http://llvm.org/viewvc/llvm-project?rev=290166&view=rev Log: Add test for DR692. Modified: cfe/trunk/test/CXX/drs/dr6xx.cpp Modified: cfe/trunk/test/CXX/drs/dr6xx.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/t

r290203 - [c++1z] P0195R2: Support pack-expansion of using-declarations.

2016-12-20 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Dec 20 15:35:28 2016 New Revision: 290203 URL: http://llvm.org/viewvc/llvm-project?rev=290203&view=rev Log: [c++1z] P0195R2: Support pack-expansion of using-declarations. This change introduces UsingPackDecl as a marker for the set of UsingDecls produced by pack expansion

Re: r290080 - [c++1z] P0195R2: Support pack-expansion of using-declarations.

2016-12-20 Thread Richard Smith via cfe-commits
On 19 December 2016 at 04:26, Renato Golin wrote: > On 19 December 2016 at 11:28, Daniel Jasper via cfe-commits > wrote: > > I have reverted this in r290092 as it was leading to Clang crashes on the > > bots and elsewhere, e.g.: > > http://lab.llvm.org:8011/builders/clang-cmake-aarch64-quick/bui

r290225 - Factor out checking of template arguments after deduction into a separate

2016-12-20 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Dec 20 19:10:31 2016 New Revision: 290225 URL: http://llvm.org/viewvc/llvm-project?rev=290225&view=rev Log: Factor out checking of template arguments after deduction into a separate function. (This change would also allow us to handle default template arguments in partial

r290227 - [c++1z] When initializing a const-qualified class type, don't forget to add on

2016-12-20 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Dec 20 19:31:56 2016 New Revision: 290227 URL: http://llvm.org/viewvc/llvm-project?rev=290227&view=rev Log: [c++1z] When initializing a const-qualified class type, don't forget to add on the requested cv-qualifiers after construction. This usually doesn't matter, but it do

r290229 - Fix defaulted-functions-in-C++98 extension to give the functions the same

2016-12-20 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Dec 20 19:57:02 2016 New Revision: 290229 URL: http://llvm.org/viewvc/llvm-project?rev=290229&view=rev Log: Fix defaulted-functions-in-C++98 extension to give the functions the same effect they would have in C++11. In particular, they do not prevent value-initialization fr

<    13   14   15   16   17   18   19   20   21   22   >