Mention devirtualization in release notes

llvm-svn: 290675
This commit is contained in:
Piotr Padlewski 2016-12-28 18:23:23 +00:00
parent f9b17d4878
commit a280f674b5
1 changed files with 18 additions and 0 deletions

View File

@ -47,6 +47,24 @@ 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