llvm-project/clang/test
Richard Smith 1002d10aaa Reject continue/break statements within members of local functions nested within
loop and switch statements, by teaching Scope that a function scope never has
a continue/break parent for the purposes of control flow. Remove the hack in
block and lambda expressions which worked around this by pretending that such
expressions were continue/break scopes.

Remove Scope::ControlParent, since it's unused.

In passing, teach default statements to recover properly from a missing ';', and
add a fixit for same to both default and case labels (the latter already
recovered correctly).

llvm-svn: 150776
2012-02-17 01:35:32 +00:00
..
ARCMT Revert r145999. This turned out to be a bad idea. Unfortunately, 'id' is used so profusely 2012-02-10 02:45:47 +00:00
ASTMerge Improve location fidelity of objc decls. 2011-10-04 04:48:02 +00:00
Analysis [analyzer] MallocChecker: more tests. 2012-02-16 22:26:15 +00:00
CXX Lambda closure types are always considered to be like "local" classes, 2012-02-16 21:36:18 +00:00
CodeCompletion Provide result types for code completions that describe built-in 2011-10-18 21:20:17 +00:00
CodeGen Loosen the test from r150238 a bit to make some of our bots happy. 2012-02-10 10:04:01 +00:00
CodeGenCUDA CUDA: IR generation support for device stubs 2011-10-06 18:51:56 +00:00
CodeGenCXX PR12012: Fix a regression in r150419 where we would try (and fail) to 2012-02-17 00:44:16 +00:00
CodeGenObjC Fix this test to work with and without Asserts mode. 2012-02-16 18:51:05 +00:00
CodeGenObjCXX Elide copy construction in new expressions. PR11757. 2012-02-16 22:45:48 +00:00
CodeGenOpenCL A few style changes. 2012-01-19 01:16:16 +00:00
Coverage rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Driver Invalid O levels on the command line no longer have a confusing error. 2012-02-06 00:40:31 +00:00
FixIt Reject continue/break statements within members of local functions nested within 2012-02-17 01:35:32 +00:00
Frontend Remove the unuseful -fdiagnostics-show-name 2012-02-15 19:45:34 +00:00
Headers rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Index If code completion patterns are not enabled, use simpler else/else if 2012-02-16 17:49:04 +00:00
Lexer Advertize support for constexpr. 2012-02-14 22:56:17 +00:00
Misc Support GCC's bug^Wextension allowing class array members to be initalized by a 2012-02-15 22:38:09 +00:00
Modules Use -isystem rather than relying on -isysroot to work consistently 2012-02-02 19:35:15 +00:00
PCH Implicitly define a lambda's conversion functions (to function 2012-02-16 01:06:16 +00:00
Parser Improve recovery for lambda expressions that have 'mutable' or a 2012-02-16 21:53:36 +00:00
Preprocessor Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text. 2012-02-02 00:16:13 +00:00
Rewriter Fix the rewriter that broke with r149987. 2012-02-12 04:48:45 +00:00
Sema Format string analysis: give 'q' its own enumerator. 2012-02-16 16:34:54 +00:00
SemaCUDA CUDA: diagnose invalid calls across targets 2011-10-02 23:49:40 +00:00
SemaCXX Reject continue/break statements within members of local functions nested within 2012-02-17 01:35:32 +00:00
SemaObjC Revert r145999. This turned out to be a bad idea. Unfortunately, 'id' is used so profusely 2012-02-10 02:45:47 +00:00
SemaObjCXX In Objective-C++, allow the keyword 'class' to be used as a property 2012-02-16 18:19:22 +00:00
SemaOpenCL Support constant evaluation for OpenCL nested vector literals. Patch by Anton Lokhmotov. 2012-01-03 23:24:20 +00:00
SemaTemplate Shift Microsoft enum extensions from -fms-extensions to -fms-compatibility, so -fms-extensions doesn't affect enum semantics in incompatible ways. <rdar://problem/10657186>. 2012-02-16 05:20:44 +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 CMake: Promote the testing targets out of folders on IDE. 2012-01-30 03:15:47 +00:00
Makefile lit support for REQUIRES: asserts. 2011-06-22 23:23:49 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Have the driver pass CPU and target feature information to cc1as. 2012-02-10 20:37:10 +00:00
lit.site.cfg.in lit support for REQUIRES: asserts. 2011-06-22 23:23:49 +00:00
make_test_dirs.pl