Look at the TMP environment variable as well.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69638 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index f0eadf7..d88f1b3 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -1114,6 +1114,8 @@
   if (!TmpDir)
     TmpDir = ::getenv("TEMP");
   if (!TmpDir)
+    TmpDir = ::getenv("TMP");
+  if (!TmpDir)
     TmpDir = "/tmp";
   llvm::sys::Path P(TmpDir);
   P.appendComponent("cc");