diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-12-06 23:04:08 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-12-06 23:04:08 +0000 |
commit | 2f554c4c1b41140a90e664aee0255f14b9e71ca1 (patch) | |
tree | b196db78777cc7d232e6c0cba1362f237a2b0232 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 42bb552c7e4e75582ca7ba57199691476d7ff5fa (diff) | |
download | bcm5719-llvm-2f554c4c1b41140a90e664aee0255f14b9e71ca1.tar.gz bcm5719-llvm-2f554c4c1b41140a90e664aee0255f14b9e71ca1.zip |
Add a FIXME to provide a sensible error message here
llvm-svn: 145983
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index d3d33e6f7c8..454d7bd4fce 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -1025,9 +1025,10 @@ static void compileModule(CompilerInstance &ImportingInstance, if (llvm::sys::fs::unique_file(TempModuleMapFileName.str(), FD, TempModuleMapFileName, /*makeAbsolute=*/true) - != llvm::errc::success) + != llvm::errc::success) { + // FIXME: Give a sensible error message here. return; - + } // Print the module map to this file. llvm::raw_fd_ostream OS(FD, /*shouldClose=*/true); Module->print(OS); |