llvm-project/clang/unittests
Zhanyong Wan e1dd3e2c31 Improves Clang's virtual file handling.
This patch contains:

- making some of the existing comments more accurate in the presence
of virtual files/directories.

- renaming some private data members of FileManager to match their roles better.

- creating 'DirectorEntry's for the parent directories of virtual
files, such that we can tell whether two virtual files are from the
same directory.  This is useful for injecting virtual files whose
directories don't exist in the real file system.

- minor clean-ups and adding comments for class
FileManager::UniqueDirContainer and FileManager::UniqueFileContainer.

- adding statistics on virtual files to FileManager::PrintStats().

- adding unit tests to verify the existing and new behavior of FileManager.

llvm-svn: 125384
2011-02-11 18:44:49 +00:00
..
FileManager Improves Clang's virtual file handling. 2011-02-11 18:44:49 +00:00
Frontend Fix a typo in a comment in tools/clang/unittests/Frontend/Makefile. 2011-02-09 07:42:47 +00:00
Makefile Improves Clang's virtual file handling. 2011-02-11 18:44:49 +00:00