[LLVMbugs] [Bug 22534] New: -fmodule-file= should eagerly import the module file

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 10 13:35:21 PST 2015


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

            Bug ID: 22534
           Summary: -fmodule-file= should eagerly import the module file
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: richard-llvm at metafoo.co.uk
          Reporter: richard-llvm at metafoo.co.uk
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

-fmodule-file= is supposed to treat the given PCM file as being part of the
current compilation. Thus:

 * We should report conflicts between that file and local declarations, even if
no submodule from it is ever imported
 * We should be able to typo-correct to names from it and suggest missing
imports
 * We should always be at "generation 1" and thus never pay any lazy update
costs if we never implicitly import any other module files
 * We should emit a dependency on it when writing out another PCM file

Currently, none of these things happen.

-- 
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/20150210/d1bc3d93/attachment.html>


More information about the llvm-bugs mailing list