[LLVMbugs] [Bug 22663] New: Specifying an "extern module" with a non-existent path doesn't lead to an error
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Feb 23 04:23:29 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22663
Bug ID: 22663
Summary: Specifying an "extern module" with a non-existent path
doesn't lead to an error
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Modules
Assignee: unassignedclangbugs at nondot.org
Reporter: klimek at google.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
$ cat /tmp/a.cppmap
module "a" {
use "b"
}
extern module "b" "/this/does/not/exist"
$ ./bin/clang -c -x c++ -fmodules -fmodule-name=a -Xclang -emit-module
/tmp/a.cppmap
$ echo $?
0
ModuleMap.cpp:1587 just loads the module map if the file exists, and otherwise
happily goes on.
--
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/20150223/20ef04f6/attachment.html>
More information about the llvm-bugs
mailing list