diff options
author | Kaelyn Uhrain <rikka@google.com> | 2013-12-04 02:25:41 +0000 |
---|---|---|
committer | Kaelyn Uhrain <rikka@google.com> | 2013-12-04 02:25:41 +0000 |
commit | b4ec8b1d38597df0e3abf0e231b3e273f776dad2 (patch) | |
tree | 9e4eec8e03677fc7dfb4335416e642b64f9968cd | |
parent | b5e183b23168236b68fb2a00d2f614bad50d2b7c (diff) | |
download | clang-b4ec8b1d38597df0e3abf0e231b3e273f776dad2.tar.gz clang-b4ec8b1d38597df0e3abf0e231b3e273f776dad2.tar.bz2 clang-b4ec8b1d38597df0e3abf0e231b3e273f776dad2.tar.xz |
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
-rw-r--r-- | docs/ReleaseNotes.rst | 17 |
1 files changed, 17 insertions, 0 deletions
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 ------------------ |