]> granicus.if.org Git - clang/commitdiff
Add a FIXME to provide a sensible error message here
authorDouglas Gregor <dgregor@apple.com>
Tue, 6 Dec 2011 23:04:08 +0000 (23:04 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 6 Dec 2011 23:04:08 +0000 (23:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145983 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/CompilerInstance.cpp

index d3d33e6f7c8a8d2f2b6ab0ac5dcbe6bc5d62d443..454d7bd4fcee30efc4909fc2fcc2f0da1d4da0c3 100644 (file)
@@ -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);