clang-1/test/Parser
Sebastian Redl a4ed0d8d75 Diagnose declarations that don't declare anything, and fix PR3020.
Examples:
int;
typedef int;

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61454 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-28 15:28:59 +00:00
..
2008-10-31-parse-noop-failure.c "One" line fix for -parse-noop failure, "id" and several other things 2008-10-31 08:56:51 +00:00
CompoundStmtScope.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
MicrosoftExtensions.c Add parser support for __forceinline, __w64, __ptr64. 2008-12-25 14:41:26 +00:00
argument_qualified.c Stage two of getting CFE top correct. 2007-07-11 17:01:13 +00:00
argument_redef.c Make all the 'redefinition' diagnostics more consistent, and make the 2008-11-23 23:12:31 +00:00
argument_scope.c Stage two of getting CFE top correct. 2007-07-11 17:01:13 +00:00
asm.c Fix a couple crashes on invalid input. 2008-05-27 23:32:43 +00:00
attributes.c Support attributes in *yet another* place. Is there any place you 2008-10-20 04:57:38 +00:00
bad-control.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
block-block-storageclass.c Pull code from last commit. will put back soon. 2008-09-02 18:04:36 +00:00
block-pointer-decl.c instead of forcing blocks on by default, make them default to off, but let 2008-12-04 23:20:07 +00:00
builtin_classify_type.c Improve VLA diagnostics/sema checking. Fixes PR2361 and PR2352. 2008-12-07 00:20:55 +00:00
builtin_types_compatible.c Merge all the 'assignment' diagnostic code into one routine, decloning 2008-01-04 18:04:52 +00:00
c-namespace.c Stage two of getting CFE top correct. 2007-07-11 17:01:13 +00:00
char-literal-printing.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
check-objc2-syntax-1.m Patch to prevent crash on use of objc2 syntax. 2007-12-05 18:16:33 +00:00
check-syntax-1.m Issue diagnostic when objective-c's @interface is preceeded by a type specifier. 2008-01-02 19:17:38 +00:00
check_cast.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
compound_literal.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
control-scope.c Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00
cxx-bool.cpp Stage two of getting CFE top correct. 2007-07-11 17:01:13 +00:00
cxx-casting.cpp C++ casts, (static_cast. dynamic_cast, etc.) can have postfix-expression pieces. 2008-08-16 19:45:32 +00:00
cxx-class.cpp implement PR3177 - "__extension__ union" not supported in C++ mode 2008-12-18 01:12:00 +00:00
cxx-condition.cpp Fix test case. 2008-09-09 20:56:12 +00:00
cxx-exception-spec.cpp Simple parsing of exception specifications, with no semantic analysis yet 2008-11-25 03:22:00 +00:00
cxx-reference.cpp Implement initialization of a reference (C++ [dcl.init.ref]) as part 2008-10-29 00:13:59 +00:00
cxx-template-decl.cpp Diagnose declarations that don't declare anything, and fix PR3020. 2008-12-28 15:28:59 +00:00
cxx-try.cpp Parser support for C++ try-catch. 2008-12-21 16:41:36 +00:00
cxx-typeid.cpp Implement C++ 'typeid' parsing and sema. 2008-11-11 11:37:55 +00:00
cxx-typeof.cpp Support "typeof unary-expression" (GNU C++ extension). 2008-09-05 11:26:19 +00:00
cxx-variadic-func.cpp Allow variadic arguments without named ones for C++, e.g. "void(...);" 2008-10-06 00:07:55 +00:00
declarators.c Fix PR3031 by silencing follow-on errors in invalid declarations. 2008-11-11 06:13:16 +00:00
designator.c add some simple designator testcases. Reject things like this: 2008-10-26 23:22:23 +00:00
encode.m this patch accomodates clattner's comments on expression processing in @try-statement. 2007-10-04 20:19:06 +00:00
enhanced-proto-1.m Fixed a parsing bug whereby @optional/@required keyword is not followed by 2007-12-11 18:34:51 +00:00
expressions.c Parse "sizeof(arr)[0]" as a sizeof of an expr if arr 2007-11-13 20:50:37 +00:00
expressions.m Fix a crash on a top-level objc string, patch by Nico Weber 2007-12-27 20:29:42 +00:00
extension.c implement a fixme: __extension__ marker on decls in compound stmts. 2007-08-27 01:01:57 +00:00
function-decls.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
goto-ident.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
if-scope-c90.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
if-scope-c99.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
implicit-casts.c Fix PR2042. One remaining issue: we don't currently diagnose 2008-02-17 19:31:09 +00:00
method-prototype-1.m 1. Fix parsing of method prototype involving c-style argument declarations. 2007-09-05 19:52:07 +00:00
namelookup-bug-1.c Fixed a bug whereby, struct tag name matches a typedef/objc-class name 2007-10-12 16:34:10 +00:00
namelookup-bug-2.c Fixed a bug whereby, struct tag name matches a typedef/objc-class name 2007-10-12 16:34:10 +00:00
objc-alias-printing.m This patch implementa objective-c's @compatibilty-alias declaration. 2007-10-11 23:42:27 +00:00
objc-category-neg-1.m Don't ICE on missing interface declaration when declaring one of its protocols. 2008-01-17 20:33:24 +00:00
objc-forcollection-1.m Patch to add semantics check for ObjC2's foreacn statement. 2008-01-04 00:27:46 +00:00
objc-forcollection-neg-2.m Change a whole lot of diagnostics to take QualType's directly 2008-11-24 06:25:27 +00:00
objc-forcollection-neg.m Change a whole lot of diagnostics to take QualType's directly 2008-11-24 06:25:27 +00:00
objc-foreach-error-1.m "this patch adds code generation hooks for Objective-C constant strings. It also modifies Sema so that Objective-C constant strings are treated as untyped objects if the interface for the constant string class can not be found. This is consistent with Apple GCC. I thought it was consistent with GNU GCC, since this was causing failures when trying to compile GNUstep with (GNU) GCC, but it appears that this is not the case when attempting to produce a simple test case to demonstrate it. Possibly there is a way of making the error go away, but I haven't found out what it is yet." 2008-06-21 21:44:18 +00:00
objc-init.m implement some more FIXMEs, by rejecting more bogus stuff in 2008-10-26 23:29:41 +00:00
objc-messaging-1.m Fix rdar://6222856: the receiver of a message expr is an 2008-09-19 17:44:00 +00:00
objc-messaging-neg-1.m Prevent crash on incorrect objc messaging expression. 2008-01-02 18:09:46 +00:00
objc-missing-impl.m Remove non-ascii chaaracter from diagnostic 2008-01-10 18:10:31 +00:00
objc-quirks.m Parser support for prefix __attribute__ on @protocol. 2008-09-26 04:48:09 +00:00
objc-try-catch-1.m Merge function-return.c into function.c 2008-12-18 02:01:17 +00:00
objc-type-printing.m Implemented parsing of objctive-c protocol conforming type used in 2007-10-11 18:08:47 +00:00
ocu_vector_components.c Extend vector member references to include {.hi, .lo, .e, .o} which return a 2008-05-09 06:41:27 +00:00
parmvardecl_conversion.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
pointer-arithmetic.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
pointer_promotion.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
pragma-pack.c Convert IdentifierInfo's to be printed the same as DeclarationNames 2008-11-23 21:45:46 +00:00
prefix-attributes.m Parser support for prefix __attribute__ on @protocol. 2008-09-26 04:48:09 +00:00
promote_types_in_proto.c Fix Sema::ParseCallExpr()...it wasn't doing the default array/function promotions on it's argument types. 2007-07-24 21:46:40 +00:00
recovery.c Oops, accidentally commited the wrong version of the test (original 2008-12-17 22:22:03 +00:00
selector-1.m remove typedef. 2007-10-18 00:38:23 +00:00
statements.c Fix a couple of suboptimalities in error recovery. 2008-11-13 18:52:53 +00:00
struct-recursion.c Stage two of getting CFE top correct. 2007-07-11 17:01:13 +00:00
traditional_arg_scope.c Test from PR2332; bug already fixed by r51311. 2008-05-20 12:55:29 +00:00
typeof.c make the 'to match this' diagnostic a note. 2008-11-23 23:17:07 +00:00
types.c Stage two of getting CFE top correct. 2007-07-11 17:01:13 +00:00