Reviewers: cfe-commits_cs.uiuc.edu,
Message:
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.
Description:
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;
v.set<double>(3.2);
}
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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits