commit | d0785ea6c4c37a7fa4fcd4840e6e036ffb44e13e | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue May 18 16:30:22 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue May 18 16:30:22 2010 +0000 |
tree | 004dd76a732692ae55578018d2b26d2854aae81e | |
parent | 91f7ac7e20ba03b8cd711974e2611231077bbe81 [diff] |
Give a slight edge to the context-sensitive keyword 'super' over non-function-local declarations with names similar to what the user typed. For example, this allows us to correct 'supper' to 'super' in an Objective-C message send, even though the C function 'isupper' has the same edit distance. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104023 91177308-0d34-0410-b5e6-96231b3b80d8