]> granicus.if.org Git - clang/commit
Introduce an egregious hack to work around a bug in libstdc++ 4.2.x's
authorDouglas Gregor <dgregor@apple.com>
Thu, 8 Apr 2010 18:16:15 +0000 (18:16 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 8 Apr 2010 18:16:15 +0000 (18:16 +0000)
commitc53d0d762010217d02da5aa14be171817d63e3fe
treeb130fd413ab98eed898a865f33be060800fc3bdb
parent6f46c2653c1545cc3fef0c0df996d18160160ce8
Introduce an egregious hack to work around a bug in libstdc++ 4.2.x's
<tr1/hashtable> header, where a friend class template
std::tr1::__detail::_Map_base is declared with the wrong template
parameters. GCC doesn't catch the problem, so Clang does a little
back-flip to avoid diagnosing just this one instance of the problem.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100790 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/SemaCXX/libstdcxx_is_pod_hack.cpp
test/SemaCXX/libstdcxx_map_base_hack.cpp [new file with mode: 0644]