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 | e912029b914f263ec22cba6f1fb41ebebcdd844f (patch) | |
tree | f7b778a63c150d32c191e1df2298eadf031ef3af | |
parent | d62ca370b03b8c6ad58002d3399383baf744e32b (diff) |
Add a FIXME to provide a sensible error message here
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145983 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Frontend/CompilerInstance.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index d3d33e6f7c..454d7bd4fc 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/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); |