From: Kaelyn Uhrain Date: Wed, 4 Dec 2013 02:25:41 +0000 (+0000) Subject: Add blurb to release notes about typo correction improvements. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4ec8b1d38597df0e3abf0e231b3e273f776dad2;p=clang Add blurb to release notes about typo correction improvements. git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_34@196343 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index a19fd37655..0e6aaa4cb6 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -75,6 +75,23 @@ about them. The improvements since the 3.3 release include: when one field in used uninitialized in another field initialization. - Clang can detect initializer list use inside a macro and suggest parentheses if possible to fix. +- Many improvements to Clang's typo correction facilities, such as: + + Adding global namespace qualifiers so that corrections can refer to shadowed + or otherwise ambiguous or unreachable namespaces. + + Including accessible class members in the set of typo correction candidates, + so that corrections requiring a class name in the name specifier are now + possible. + + Allowing typo corrections that involve removing a name specifier. + + In some situations, correcting function names when a function was given the + wrong number of arguments, including situations where the original function + name was correct but was shadowed by a lexically closer function with the + same name yet took a different number of arguments. + + Offering typo suggestions for 'using' declarations. + + Providing better diagnostics and fixit suggestions in more situations when + a '->' was used instead of '.' or vice versa. + + Providing more relevant suggestions for typos followed by '.' or '='. + + Various performance improvements when searching for typo correction + candidates. New Compiler Flags ------------------