[cfe-commits] PR7247: Extension to ignore global templates with same name as member (issue1477041)

jyasskin at gmail.com jyasskin at gmail.com
Wed Jun 2 11:19:35 PDT 2010

Reviewers: cfe-commits_cs.uiuc.edu,

I couldn't find a way to use this error in SFINAE, so I didn't keep it
working there. If anyone can send me a test case for that, I'll be happy
to fix it.

Downgrades the error to a warning in:

template<typename T> struct set{};
struct Value {
     template<typename T>
     void set(T value) {
void foo() {
     Value v;

Please review this at http://codereview.appspot.com/1477041/show

Affected files:
   M     docs/UsersManual.html
   M     include/clang/Basic/DiagnosticGroups.td
   M     include/clang/Basic/DiagnosticSemaKinds.td
   M     lib/Sema/SemaTemplate.cpp
   A     test/CXX/basic/basic.lookup/basic.lookup.classref/p1.cpp

More information about the cfe-commits mailing list