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

            Bug ID: 32169
           Summary: Clang also checks for invalid declarations in unused
                    headers contained in used modules.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Created attachment 18061
  --> https://bugs.llvm.org/attachment.cgi?id=18061&action=edit
Failing clang testcase

When a module contains headers that are never directly used, they will still be
checked for incompatible declarations. This breaks working code when
transitioning to modules. See the attached clang test case for an example.

(Note: I'm not sure if this is an actual bug or if such behavior is undefined
when considering how modules work).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to