llvm-project/clang/test/Import
Richard Smith c36b03e325 The type of a reference to a non-type template parameter pack should
not be a pack expansion type.

Using a pack expansion type for a pack declaration makes sense, but
general expressions should never have pack expansion types. If we have a
pack `T *...V`, then the type of `V` is the type `T *`, which contains
an unexpanded pack, and is a pointer type.

This allows us to better diagnose issues where a template is invalid due
to some non-dependent portion of a dependent type of a non-type template
parameter pack.
2020-06-18 17:52:13 -07:00
..
array-init-loop-expr
attr
builtin-template [ASTImporter] Add support for BuiltinTemplateDecl 2019-10-30 14:53:35 +01:00
call-expr [clang][AST] TextNodeDumper: dump the operator spelling for overloaded operators. 2020-06-09 15:18:14 +01:00
clang-flags
compound-assign-op
conflicting-struct
conversion-decl
cxx-anon-namespace [ASTImporter] Various source location and range import fixes. 2019-12-05 17:44:13 +01:00
cxx-casts
cxx-default-init-expr
cxx-for-range
cxx-member-pointers
cxx-noexcept-expr
cxx-record-flags [ASTImporter] Copy Argument Passing Restrictions setting when importing a CXXRecordDecl definition 2019-04-26 18:51:28 +00:00
cxx-scalar-value-init
cxx-try-catch
destructor [ASTImporter] Fix importing OperatorDelete from CXXConstructorDecl 2019-01-22 17:59:45 +00:00
direct
do-stmt
empty-struct
enum [ASTImporter] Various source location and range import fixes. 2019-12-05 17:44:13 +01:00
error-in-expression
error-in-import
expr-with-cleanups
extern-c-function
for-stmt
forward-declared-objc-class
forward-declared-struct
if-stmt
import-overrides
in-class-initializer
indirect-goto
indirect-struct-member-access
inherited-ctor-init-expr
local-struct
local-struct-use-origins
member-in-struct
missing-import
multiple-forward-declarations
namespace [ASTImporter] Various source location and range import fixes. 2019-12-05 17:44:13 +01:00
objc-arc [CodeGen] Emit destructor calls to destruct compound literals 2020-03-10 14:08:28 -07:00
objc-autoreleasepool
objc-definitions-in-expression
objc-method
objc-param-decl
objc-try-catch
overloaded-function
pack-expansion-expr The type of a reference to a non-type template parameter pack should 2020-06-18 17:52:13 -07:00
struct-and-var Tighten up CHECK lines added in a9f10ebffa to work on ARM. 2019-12-05 18:35:08 -08:00
struct-in-namespace
struct-layout
switch-stmt Compound literals, enums, et al require const expr 2018-11-09 00:41:36 +00:00
template
template-specialization [ASTImporter] Various source location and range import fixes. 2019-12-05 17:44:13 +01:00
while-stmt [AST] Only store the needed data in WhileStmt 2018-10-30 13:42:41 +00:00