hanchenye-llvm-project/clang/test/CXX
Lang Hames df5c121f8e Add a warning for implicit conversion from function literals (and static
methods) to bool. E.g.

void foo() {}
if (f) { ... // <- Warns here.
}

Only applies to non-weak functions, and does not apply if the function address
is taken explicitly with the addr-of operator.

llvm-svn: 145849
2011-12-05 20:49:50 +00:00
..
basic When we notice that a member function is defined with "= delete" or "= 2011-11-07 20:56:01 +00:00
class Include named unions in union member init checking 2011-11-17 06:01:57 +00:00
class.access Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
class.derived Handle redundant 'typename' on base class specifications. 2011-10-25 18:46:41 +00:00
conv Compute the promoted integer type of fixed-width enums correctly. Found by inspection. 2011-10-26 07:38:19 +00:00
dcl.dcl Resolve placeholder expressions before trying to deduce 2011-11-15 01:35:18 +00:00
dcl.decl When we notice that a member function is defined with "= delete" or "= 2011-11-07 20:56:01 +00:00
except Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
expr Support decltype in nested-name-specifiers. 2011-12-04 05:04:18 +00:00
lex Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
over Add a warning for implicit conversion from function literals (and static 2011-12-05 20:49:50 +00:00
special When synthesizing an implicitly-defined copy or move constructor, or 2011-11-28 20:03:15 +00:00
stmt.stmt Add -Wc++98-compat diagnostics for jumps which bypass initialization of non-POD 2011-10-20 21:42:12 +00:00
temp Some tests missed from r144056. 2011-11-08 02:18:13 +00:00