commit | 3336353578a02eb7dc35926c2440577993196e36 | [log] [tgz] |
---|---|---|
author | Kaelyn Uhrain <rikka@google.com> | Thu Feb 16 22:40:59 2012 +0000 |
committer | Kaelyn Uhrain <rikka@google.com> | Thu Feb 16 22:40:59 2012 +0000 |
tree | e02b41d04d084323bf1b8e569ab7fd46e3bdefb9 | |
parent | ad901a6cf3c57d7dd3d7b400835440992e99cff8 [diff] |
Avoid infinite mutual recursion in DiagnoseInvalidRedeclaration. Don't try to typo-correct a method redeclaration to declarations not in the current record as it could lead to infinite recursion if CorrectTypo finds more than one correction candidate in a parent record. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150735 91177308-0d34-0410-b5e6-96231b3b80d8