]> granicus.if.org Git - clang/commit
Fix test issues from r211623 and remove test-only API
authorBen Langmuir <blangmuir@apple.com>
Tue, 24 Jun 2014 21:08:13 +0000 (21:08 +0000)
committerBen Langmuir <blangmuir@apple.com>
Tue, 24 Jun 2014 21:08:13 +0000 (21:08 +0000)
commit93d4222c228925c5c97d0e0190d7e614db1778f3
tree01ac22738110b4c8318a70ce130e7e013c38a274
parentc16ee52c603fbc52fff5fc049b564a4e01e0e95f
Fix test issues from r211623 and remove test-only API

1) missing iterator bits needed by libstdc++4.7
Using find_if was convenient, but since operator++ wasn't a good
interface anyway, I just replaced with a range-based for loop and
removed operator++ from the directory_iterator class.

2) stop relying on order of iterating real files

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211633 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/VirtualFileSystem.h
unittests/Basic/VirtualFileSystemTest.cpp