llvm-project/clang/test/Sema
Eli Friedman 9782caa369 Allow initializing a vector with a vector in addition to allowing a list
of the elements.  Issue reported on cfe-dev by Mattias Holm.

llvm-svn: 73292
2009-06-13 10:38:46 +00:00
..
128bitint.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR2727.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR2728.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR2919-builtin-types-compat-strips-crv.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR2923.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR2963-enum-constant.c Make VerifyIntegerConstantExpr print extension warnings for non-ICEs. 2009-04-25 22:26:58 +00:00
address-constant.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
address_spaces.c fix rdar://6774906, a crash handling implicit conversions between pointers 2009-04-13 06:04:39 +00:00
align-x86.c Extend getPreferredTypeAlign to handle _Complex double and long long 2009-05-25 21:27:19 +00:00
annotate.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
anonymous-struct-union.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
arg-duplicate.c When calling a function without a prototype for which we have a 2009-04-02 15:37:10 +00:00
arg-scope-c99.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
arg-scope.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
array-constraint.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
array-declared-as-incorrect-type.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
array-init.c Make sure we don't give the wrong warning, and make sure not to set 2009-05-29 20:20:05 +00:00
asm.c Remove the -arch option from clang-cc: for all practical purposes, it's 2009-05-19 11:12:40 +00:00
assign-null.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
assign.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
ast-print.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-aligned.c Properly compute the alignment of typedefs that make use of the 2009-04-30 17:32:17 +00:00
attr-cleanup.c Correct the order of the parameters to CheckAssignmentConstraints in 2009-04-26 01:30:08 +00:00
attr-deprecated.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-mode.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-nodebug.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-noinline.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-noreturn.c Downgrade an error about "return in a no-return function" from being 2009-05-31 19:32:13 +00:00
attr-regparm.c Finish off semantic analysis for regparm, and remove the warning. Also 2009-03-27 21:06:47 +00:00
attr-unused.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-used.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-warn_unused_result.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-weak.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
bitfield-layout.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
bitfield.c When determining whether an expression refers to a bit-field, look 2009-05-02 02:18:30 +00:00
block-args.c Don't allow defining a block with a non-prototype type. Remove a 2009-06-08 04:24:21 +00:00
block-as-object.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
block-byref-args.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
block-call.c Don't allow defining a block with a non-prototype type. Remove a 2009-06-08 04:24:21 +00:00
block-explicit-return-type.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
block-labels.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
block-literal.c change implicit int warnings to point to the identifier, not the 2009-04-22 05:27:59 +00:00
block-misc.c Don't allow defining a block with a non-prototype type. Remove a 2009-06-08 04:24:21 +00:00
block-printf-attribute-1.c Patch finishes off application of printf attribute on blocks. 2009-05-19 17:08:59 +00:00
block-return.c Fixup Sema and CodeGen for block literal attributes when the return 2009-04-29 21:40:37 +00:00
block-sentinel-attribute.c improved on diagnosing misplacement of sentinel attributes. 2009-05-15 21:18:04 +00:00
block-storageclass.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
builtin-object-size.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
builtin-prefetch.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
builtin-stackaddress.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
builtins.c Test changes to account for removed builtins. 2009-06-06 18:15:42 +00:00
c89-2.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
c89.c Fix a minor edge case in C89 mode related to the definition of a 2009-04-28 17:59:09 +00:00
callingconv.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
carbon-pth.c Improve handling of (X86) target features. 2009-05-06 03:16:41 +00:00
carbon.c Improve handling of (X86) target features. 2009-05-06 03:16:41 +00:00
cast-to-union.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
cast.c PR4013 and PR4105: pointer-like types can only be cast to/from integers 2009-05-01 02:23:58 +00:00
check-increment.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
compare.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
complex-int.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
complex-promotion.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
compound-literal.c PR3009: Get rid of bogus warning for scalar compound literals. 2009-05-16 11:45:48 +00:00
conditional-expr.c Sema::CheckConditionalOperands(): Soften pointer/integer mismatch from error->warning. 2009-04-08 17:05:15 +00:00
conditional.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
const-eval.c PR4326: Handle constant evaluation for void* pointer subtraction 2009-06-04 20:04:03 +00:00
const-ptr-int-ptr-cast.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
constant-builtins-2.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
constant-builtins.c Simplify the scheme used for keywords, and change the classification 2009-04-28 03:13:54 +00:00
constructor-attribute.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
darwin-align-cast.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
decl-invalid.c improve the diagnostic for uses of the GCC "global variable in a register" extension. 2009-05-12 21:44:00 +00:00
decl-type-merging.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
declspec.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
default.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
default1.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
deref.c PR2524: downgrade taking address of expression of type 'void' to an 2009-05-03 22:36:05 +00:00
designated-initializers.c Remove the -arch option from clang-cc: for all practical purposes, it's 2009-05-19 11:12:40 +00:00
dllimport-dllexport.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
enum.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
expr-address-of.c Some cleanup and bug-fixing for address-of checking. This causes a couple of 2009-04-20 08:23:18 +00:00
expr-comma-c89.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
expr-comma.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
exprs.c Parse typeof-specifier the same way as sizeof/alignof are parsed. 2009-05-22 10:22:18 +00:00
ext_vector_components.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
flexible-array-init.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
floating-point-compare.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
for.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
format-attribute.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
format-string-percentm.c PR4142: Add %m format string specifier. 2009-06-02 08:36:19 +00:00
format-strings.c Fix <rdar://problem/6880975> [format string] Assertion failed: (Arg < NumArgs && "Arg access out of range!"). 2009-05-13 16:06:05 +00:00
function-pointer-sentinel-attribute.c This patch finishes off the sentinel attribute handling for 2009-05-15 20:33:25 +00:00
function-ptr.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
function-redecl.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
function-sentinel-attr.c Diagnose missing sentinel argument on a funciton call 2009-05-14 18:00:00 +00:00
function.c Simplify the scheme used for keywords, and change the classification 2009-04-28 03:13:54 +00:00
gnu89.c restrict is not a keyword in gnu89 mode. Change TokenKinds.def to 2009-05-27 22:48:34 +00:00
heinous-extensions-off.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
heinous-extensions-on.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
i-c-e.c Simplify the scheme used for keywords, and change the classification 2009-04-28 03:13:54 +00:00
if-empty-body.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
illegal-types.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
implicit-builtin-decl.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
implicit-builtin-freestanding.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
implicit-builtin-redecl.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
implicit-cast.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
implicit-decl.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
implicit-def.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
implicit-int.c change implicit int warnings to point to the identifier, not the 2009-04-22 05:27:59 +00:00
incompatible-sign.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
incomplete-call.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
incomplete-decl.c Add warning when a tentative array definition is assumed to have one element. 2009-04-15 21:35:27 +00:00
indirect-goto.c Sanity-check argument to indirect goto. 2009-03-26 07:32:37 +00:00
init-struct-qualified.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
init-vector.c Allow initializing a vector with a vector in addition to allowing a list 2009-06-13 10:38:46 +00:00
init.c Fix for PR4285: allow intializing a const wchar_t array with a wide 2009-05-31 10:54:53 +00:00
inline.c Diagnose uses of function specifiers on declarations which don't declare 2009-04-07 19:37:57 +00:00
int-arith-convert.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
invalid-decl.c This is a pretty big cleanup for how invalid decl/type are handle. 2009-04-25 08:06:05 +00:00
invalid-init-diag.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
invalid-struct-init.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
knr-def-call.c When calling a function without a prototype for which we have a 2009-04-02 15:37:10 +00:00
knr-variadic-def.c PR4287: allow a variadic prototype to make a subsequent K&R style 2009-06-01 09:24:59 +00:00
member-reference.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
merge-decls.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
ms-fuzzy-asm.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
nested-redef.c Change SemaType's "GetTypeForDeclarator" and "ConvertDeclSpecToType" to 2009-04-25 08:47:54 +00:00
nonnull.c merge two tests. 2009-05-25 18:20:11 +00:00
offsetof.c Fix for PR4079: make sure to construct the member expressions for 2009-04-26 20:50:44 +00:00
overloadable-complex.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
overloadable.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
pointer-addition.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
pointer-subtract-compat.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
pragma-pack-2.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
pragma-pack-3.c Add a test case to showcase a difference in #pragma pack handling 2009-05-13 21:34:08 +00:00
pragma-pack.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
pragma-unused.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
predef.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
predefined-function.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
private-extern.c Fix <rdar://problem/6789707> "warning: 'extern' variable has an initializer" not correct for __private_extern__. 2009-04-15 15:20:03 +00:00
rdar6248119.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
rdr6094103-unordered-compare-promote.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
recover-goto.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
redefinition.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
return-silent.c Name the "return-type" DiagGroup and reference it in a few places. 2009-04-30 17:53:16 +00:00
return.c Name the "return-type" DiagGroup and reference it in a few places. 2009-04-30 17:53:16 +00:00
scope-check.c run the jump checker on blocks, even though they don't have gotos, 2009-04-19 05:28:12 +00:00
self-comparison.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
sentinel-attribute.c Adds recognition of sentinel attribute on block declarations. 2009-05-14 20:53:39 +00:00
shift.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
statements.c __builtin_prefetch should be declared as "void __builtin_prefetch(const void *)", 2009-04-18 06:51:21 +00:00
static-init.c Remove the -arch option from clang-cc: for all practical purposes, it's 2009-05-19 11:12:40 +00:00
stdcall-fastcall.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
struct-cast.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
struct-compat.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
struct-decl.c Fix PR4092 by improving error recovery in two ways: 2009-04-29 05:12:23 +00:00
struct-packed-align.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
surpress-deprecated.c Add -Wdeprecated-declarations to driver and add a test case. 2009-03-31 17:28:26 +00:00
switch.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
tentative-decls.c This is a pretty big cleanup for how invalid decl/type are handle. 2009-04-25 08:06:05 +00:00
text-diag.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
thread-specifier.c Print an error for uses of __thread on targets which don't support it. 2009-04-19 21:48:33 +00:00
transparent-union-pointer.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
transparent-union.c Implement semantic analysis for transparent unions. This is largely 2009-04-29 22:16:16 +00:00
type-spec-struct-union.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
typecheck-binop.c Make sure to use RequireCompleteType rather than testing for 2009-03-24 19:52:54 +00:00
typedef-prototype.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
typedef-redef.c tweak redefinition of a typedef a bit to fix a couple of problems: 2009-04-17 22:04:20 +00:00
typedef-retain.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
typedef-variable-type.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
types.c Fix rdar://6880951 by rejecting vectors of vectors. 2009-05-13 05:13:44 +00:00
ucn-cstring.c Incorporate feedback from Eli. 2009-03-31 10:29:45 +00:00
unnamed-bitfield-init.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
unused-expr.c Driver: Manually translate a number of -f with no- variants options to 2009-04-07 21:16:11 +00:00
usual-float.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
va_arg_x86_32.c Add stricter checking for va_arg. 2009-05-16 12:46:54 +00:00
va_arg_x86_64.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
var-redecl.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
varargs-x86-64.c Daniel convinced me that accepting "const va_list" arguments to va_arg is 2009-04-06 17:07:34 +00:00
varargs.c PR2524: downgrade taking address of expression of type 'void' to an 2009-05-03 22:36:05 +00:00
variadic-block.c Fix <rdar://problem/6786597> varargs not supported for Blocks under clang. 2009-04-15 19:33:47 +00:00
vector-assign.c adjust for the new -Wvector-conversions option 2009-04-17 18:39:25 +00:00
vector-cast.c adjust for the new -Wvector-conversions option 2009-04-17 18:39:25 +00:00
vector-init.c Fix rdar://6881069, a crash on a form of vector_size that we 2009-05-13 04:00:12 +00:00
vfprintf-invalid-redecl.c PR4290: Handle vfprintf in a way that doesn't give any diagnostics for 2009-06-03 09:54:50 +00:00
vfprintf-valid-redecl.c PR4290: Handle vfprintf in a way that doesn't give any diagnostics for 2009-06-03 09:54:50 +00:00
vla.c Revert r72575, which isn't really right, and fix up other code to 2009-05-29 18:22:49 +00:00
void_arg.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
warn-freestanding-complex.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
warn-missing-prototypes.c add radar number 2009-04-11 17:26:58 +00:00
wchar.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00