llvm-project/clang/test
Dylan Noblesmith 4c004f3e13 Preprocessor: fix __OPTIMIZE_SIZE__ and -Oz
Add some tests for __OPTIMIZE_SIZE__ and  __NO_INLINE__,
removing the superfluous copies in the target-specific
tests, since it's target-independent.

This uncovered a bug in the handling of -Oz: it would
attempt to store the value 2 in the 1-bit bitfield OptimizeSize,
leaving a value of 0 and never defining __OPTIMIZE_SIZE__.

llvm-svn: 161495
2012-08-08 16:09:15 +00:00
..
ARCMT objective-c arc: ARC IRGen correctly assumes result 2012-07-30 20:52:48 +00:00
ASTMerge Fix crash at @implementation with a forward reference as base class. 2012-03-13 01:09:36 +00:00
Analysis Turn on strncat-size warning implemented a while ago. 2012-08-07 18:36:58 +00:00
CXX PR13499: Don't try to check whether 'override' has been validly applied until 2012-08-06 03:25:17 +00:00
CodeCompletion Fix an assertion failure when code completing an auto variable's initialiser. 2012-07-27 12:56:09 +00:00
CodeGen Fix MIPS DSP Rev1 intrinsics memory properties. 2012-08-06 19:48:16 +00:00
CodeGenCUDA Replace PTX back-end with NVPTX back-end in all places where Clang cares 2012-05-24 17:43:12 +00:00
CodeGenCXX Fix an assertion failure with a C++ constructor initializing a 2012-08-08 03:51:37 +00:00
CodeGenObjC objc-arc: set nonlazybind attribute on objc_retain/ 2012-08-07 21:30:31 +00:00
CodeGenObjCXX Teach Expr::HasSideEffects about all the Expr types, and fix a bug where it 2012-08-07 04:16:51 +00:00
CodeGenOpenCL Add OpenCL metadata for kernel arg names. This output is controlled via a flag as noted in the OpenCL Spec. 2012-07-11 23:02:10 +00:00
Coverage Rename the GCC Objective-C runtime to gcc from gnu-fragile and the GNUstep 2012-07-03 20:49:52 +00:00
Driver Don't complain about -fobjc-link-runtime being unused with -fobjc-arc. 2012-08-07 19:58:00 +00:00
FixIt Improvements to vexing-parse warnings. Make the no-parameters case more 2012-07-30 21:30:52 +00:00
Frontend Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
Headers Remove the 'intrin.h' builtin header file and its tests for now. 2012-05-07 20:46:58 +00:00
Index Comment AST: DeclInfo: add a special kind for enums. 2012-08-07 18:59:04 +00:00
Lexer Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
Misc PR13529: Don't crash if the driver sees an unused input file when running as 2012-08-06 04:09:06 +00:00
Modules Fix a typo (the the => the) 2012-07-23 08:59:39 +00:00
PCH test/PCH/objc_stmts.m: Suppress stderr to be fed to FileCheck. 2012-07-25 11:14:11 +00:00
Parser Improvements to vexing-parse warnings. Make the no-parameters case more 2012-07-30 21:30:52 +00:00
Preprocessor Preprocessor: fix __OPTIMIZE_SIZE__ and -Oz 2012-08-08 16:09:15 +00:00
Rewriter Remove dependency on string.h 2012-06-29 23:48:43 +00:00
Sema Get rid of an early return in Sema::ActOnFields which doesn't make sense anymore. 2012-08-08 04:39:56 +00:00
SemaCUDA CUDA: diagnose invalid calls across targets 2011-10-02 23:49:40 +00:00
SemaCXX Implement final piece of DR963 and also DR587: 2012-08-08 06:13:49 +00:00
SemaObjC objc-arc: Make -Wdirect-ivar-access accessible to all 2012-08-07 23:48:10 +00:00
SemaObjCXX Objective-C pointer types don't have C-linkage, even though they are 2012-08-07 06:14:34 +00:00
SemaOpenCL Disable the warning for missing prototypes for OpenCL kernels. Includes testcase. 2012-07-26 00:08:28 +00:00
SemaTemplate Improvements to vexing-parse warnings. Make the no-parameters case more 2012-07-30 21:30:52 +00:00
Tooling Fix typo. 2012-08-01 08:48:27 +00:00
Unit
CMakeLists.txt Removed standalone clang-ast-dump tool. 2012-07-26 01:44:18 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg libclang API for comment-to-xml conversion. 2012-08-07 17:54:38 +00:00
lit.site.cfg.in
make_test_dirs.pl