http://llvm.org/bugs/show_bug.cgi?id=12814

             Bug #: 12814
           Summary: hangs in TextDiagnostic::buildFixItInsertionLine on
                    invalid input
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Created attachment 8546
  --> http://llvm.org/bugs/attachment.cgi?id=8546
reduced test case (provided by Craig Schroeder)

When running clang trunk on the provided input file, clang produces:

t9.c:1:25: error: expected member name or ';' after declaration specifiers
typedef union {union wai<U+00C0> * a;} b __attribute__
((__transparent_union__));
               ~~~~~    ^
t9.c:1:16: error: field has incomplete type 'union wai'
typedef union {union wai<U+00C0> * a;} b __attribute__
((__transparent_union__));
               ^
t9.c:1:22: note: forward declaration of 'union wai'
typedef union {union wai<U+00C0> * a;} b __attribute__
((__transparent_union__));
                     ^
t9.c:1:25: error: expected ';' at end of declaration list

and then hangs.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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