llvm-project/clang/test/CXX
Richard Smith ac63d63543 Add a "vexing parse" warning for ambiguity between a variable declaration and a
function-style cast.

This fires for cases such as

  T(x);

... where 'x' was previously declared and T is a type. This construct declares
a variable named 'x' rather than the (probably expected) interpretation of a
function-style cast of 'x' to T.

llvm-svn: 314570
2017-09-29 23:57:25 +00:00
..
basic Add a "vexing parse" warning for ambiguity between a variable declaration and a 2017-09-29 23:57:25 +00:00
class Don't warn about runtime behavior problems in variable initializers that we 2017-09-23 18:27:11 +00:00
class.access Switch from using a DiagnosticTrap and a note for "while defining a special 2017-05-25 22:47:05 +00:00
class.derived Add context note to diagnostics that occur while declaring an implicit special member function. 2017-02-23 21:43:43 +00:00
concepts-ts [Concepts] Class template associated constraints 2017-02-10 02:46:19 +00:00
conv [c++1z] P0003R5: Removing dynamic exception specifications. 2016-12-08 02:49:07 +00:00
cpp/cpp.predefined P0035R4: add predefined __STDCPP_DEFAULT_NEW_ALIGNMENT__ macro. By default, we 2016-09-30 22:41:36 +00:00
dcl.dcl Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
dcl.decl Do not inherit default arguments for friend function in class template. 2017-06-08 06:31:19 +00:00
drs DR1113: anonymous namespaces formally give their contents internal linkage. 2017-09-22 22:21:44 +00:00
except Address comments that escaped D33333 2017-07-05 16:43:45 +00:00
expr Don't warn about runtime behavior problems in variable initializers that we 2017-09-23 18:27:11 +00:00
lex Convert test/CXX/lex/lex.literal/lex.string/p4.cpp back to DOS line 2016-01-04 10:17:48 +00:00
modules-ts Add target triple to improve the happiness of MSVC buildbots. 2017-09-07 22:07:52 +00:00
over P0702R1: in class template argument deduction from a list of one element, if 2017-09-07 07:22:36 +00:00
special Fix tracking of whether a destructor would be deleted. 2017-09-22 01:04:22 +00:00
stmt.stmt Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
temp Do not look through pack expansions when looking for unexpanded parameter packs. 2017-08-15 22:58:45 +00:00