hanchenye-llvm-project/clang/test/SemaObjCXX
Douglas Gregor 959d5a0cbd Implement support for variable length arrays in C++. VLAs are limited
in several important ways:

  - VLAs of non-POD types are not permitted.
  - VLAs cannot be used in conjunction with C++ templates.

These restrictions are intended to keep VLAs out of the parts of the
C++ type system where they cause the most trouble. Fixes PR5678 and
<rdar://problem/8013618>.

llvm-svn: 104443
2010-05-22 16:17:30 +00:00
..
blocks.mm Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +00:00
category-lookup.mm Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
composite-objc-pointertype.mm Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
conditional-expr.mm Initialization improvements: addition of string initialization and a few 2009-12-19 08:11:05 +00:00
const-cast.mm Permit Objective C object pointers to be const_casted. 2010-05-18 09:35:29 +00:00
conversion-to-objc-pointer-2.mm Objective-C++ Sema. Fix a bug in instantiation of receivers. 2010-05-13 17:19:25 +00:00
conversion-to-objc-pointer.mm Objective-C++ Sema. Fix a bug in instantiation of receivers. 2010-05-13 17:19:25 +00:00
cstyle-block-pointer-cast.mm Also allow cast of block pointer type to 2010-01-21 00:05:09 +00:00
cstyle-cast.mm When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
deduction.mm Substantially alter the design of the Objective C type AST by introducing 2010-05-15 11:32:37 +00:00
function-pointer-void-star.mm Allow comparison of 'void *' with function pointer 2009-12-21 18:19:17 +00:00
instantiate-expr.mm Implement template instantiation for implicit property references in 2010-04-26 21:04:54 +00:00
instantiate-message.mm Implement template instantiation for Objective-C++ message sends. We 2010-04-22 16:44:27 +00:00
instantiate-stmt.mm Implement template instantiation for Objective-C @catch 2010-04-26 17:57:08 +00:00
ivar-construct.mm Various small fixes for construction/destruction of Objective-C++ 2010-05-20 02:24:22 +00:00
ivar-lookup.mm More tests for Objective-C-related name lookup weirdness. Yes, it's 2010-04-19 19:10:40 +00:00
ivar-reference-type.mm Diagnose declaration of reference typed ivars. 2010-04-26 22:07:03 +00:00
ivar-struct.mm Reinstate r104117, Chandler Carruth's change that "[provides] a naming 2010-05-20 20:58:56 +00:00
linkage-spec.mm When upgrading an Objective-C class from a forward declaration to a 2010-04-09 21:30:38 +00:00
message.mm Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
objc-decls-inside-namespace.mm Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc-pointer-conv.mm Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
objc2-merge-gc-attribue-decl.mm Adds support for ObjC++'s GC attribute on declaration of 2010-05-19 21:37:30 +00:00
overload-1.mm Test for my last patch. 2010-05-03 21:06:59 +00:00
overload.mm Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
parameters.mm Add another test case for r101029, which verifies that we now 2010-04-12 07:51:13 +00:00
pointer-to-objc-pointer-conv.mm Allow conversion of pointer to an objective-c pointer to 2010-01-18 22:59:22 +00:00
protocol-lookup.mm Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
references.mm Diagnose property of reference type as unsupported 2009-12-16 18:03:30 +00:00
reinterpret-cast-objc-pointertype.mm Patch to allow reinterpret_cast on objective-c pointers. 2010-02-03 20:32:31 +00:00
reserved-keyword-selectors.mm Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
standard-conversion-to-bool.mm Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-cast.mm Objective-C++ Sema - Allow static_cast of one objc pointer to 2010-05-12 18:16:59 +00:00
vararg-non-pod.mm When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
vla.mm Implement support for variable length arrays in C++. VLAs are limited 2010-05-22 16:17:30 +00:00
void_to_obj.mm Allow static_cast to objective-c pointers. 2010-05-10 23:46:53 +00:00