]> granicus.if.org Git - clang/commit
CIndex: Respect TMPDIR/TEMP/TMP when making temporary files for remapping. As a
authorDaniel Dunbar <daniel@zuster.org>
Tue, 2 Feb 2010 05:19:57 +0000 (05:19 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 2 Feb 2010 05:19:57 +0000 (05:19 +0000)
commit74198af85ea647d6483b643859adae4f2bed330b
tree9391489d4ddba77ac7a9a96019b9ff76de07741d
parent2c12d0319a267b844cb7d569d84426cd344b90f7
CIndex: Respect TMPDIR/TEMP/TMP when making temporary files for remapping. As a
side effect, this also fixes some cases on Windows where the file would end up
on a different drive, because tmpnam doesn't include the drive component. PR3837
strikes again.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95067 91177308-0d34-0410-b5e6-96231b3b80d8
tools/CIndex/CIndexer.cpp