summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-05-30 18:53:21 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-05-30 18:53:21 +0000
commitdf08c4b371522025d1d3aec4992fb0f27d7c4571 (patch)
tree688f459c40a7cacb2d98484b4f396db527595088 /lib/CodeGen/CGExpr.cpp
parentb347c76054a0a4b8e6d1fce44314f6daf3294c69 (diff)
downloadclang-df08c4b371522025d1d3aec4992fb0f27d7c4571.tar.gz
clang-df08c4b371522025d1d3aec4992fb0f27d7c4571.tar.bz2
clang-df08c4b371522025d1d3aec4992fb0f27d7c4571.tar.xz
Fix potential infinite loop when iterating over redeclarations of an ObjMethodDecl, resulting from invalid code.
Check for invalid decls in ObjCMethodDecl::getNextRedeclaration(); otherwise if we start from an invalid redeclaration of an @implementation we would move to the @interface and not reach the original declaration again. Fixes rdar://14024851 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182951 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions