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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to