llvm-project/clang/test
Chris Lattner 6fb0ccfa0f Enhance the IR type lowering code to be much smarter about recursively lowering
types.  Fore xample, we used to lower:

struct bar { int a; };
struct foo {
 void (*FP)(struct bar);
} G;

to:

%struct.foo = type { {}* }

since the function pointer would cause recursive translation of bar and
we didn't know if that would get us into trouble.  We are now smart enough
to know that it is fine, so we get this type instead:

%struct.foo = type { void (i32)* }

Codegen still needs to be prepared for uncooperative types at any place,
which is why I let the maximally uncooperative code sit around for awhile to
help shake out the bugs.

llvm-svn: 135244
2011-07-15 05:16:14 +00:00
..
ARCMT [arcmt] Don't remove retains/releases on a global variable, flag them with errors. rdar://9402555. 2011-07-14 23:32:04 +00:00
ASTMerge Flip the default for showing include stacks on notes to false. This 2011-03-27 20:00:08 +00:00
Analysis Teach the static analyzer's interpretation of Cocoa conventions to 2011-07-06 16:00:34 +00:00
CXX Revert 135177 to fix PR10363. 2011-07-14 22:58:04 +00:00
CodeCompletion Fix an assertion when code-completing, rdar://9288730 & http://llvm.org/PR9728. 2011-04-23 01:04:12 +00:00
CodeGen Enhance the IR type lowering code to be much smarter about recursively lowering 2011-07-15 05:16:14 +00:00
CodeGenCXX Reapply r134946 with fixes. Tested on Benjamin testcase and other test-suite failures. 2011-07-13 21:58:55 +00:00
CodeGenObjC Don't crash if defining -dealloc in a category. 2011-07-13 18:26:47 +00:00
CodeGenObjCXX Okay, that rule about zero-length arrays applies to destroying 2011-07-13 08:09:46 +00:00
CodeGenOpenCL Do not violate the opencl casting rules. This test case still illustrates the problem. In the future, we should throw an error when doing invalid casting. 2011-07-07 00:12:54 +00:00
Coverage Remove the AST printer (-ast-print-xml), which is too incomplete and 2011-03-07 01:03:30 +00:00
Driver Implement -MG. Fixes PR9613 2011-07-12 19:35:15 +00:00
FixIt Add a hackaround to avoid the crash in PR10355. However, our recovery 2011-07-14 04:54:23 +00:00
Frontend Revert r134898, "test/Frontend/dependency-gen.c: Mark XFAIL: mingw due to PR10331. to appease mingw-target (and non-mingw-host) builds. 2011-07-11 22:34:14 +00:00
Headers Attempt to fix linux buildbots by adding -ffreestanding for arm_neon tests. 2010-12-02 17:31:16 +00:00
Index Update all of the libclang code corresponding to the preprocessor 2011-07-14 08:41:15 +00:00
Lexer Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
Misc Switch the diagnostic messages about macros to use the terms 'expanded' 2011-07-14 08:20:28 +00:00
PCH Make the Preprocessor more memory efficient and improve macro instantiation diagnostics. 2011-07-07 03:40:34 +00:00
Parser Change __debugbreak signature to void __debugbreak(void); MSVC compatibility. 2011-07-10 14:15:07 +00:00
Preprocessor Reenable test. 2011-07-11 21:58:47 +00:00
Rewriter Fixup more objc rwriter bug having to do with 2011-04-11 21:17:02 +00:00
Sema Fix false negative reported in PR 10358 by using 'Unknown' in -Wuninitialized to avoid cascading warnings. Patch by Kaelyn Uhrain. 2011-07-14 23:43:06 +00:00
SemaCUDA Sema: diagnose kernel calls to non-global functions 2011-02-23 01:53:29 +00:00
SemaCXX Remove warnings of constant operands of logical operators from template instantiations. Upon instantiation of template, value-dependent parameters are replaced by equivalent literals, so code like: 2011-07-15 00:00:51 +00:00
SemaObjC With -Wselector, don't warn about unimplemented optional method 2011-07-13 19:05:43 +00:00
SemaObjCXX objc++: Some level of covariance is allowed in ObjC properties. 2011-07-13 17:55:01 +00:00
SemaOpenCL OpenCL: if double precision floating point constant encountered 2011-03-11 19:24:59 +00:00
SemaTemplate PR10359: Template declarations which define classes are not permitted to also contain declarators. Previously we would accept code like this: 2011-07-14 21:35:26 +00:00
Unit test/Unit: Fixup lit.cfg to allow running inside test/Unit (with llvm-config in 2011-06-22 21:46:43 +00:00
CMakeLists.txt test/CMakeLists.txt: clang-test may depend on llc when LLVM is built together. 2011-07-10 17:45:28 +00:00
Makefile lit support for REQUIRES: asserts. 2011-06-22 23:23:49 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Added registered targets for in-test dependency declarations. 2011-06-03 18:36:30 +00:00
lit.site.cfg.in lit support for REQUIRES: asserts. 2011-06-22 23:23:49 +00:00
make_test_dirs.pl