summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/HeaderSearch.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace all uses of PathV1::exists with PathV2::fs::exists.Michael J. Spencer2011-01-101-2/+3
| | | | llvm-svn: 123150
* Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}.Michael J. Spencer2010-12-171-1/+1
| | | | llvm-svn: 122087
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120297
* now the FileManager has a FileSystemOpts ivar, stop threadingChris Lattner2010-11-231-17/+12
| | | | | | | | | FileSystemOpts through a ton of apis, simplifying a lot of code. This also fixes a latent bug in ASTUnit where it would invoke methods on FileManager without creating one in some code paths in cindextext. llvm-svn: 120010
* remove old compatibility APIs, use StringRef versions instead.Chris Lattner2010-11-211-13/+7
| | | | llvm-svn: 119935
* Implement -working-directory.Argyrios Kyrtzidis2010-11-031-11/+19
| | | | | | | | | | | | | | | | | | | When -working-directory is passed in command line, file paths are resolved relative to the specified directory. This helps both when using libclang (where we can't require the user to actually change the working directory) and to help reproduce test cases when the reproduction work comes along. --FileSystemOptions is introduced which controls how file system operations are performed (currently it just contains the working directory value if set). --FileSystemOptions are passed around to various interfaces that perform file operations. --Opening & reading the content of files should be done only through FileManager. This is useful in general since file operations will be abstracted in the future for the reproduction mechanism. FileSystemOptions is independent of FileManager so that we can have multiple translation units sharing the same FileManager but with different FileSystemOptions. Addresses rdar://8583824. llvm-svn: 118203
* Revert r110440, the fix for PR4897. Chris claims to have a better way.Douglas Gregor2010-08-081-24/+20
| | | | llvm-svn: 110544
* Fix the #include search path when reading from stdin, from Jon Simons!Douglas Gregor2010-08-061-20/+24
| | | | | | Fixes PR4897. llvm-svn: 110440
* stringref'ize a bunch of filename handling logic. MuchChris Lattner2010-01-101-28/+24
| | | | | | nicer than passing around two const char*'s. llvm-svn: 93094
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-56/+56
| | | | llvm-svn: 81346
* use the new Path::isAbsolute function, fixing a fixme. Patch by Gregory ↵Chris Lattner2009-06-151-3/+1
| | | | | | Curfman! llvm-svn: 73370
* Lazily load the controlling macros for all of the headers known in theDouglas Gregor2009-04-251-6/+20
| | | | | | | | PCH file. In the Cocoa-prefixed "Hello, World" benchmark, this takes us from reading 503 identifiers down to 37 and from 470 macros down to 4. It also results in an 8% performance improvement. llvm-svn: 70094
* Add PCH support for #import.Steve Naroff2009-04-241-3/+9
| | | | llvm-svn: 69987
* improve compatibility with GCC 4.4, patch by Michel Salim (PR3697)Chris Lattner2009-03-021-0/+1
| | | | llvm-svn: 65884
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-151-0/+425
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
OpenPOWER on IntegriCloud