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

            Bug ID: 15368
           Summary: Show where language linkage comes from when bailing
                    out due to redeclaration
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

Test case:

extern "C" {
  extern int foo;
  }

extern "C++" {
  extern int foo;
}

It helps a lot when dealing with nested headers to point to the "C" and "C++"
as note when complaining about the redeclaration. They can be in separate
headers for example.

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