[llvm-bugs] [Bug 32169] New: Clang also checks for invalid declarations in unused headers contained in used modules.
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 7 06:42:11 PST 2017
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: unassignedclangbugs at nondot.org
Reporter: teemperor at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170307/3cde2aa1/attachment-0001.html>
More information about the llvm-bugs
mailing list