Benjamin Kramer
0644145373
Prune includes.
...
llvm-svn: 101059
2010-04-12 19:45:50 +00:00
Benjamin Kramer
f156b9d55d
Revert 98439. There is a bad race condition in sys::Path::makeUnique on win32.
...
llvm-svn: 98452
2010-03-13 21:22:49 +00:00
Benjamin Kramer
84c37f9903
Make getTemporaryPath a static member of CIndexer and use it to replace tmpnam calls.
...
This fixes linker warnings on linux.
llvm-svn: 98439
2010-03-13 13:05:20 +00:00
Daniel Dunbar
64ee535382
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.
llvm-svn: 95067
2010-02-02 05:19:57 +00:00
Chandler Carruth
2370ec6513
Fix libCIndex.so's lookup of the clang executable on CMake out-of-tree builds.
...
llvm-svn: 94668
2010-01-27 07:37:16 +00:00
Douglas Gregor
aa98ed9a07
Extend clang_createTranslationUnitFromSourceFile() to support creating
...
translation units that include unsaved files.
llvm-svn: 94258
2010-01-23 00:14:00 +00:00
Ted Kremenek
0ec2cca8f2
Split code in CIndex.cpp into multiple source files, and remove some unnecessary #includes.
...
llvm-svn: 92756
2010-01-05 19:32:54 +00:00