<?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 default2.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>eb10b065 - [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#eb10b065</link>
        <description>[clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics.Background:-----------There are two related argument types which can be sent into a diagnostic todisplay the name of an entity: DeclarationName (ak_declarationname) orNamedDecl* (ak_nameddecl) (there is also ak_identifierinfo forIdentifierInfo*, but we are not concerned with it here).A DeclarationName in a diagnostic will just be streamed to the output,which will directly result in a call to DeclarationName::print.A NamedDecl* in a diagnostic will also ultimately result in a call toDeclarationName::print, but with two customisation points along the way:The first customisation point is NamedDecl::getNameForDiagnostic which isoverloaded by FunctionDecl, ClassTemplateSpecializationDecl andVarTemplateSpecializationDecl to print the template arguments, if any.The second customisation point is NamedDecl::printName. By default it juststreams the stored DeclarationName into the output but it can be customisedto provide a user-friendly name for an entity. It is currently overloaded byDecompositionDecl and MSGuidDecl.What this patch does:---------------------For many diagnostics a DeclarationName is used instead of the NamedDecl*.This bypasses the two customisation points mentioned above. This patches fixthis for diagnostics in Sema.cpp, SemaCast.cpp, SemaChecking.cpp, SemaDecl.cpp,SemaDeclAttr.cpp, SemaDecl.cpp, SemaOverload.cpp and SemaStmt.cpp.I have only modified diagnostics where I could construct a test-case whichdemonstrates that the change is appropriate (either with this patch or the nextone).Reviewed By: erichkeane, aaron.ballmanDifferential Revision: https://reviews.llvm.org/D84656

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Mon, 27 Jul 2020 22:22:21 +0000</pubDate>
        <dc:creator>Bruno Ricci &lt;riccibrun@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>be8e5fee - [clang][NFC] Tests showing the problems with some uses of NamedDecl::getDeclName in diagnostics, SemaExpr.cpp part</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#be8e5fee</link>
        <description>[clang][NFC] Tests showing the problems with some uses of NamedDecl::getDeclName in diagnostics, SemaExpr.cpp part

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Sat, 18 Jul 2020 19:39:16 +0000</pubDate>
        <dc:creator>Bruno Ricci &lt;riccibrun@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>c56975e2 - Fix template instantiation of a non-dependent call to an inherited</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#c56975e2</link>
        <description>Fix template instantiation of a non-dependent call to an inheritedconstructor with default arguments.We used to try to rebuild the call as a call to the faked-up inheritedconstructor, which is only a placeholder and lacks (for example) defaultarguments. Instead, build the call by reference to the originalconstructor.In passing, add a note to say where a call that recursively uses adefault argument from within itself occurs. This is usually prettyobvious, but still at least somewhat useful, and would have savedsignificant debugging time for this particular bug.

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Tue, 07 Apr 2020 02:17:55 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>b82a9401 - Detect recursive default argument definition</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#b82a9401</link>
        <description>Detect recursive default argument definitionIf definition of default function argument uses itself, clang crashed,because corresponding function parameter is not associated with the defaultargument yet. With this fix clang emits appropriate error message.This change fixes PR28105.Differential Revision: http://reviews.llvm.org/D21301llvm-svn: 272623

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Tue, 14 Jun 2016 02:55:56 +0000</pubDate>
        <dc:creator>Serge Pavlov &lt;sepavloff@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>999dd85e - Ensure typos in the default values of template parameters get diagnosed.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#999dd85e</link>
        <description>Ensure typos in the default values of template parameters get diagnosed.llvm-svn: 223177

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Tue, 02 Dec 2014 23:32:20 +0000</pubDate>
        <dc:creator>Kaelyn Takata &lt;rikka@google.com&gt;</dc:creator>
    </item>
<item>
        <title>fa0a1f53 - Improve diagnostics for invalid use of non-static members / this:</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#fa0a1f53</link>
        <description>Improve diagnostics for invalid use of non-static members / this:* s/nonstatic/non-static/ in the diagnostics, since the latter form outvoted  the former by 28-2 in our diagnostics.* Fix the &quot;use of member in static member function&quot; diagnostic to correctly  detect this situation inside a block or lambda.* Produce a more specific &quot;invalid use of non-static member&quot; diagnostic for  the case where a nested class member refers to a member of a  lexically-surrounding class.llvm-svn: 154073

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Thu, 05 Apr 2012 01:13:04 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>efc46958 - Parse default arguments within member functions in source order, from</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#efc46958</link>
        <description>Parse default arguments within member functions in source order, fromManuel Klimek! Fixes PR7715.llvm-svn: 116311

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Tue, 12 Oct 2010 16:25:54 +0000</pubDate>
        <dc:creator>Douglas Gregor &lt;dgregor@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>4f4946aa - Whenever we complain about a failed initialization of a function or</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#4f4946aa</link>
        <description>Whenever we complain about a failed initialization of a function ormethod parameter, provide a note pointing at the parameter itself sothe user does not have to manually look for the function/method beingcalled and match up parameters to arguments. For example, we now get:t.c:4:5: warning: incompatible pointer types passing &apos;long *&apos; toparameter of      type &apos;int *&apos; [-pedantic]  f(long_ptr);    ^~~~~~~~t.c:1:13: note: passing argument to parameter &apos;x&apos; herevoid f(int *x);            ^llvm-svn: 102038

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Thu, 22 Apr 2010 00:20:18 +0000</pubDate>
        <dc:creator>Douglas Gregor &lt;dgregor@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>85f90559 - When pretty-printing tag types, only print the tag if we&apos;re in C (and</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#85f90559</link>
        <description>When pretty-printing tag types, only print the tag if we&apos;re in C (andtherefore not creating ElaboratedTypes, which are still pretty-printedwith the written tag).Most of these testcase changes were done by script, so don&apos;t feel toosorry for my fingers.llvm-svn: 98149

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Wed, 10 Mar 2010 11:27:22 +0000</pubDate>
        <dc:creator>John McCall &lt;rjmccall@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>dd1cb5b2 - Add &apos;previous declaration is here&apos; note for param redefinition </title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#dd1cb5b2</link>
        <description>Add &apos;previous declaration is here&apos; note for param redefinition errors, e.g.:t.c:1:21: error: redefinition of parameter &apos;x&apos;int test(int x, int x);                    ^t.c:1:14: note: previous declaration is hereint test(int x, int x);             ^llvm-svn: 96769

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Mon, 22 Feb 2010 00:40:25 +0000</pubDate>
        <dc:creator>Chris Lattner &lt;sabre@nondot.org&gt;</dc:creator>
    </item>
<item>
        <title>fd0b2f8f - Improve the diagnostics used to report implicitly-generated class members</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#fd0b2f8f</link>
        <description>Improve the diagnostics used to report implicitly-generated class membersas parts of overload sets.  Also, refer to constructors as &apos;constructors&apos;rather than functions.Adjust a lot of tests.llvm-svn: 92832

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Wed, 06 Jan 2010 09:43:14 +0000</pubDate>
        <dc:creator>John McCall &lt;rjmccall@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>b6ea6087 - Switch Sema::AddCXXDirectInitializerToDecl over to InitializationSequence</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#b6ea6087</link>
        <description>Switch Sema::AddCXXDirectInitializerToDecl over to InitializationSequencellvm-svn: 91927

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Tue, 22 Dec 2009 22:17:25 +0000</pubDate>
        <dc:creator>Douglas Gregor &lt;dgregor@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>39c778b4 - Switch default-initialization of variables of class type (or array thereof) over to InitializationSequence. I could swear that this fixes a PR somewhere, but I couldn&apos;t figure out which one</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#39c778b4</link>
        <description>Switch default-initialization of variables of class type (or array thereof) over to InitializationSequence. I could swear that this fixes a PR somewhere, but I couldn&apos;t figure out which onellvm-svn: 91796

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Sun, 20 Dec 2009 22:01:25 +0000</pubDate>
        <dc:creator>Douglas Gregor &lt;dgregor@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>8fbe78f6 - Update tests to use %clang_cc1 instead of &apos;clang-cc&apos; or &apos;clang -cc1&apos;.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#8fbe78f6</link>
        <description>Update tests to use %clang_cc1 instead of &apos;clang-cc&apos; or &apos;clang -cc1&apos;. - This is designed to make it obvious that %clang_cc1 is a &quot;test variable&quot;   which is substituted. It is &apos;%clang_cc1&apos; instead of &apos;%clang -cc1&apos; because it   can be useful to redefine what gets run as &apos;clang -cc1&apos; (for example, to set   a default target).llvm-svn: 91446

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Tue, 15 Dec 2009 20:14:24 +0000</pubDate>
        <dc:creator>Daniel Dunbar &lt;daniel@zuster.org&gt;</dc:creator>
    </item>
<item>
        <title>c732aba9 - Cleanup and test C++ default arguments. Improvements include:</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#c732aba9</link>
        <description>Cleanup and test C++ default arguments. Improvements include:  - Diagnose attempts to add default arguments to templates (or member    functions of templates) after the initial declaration (DR217).  - Improve diagnostics when a default argument is redefined. Now, the    note will always point at the place where the default argument was    previously defined, rather than pointing to the most recent    declaration of the function.llvm-svn: 81548

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Fri, 11 Sep 2009 18:44:32 +0000</pubDate>
        <dc:creator>Douglas Gregor &lt;dgregor@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>3af2a777 - Fix the parsing of default arguments for inline member function </title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#3af2a777</link>
        <description>Fix the parsing of default arguments for inline member function definitions.I&apos;m not very familiar with this code, so please review.llvm-svn: 76796

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Wed, 22 Jul 2009 21:45:50 +0000</pubDate>
        <dc:creator>Eli Friedman &lt;eli.friedman@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>84613c4e - It&apos;s an error to use a function declared in a class definition as a default argument before the function has been declared.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#84613c4e</link>
        <description>It&apos;s an error to use a function declared in a class definition as a default argument before the function has been declared.llvm-svn: 73234

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Fri, 12 Jun 2009 16:51:40 +0000</pubDate>
        <dc:creator>Anders Carlsson &lt;andersca@mac.com&gt;</dc:creator>
    </item>
<item>
        <title>a45cf5b6 - Rename clang to clang-cc.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#a45cf5b6</link>
        <description>Rename clang to clang-cc.Tests and drivers updated, still need to shuffle dirs.llvm-svn: 67602

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Tue, 24 Mar 2009 02:24:46 +0000</pubDate>
        <dc:creator>Daniel Dunbar &lt;daniel@zuster.org&gt;</dc:creator>
    </item>
<item>
        <title>df0913ba - Fix redundant errors with missing default arguments in member declarations.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#df0913ba</link>
        <description>Fix redundant errors with missing default arguments in member declarations.llvm-svn: 64085

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Sun, 08 Feb 2009 14:56:26 +0000</pubDate>
        <dc:creator>Sebastian Redl &lt;sebastian.redl@getdesigned.at&gt;</dc:creator>
    </item>
<item>
        <title>aa400d83 - Make the test cases failing due to exact diagnostic matching XFAIL.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp#aa400d83</link>
        <description>Make the test cases failing due to exact diagnostic matching XFAIL.llvm-svn: 64080

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/default2.cpp</description>
        <pubDate>Sun, 08 Feb 2009 10:28:44 +0000</pubDate>
        <dc:creator>Sebastian Redl &lt;sebastian.redl@getdesigned.at&gt;</dc:creator>
    </item>
</channel>
</rss>
