]> granicus.if.org Git - clang/commit
Pass through context for DiagHandler in VFS
authorBen Langmuir <blangmuir@apple.com>
Mon, 24 Feb 2014 20:56:37 +0000 (20:56 +0000)
committerBen Langmuir <blangmuir@apple.com>
Mon, 24 Feb 2014 20:56:37 +0000 (20:56 +0000)
commit02ed63841276d2205598d8a02b6ebf6e06960957
treec8524b9e5b2dbb27b30a4e9580556dd7abc52d28
parentd55429f14a23e27dda52d2688e8432ae0525bc21
Pass through context for DiagHandler in VFS

This allows the unit tests to not use global state when checking
diagnostics.

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