summaryrefslogtreecommitdiffstats
path: root/unittests
Commit message (Collapse)AuthorAgeFilesLines
...
* Add CMake support to the clang unittests.Jeffrey Yasskin2011-02-151-0/+47
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125561 91177308-0d34-0410-b5e6-96231b3b80d8
* Improves Clang's virtual file handling.Zhanyong Wan2011-02-113-1/+238
| | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125384 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typo in a comment in tools/clang/unittests/Frontend/Makefile.Zhanyong Wan2011-02-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125182 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Prevent duplicate inclusion of Makefile.rules, which causes make to warnDaniel Dunbar2011-02-041-0/+1
| | | | | | | like crazy. - How no one else is bothered by this I can't understand! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124873 91177308-0d34-0410-b5e6-96231b3b80d8
* Add gTest unittests to clang, and write the first one.Jeffrey Yasskin2011-02-033-0/+122
This is the Makefile version only; the cmake implementation is coming soon. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124777 91177308-0d34-0410-b5e6-96231b3b80d8