llvm-project/clang/test
Douglas Gregor 29d907de03 When we run into an error parsing or type-checking the left-hand side
of a binary expression, continue on and parse the right-hand side of
the binary expression anyway, but don't call the semantic actions to
type-check. Previously, we would see the error and then, effectively,
skip tokens until the end of the statement. 

The result should be more useful recovery, both in the normal case
(we'll actually see errors beyond the first one in a statement), but
it also helps code completion do a much better job, because we do
"real" code completion on the right-hand side of an invalid binary
expression rather than completing with the recovery completion. For
example, given

  x = p->y

if there is no variable named "x", we can still complete after the p->
as a member expression. Along the recovery path, we would have
completed after the "->" as if we were in an expression context, which
is mostly useless.

llvm-svn: 114225
2010-09-17 22:25:06 +00:00
..
ASTMerge Hack in some really terrible C++ record PCH support that I need right now. 2010-06-03 19:28:45 +00:00
Analysis Relax assertion in CFG builder when processing ForStmts. This fixes an assertion failure 2010-09-15 07:01:20 +00:00
CXX When dealing with an anonymous enumeration declared in function 2010-09-16 23:58:57 +00:00
CodeCompletion When provide code completions for a variadic Objective-C method 2010-08-31 05:13:43 +00:00
CodeGen Add a -ftrapv-handler= option which allows a handler to invoke instead of simply aborting when a signed operation overflows. This mirrors the (GCC-incompatible) behaviour from clang 1.0 and 1.1 when -ftrapv was specified, but allows the handler to be defined for each compilation unit. 2010-09-17 18:29:54 +00:00
CodeGenCXX Fix test for no-asserts builds. 2010-09-17 17:03:41 +00:00
CodeGenObjC Block description for trivial block literals have 2010-09-13 16:09:44 +00:00
CodeGenObjCXX Only assignment operator triggers property setter call. 2010-09-17 20:45:45 +00:00
Coverage Eliminate the "minimal" and printing parser actions, which only ever 2010-07-26 04:08:02 +00:00
Driver Fix last test still failing on Win32. 100% pass rate now! 2010-09-11 20:43:12 +00:00
FixIt When we run into an error parsing or type-checking the left-hand side 2010-09-17 22:25:06 +00:00
Frontend Frontend: Add basic -H support. 2010-08-24 22:44:13 +00:00
Headers Disallow direct inclusion of avxintrin.h. Users should include immintrin.h instead. This matches GCC's behavior. 2010-08-20 23:00:03 +00:00
Index When we run into an error parsing or type-checking the left-hand side 2010-09-17 22:25:06 +00:00
Lexer Add __char16_t and __char32_t as aliases for the C++0x char16_t and 2010-09-13 23:21:44 +00:00
Misc tests: Use -ffreestanding when including stdint.h, to avoid platform dependencies. 2010-09-07 22:54:28 +00:00
PCH Fix C++ PCH issue. 2010-09-13 11:45:48 +00:00
Parser Microsoft's __uuidof operator implementation part 1. 2010-09-08 12:20:18 +00:00
Preprocessor Fix this test to use -cc1. 2010-09-17 02:47:35 +00:00
Rewriter make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
Sema improve the "enumeration value 'g' not handled in switch" 2010-09-16 17:09:42 +00:00
SemaCXX When we run into an error parsing or type-checking the left-hand side 2010-09-17 22:25:06 +00:00
SemaObjC When we run into an error parsing or type-checking the left-hand side 2010-09-17 22:25:06 +00:00
SemaObjCXX property reference expression used on lhs of assignment 2010-09-09 23:01:10 +00:00
SemaTemplate When we run into an error parsing or type-checking the left-hand side 2010-09-17 22:25:06 +00:00
CMakeLists.txt CMake: Clang test targets depend on the {FileCheck,not,count} tools. 2010-07-29 22:57:17 +00:00
Makefile daniel doesn't hate me, he hates macpython 2.5, which 2010-07-18 18:42:35 +00:00
TestRunner.sh Switch TestRunner.sh to just use 'lit'. 2009-09-20 22:00:23 +00:00
cxx-sections.data Update C++ section data and directory structure to reflect N2914 2009-06-30 16:45:27 +00:00
lit.cfg Recognize .ll as input files. 2010-09-13 20:46:23 +00:00
lit.site.cfg.in Rework site config for cmake to be generated at configure time, and only pass 2009-11-07 23:53:32 +00:00
make_test_dirs.pl Add the structure for a C++ test suite that mimics the structure of the C++ standard 2009-06-13 06:06:53 +00:00