llvm-project/clang/test
Chris Lattner 5a503e9f70 we do in fact have to cache the EOF token returned by the preprocessor.
In the case of backtracking, the cached token lexer will be the only 
lexer on the stack, without this the token stack will be empty and EOF
won't be returned.

This fixes PR7072.

llvm-svn: 108124
2010-07-12 04:25:32 +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 fix PR7280 by making the warning on code like this: 2010-07-11 23:34:02 +00:00
CXX Apparently the {{$}} hack doesn't work on Windows; I am saddened but not 2010-07-08 13:17:29 +00:00
CodeCompletion Make -code-completion-patterns only cover multi-line code 2010-05-28 00:22:41 +00:00
CodeGen fix PR7280 by making the warning on code like this: 2010-07-11 23:34:02 +00:00
CodeGenCXX BlockDeclRefExpr of a dependent type must 2010-07-09 22:21:32 +00:00
CodeGenObjC Validated by nightly-test runs on x86 and x86-64 darwin, including after 2010-07-06 01:34:17 +00:00
CodeGenObjCXX extern variable declared locally to objective-c++ method 2010-06-30 18:27:47 +00:00
Coverage "this patch properly addresses escaping < and > which might appear 2010-05-12 23:27:11 +00:00
Driver Driver: .dSYM suffix should be appended, not replace the existing suffix. 2010-07-01 01:36:31 +00:00
FixIt Introduce -f{no-}spell-checking options to enable/disable 2010-07-09 17:35:33 +00:00
Frontend tests: Update Frontend config to actually run ir-support tests. 2010-06-16 20:04:36 +00:00
Headers Headers: Define __INT64_TYPE__ in terms of getInt64Type(), which isn't always 2010-06-30 06:30:56 +00:00
Index Support code completion for parameter names in Objective-C method 2010-07-08 23:37:41 +00:00
Lexer change the 'invalid token after top level declarator' message to be 2010-07-11 22:46:04 +00:00
Misc tests: Use %clangxx when using driver for C++, in case C++ support is disabled. 2010-06-29 16:52:24 +00:00
PCH Fix a regression of a previous commit of mine (rdar://8158953). 2010-07-04 21:44:47 +00:00
Parser we do in fact have to cache the EOF token returned by the preprocessor. 2010-07-12 04:25:32 +00:00
Preprocessor Headers: Define __INT64_TYPE__ in terms of getInt64Type(), which isn't always 2010-06-30 06:30:56 +00:00
Rewriter fix PR7280 by making the warning on code like this: 2010-07-11 23:34:02 +00:00
Sema fix PR7280 by making the warning on code like this: 2010-07-11 23:34:02 +00:00
SemaCXX Instantiation of byref variable in 2010-07-09 21:27:28 +00:00
SemaObjC Add test case for <rdar://problem/4289832>. Clang actuallys gets 2010-06-29 20:25:42 +00:00
SemaObjCXX Extend the "cannot convert from base class pointer to derived class 2010-07-01 02:14:45 +00:00
SemaTemplate fix PR7280 by making the warning on code like this: 2010-07-11 23:34:02 +00:00
CMakeLists.txt Add test cases for r98003 and r98006. 2010-03-08 23:38:27 +00:00
Makefile I don't know when I committed this, but it's probably a "bad thing". 2010-06-25 05:00:29 +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 tests: Use %clangxx when using driver for C++, in case C++ support is disabled. 2010-06-29 16:52:24 +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