| commit | bb092bafa984e9fa05136b5cef40fd4374dea0f6 | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Thu Dec 31 05:20:13 2009 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Thu Dec 31 05:20:13 2009 +0000 |
| tree | 101d11d5723f9939fd7778f6a45991c9153a309a | |
| parent | 8c3f89032c8822c443fb8a1633d297b60e5ca90c [diff] |
Implement typo correction for id-expressions, e.g.,
typo.cpp:22:10: error: use of undeclared identifier 'radious'; did
you mean 'radius'?
return radious * pi;
^~~~~~~
radius
This was super-easy, since we already had decent recovery by looking
for names in dependent base classes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92341 91177308-0d34-0410-b5e6-96231b3b80d8