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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to