[llvm-bugs] [Bug 32169] New: Clang also checks for invalid declarations in unused headers contained in used modules.
llvm-bugs at lists.llvm.org
Tue Mar 7 06:42:11 PST 2017
Bug ID: 32169
Summary: Clang also checks for invalid declarations in unused
headers contained in used modules.
Assignee: unassignedclangbugs at nondot.org
Reporter: teemperor at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Created attachment 18061
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs