<?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 temp_arg_string_printing.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>44eee659 - [AST] Print NTTP args as string-literals when possible</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaTemplate/temp_arg_string_printing.cpp#44eee659</link>
        <description>[AST] Print NTTP args as string-literals when possibleC++20 non-type template parameter prints `MyType&lt;{{116, 104, 105, 115}}&gt;` when the code is as simple as `MyType&lt;&quot;this&quot;&gt;`. This patch prints `MyType&lt;{&quot;this&quot;}&gt;`, with one layer of braces preserved for the intermediate structural type to trigger CTAD.`StringLiteral` handles this case, but `StringLiteral` inside `APValue` code looks like a circular dependency. The proposed patch implements a cheap strategy to emit string literals in diagnostic messages only when they are readable and fall back to integer sequences.Reviewed By: aaron.ballmanDifferential Revision: https://reviews.llvm.org/D115031

            List of files:
            /llvm-project-15.0.7/clang/test/SemaTemplate/temp_arg_string_printing.cpp</description>
        <pubDate>Wed, 02 Mar 2022 01:33:43 +0000</pubDate>
        <dc:creator>Zhihao Yuan &lt;zhihao.yuan@broadcom.com&gt;</dc:creator>
    </item>
</channel>
</rss>
