[LLVMbugs] [Bug 23175] New: Infinite loop iterating Objective-C method declarations in categories when the AST was deserialized from an .ast file

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 9 11:50:51 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23175

            Bug ID: 23175
           Summary: Infinite loop iterating Objective-C method
                    declarations in categories when the AST was
                    deserialized from an .ast file
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: thonermann at coverity.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I encountered an infinite loop in Clang 3.4 - trunk (r234313) when iterating
over ObjCMethodDecl declarations using the Decl::redecl_begin() and
Decl::redecl_end() interfaces for methods declared in both category and
category implementation declarations when the AST has been deserialized from a
.ast file.  Iteration terminates correctly when the AST has not been serialized
and then deserialized.

I haven't been able to reproduce this issue using the clang command line.  I
have a unit test that I will attach.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150409/80194974/attachment.html>


More information about the llvm-bugs mailing list