<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in invalid-template-params.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>0cd73dbe - [c++20] For P1907R1: Add checking for structural types for non-type</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/invalid-template-params.cpp#0cd73dbe</link>
        <description>[c++20] For P1907R1: Add checking for structural types for non-typetemplate parameters.No support for the new kinds of non-type template argument yet.This is not entirely NFC for prior language modes: we have historicallyincorrectly accepted rvalue references as the types of non-type templateparameters. Such invalid code is now rejected.

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/invalid-template-params.cpp</description>
        <pubDate>Mon, 21 Sep 2020 03:10:02 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>1cbdf932 - PR46231: Promote diagnostic for &apos;template&lt;...&gt;;&apos; from ExtWarn to Error.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/invalid-template-params.cpp#1cbdf932</link>
        <description>PR46231: Promote diagnostic for &apos;template&lt;...&gt;;&apos; from ExtWarn to Error.No other compiler accepts this as an extension, not even in permissivemode. We&apos;re not doing anyone any favors by allowing this, and it&apos;sunlikely to be at all common, even in Clang-only code, in the wild.

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/invalid-template-params.cpp</description>
        <pubDate>Wed, 29 Jul 2020 19:29:05 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>12ddceec - [Sema] Fix a crash-on-invalid when a template parameter list has a class</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/invalid-template-params.cpp#12ddceec</link>
        <description>[Sema] Fix a crash-on-invalid when a template parameter list has a classdefinition or non-reference class type.The crash occurs when there is a template parameter list in a class thatis missing the closing angle bracket followed by a definition of astruct. For example:class C0 {public:  template&lt;typename T, typename T1 = T // missing closing angle bracket  struct S0 {};  C0() : m(new S0&lt;int&gt;) {}  S0&lt;int&gt; *m;};This happens because the parsed struct is added to the scope of theenclosing class without having its access specifier set, which resultsin an assertion failure in SemaAccess.cpp later.This commit fixes the crash by adding the parsed struct to the enclosingfile scope and marking structs as invalid if they are defined intemplate parameter lists.rdar://problem/31783961rdar://problem/19570630Differential Revision: https://reviews.llvm.org/D33606llvm-svn: 306317

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/invalid-template-params.cpp</description>
        <pubDate>Mon, 26 Jun 2017 18:46:12 +0000</pubDate>
        <dc:creator>Akira Hatanaka &lt;ahatanaka@apple.com&gt;</dc:creator>
    </item>
</channel>
</rss>
