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