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

             Bug #: 14237
           Summary: Clang crashes on invalid code with attributes
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Reproduction:

class Table {
  void Foo(int x) {
    {
      return Foo(Foo(
    }
    return 1;
  }

  void Bar() __attribute__((exclusive_locks_required(something)));
};

It appears the crash happens at clang/lib/Parse/ParseCXXInlineMethods.cpp:374
374        Class.LateParsedDeclarations[i]->ParseLexedMethodDefs();

-- 
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