aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprCXX.cpp
diff options
context:
space:
mode:
authorKaelyn Uhrain <rikka@google.com>2012-02-16 22:40:59 +0000
committerKaelyn Uhrain <rikka@google.com>2012-02-16 22:40:59 +0000
commit3336353578a02eb7dc35926c2440577993196e36 (patch)
treee02b41d04d084323bf1b8e569ab7fd46e3bdefb9 /lib/CodeGen/CGExprCXX.cpp
parentad901a6cf3c57d7dd3d7b400835440992e99cff8 (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
Diffstat (limited to 'lib/CodeGen/CGExprCXX.cpp')
0 files changed, 0 insertions, 0 deletions