llvm-project/clang/test/CXX
Richard Smith 77a9c60aa6 Fix a couple of cases where we would fail to correctly parse deduced class template specialization types.
Specifically, we would not properly parse these types within template arguments
(for non-type template parameters), and in tentative parses. Fixing both of
these essentially requires that we parse deduced template specialization types
as types in all contexts, even in template argument lists -- in particular,
tentative parsing may look ahead and annotate a deduced template specialization
type before we figure out that we're actually supposed to treat the tokens as a
template-name. We deal with this by simply permitting deduced template
specialization types when parsing template arguments, and converting them to
template template arguments.

llvm-svn: 326299
2018-02-28 03:02:23 +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 Remove old concepts parsing code 2017-12-07 00:34:20 +00:00
conv Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +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 Bring r325915 back. 2018-02-23 19:30:48 +00:00
dcl.decl [Sema] Classify conversions from enum to float as narrowing 2018-02-21 10:08:18 +00:00
drs Fix test failure on target where size_t is long long. 2018-02-19 22:50:50 +00:00
except [Sema][Crash] Correctly handle an non-dependent noexcept expr in function template 2017-10-12 23:01:53 +00:00
expr P0620 follow-up: deducing `auto` from braced-init-list in new expr 2017-12-11 18:29:54 +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 Bring r325915 back. 2018-02-23 19:30:48 +00:00
over [Sema] Improve diagnostics for const- and ref-qualified member functions 2017-12-31 18:27:29 +00:00
special Fix tracking of whether a destructor would be deleted. 2017-09-22 01:04:22 +00:00
stmt.stmt [Sema] Improve diagnostics for const- and ref-qualified member functions 2017-12-31 18:27:29 +00:00
temp Fix a couple of cases where we would fail to correctly parse deduced class template specialization types. 2018-02-28 03:02:23 +00:00