<?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 new-aligned.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>fcf107d4 - [analyzer] Teach CallEvent about C++17 aligned operator new().</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Analysis/new-aligned.cpp#fcf107d4</link>
        <description>[analyzer] Teach CallEvent about C++17 aligned operator new().In C++17, when class C has large alignment value, a special case ofoverload resolution rule kicks in for expression new C that causes the alignedversion of operator new() to be called. The aligned new has two arguments:size and alignment. However, the new-expression has only one &quot;argument&quot;:the construct-expression for C(). This causes a false positive incore.CallAndMessage&apos;s check for matching number of arguments and numberof parameters.Update CXXAllocatorCall, which is a CallEvent sub-class for operator new callswithin new-expressions, so that the number of arguments always matchedthe number of parameters.rdar://problem/44738501Differential Revision: https://reviews.llvm.org/D52957llvm-svn: 344539

            List of files:
            /llvm-project-15.0.7/clang/test/Analysis/new-aligned.cpp</description>
        <pubDate>Mon, 15 Oct 2018 17:53:18 +0000</pubDate>
        <dc:creator>Artem Dergachev &lt;artem.dergachev@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
