llvm-project/clang/test/CXX/basic
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.def Implement C++17 P0386R2, inline variables. (The 'inline' specifier gives a 2016-06-25 00:15:56 +00:00
basic.def.odr
basic.link Correctly compute linkage for members of internal linkage classes. 2017-09-23 04:02:17 +00:00
basic.lookup Add a "vexing parse" warning for ambiguity between a variable declaration and a 2017-09-29 23:57:25 +00:00
basic.scope Add IDNS_Tag to C++ declarations that conflict with tag declarations. 2017-09-07 20:22:00 +00:00
basic.start Allow constexpr construction of subobjects unconditionally, not just in C++14. 2017-01-09 21:38:07 +00:00
basic.stc/basic.stc.dynamic Re-commit r283722, reverted in r283750, with a fix for a CUDA-specific use of 2016-10-10 18:54:32 +00:00
basic.types P0136R1, DR1573, DR1645, DR1715, DR1736, DR1903, DR1941, DR1959, DR1991: 2016-06-28 19:03:57 +00:00