From: Piotr Padlewski Date: Wed, 28 Dec 2016 18:25:30 +0000 (+0000) Subject: Revert "Mention devirtualization in release notes" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9a778b119b1920dd0bef31b3a9327a52a74074f;p=clang Revert "Mention devirtualization in release notes" Accidental commit. LLVM changes have not been pushed yet This reverts commit 592453413690a2d16784667d1644758b9af700c1. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290676 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index 3f25278f32..11ee88f4ae 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -47,24 +47,6 @@ sections with improvements to Clang's support for those languages. Major New Features ------------------ -- Enhanced devirtualization with `-fstrict-vtable-pointers`. Clang devirtualizes -across different basic blocks, like loops: - -.. code-block:: c++ - struct A { - virtual void foo() {} - }; - void indirect(A &a, int n) { - for (int i = 0 ; i < n; i++) - a.foo(); - - } - void test(int n) { - A a; - indirect(a); - } - - - ... Improvements to Clang's diagnostics