]> granicus.if.org Git - clang/commit
Downgrade the "variadic templates are a C++0x feature" error to an
authorDouglas Gregor <dgregor@apple.com>
Wed, 19 Jan 2011 21:59:15 +0000 (21:59 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 19 Jan 2011 21:59:15 +0000 (21:59 +0000)
commit5ce5f5221217b64193799c2a4d5aa84432d3fba4
treeb5b2f224f508dd66224da54778d3908ac54fe7af
parentd967e31ee796efff24b84b704a063634f6b55627
Downgrade the "variadic templates are a C++0x feature" error to an
ExtWarn. We want variadic templates to be usable in libc++/libstdc++
headers even when we're in C++98/03 mode, since it's the only clean
way to implement TR1 <functional>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123852 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticCommonKinds.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Parse/ParseTemplate.cpp
lib/Sema/SemaType.cpp