clang-1/lib
Argyrios Kyrtzidis 08b2c3743a Fix this:
With this snippet:
  void f(a::b);

An assert is hit:
Assertion failed: CachedTokens[CachedLexPos-1].getLocation() == Tok.getAnnotationEndLoc() && "The annotation should be until the most recent cached token", file ..\..\lib\Lex\PPCaching.cpp, line 98

Introduce Preprocessor::RevertCachedTokens that reverts a specific number of tokens when backtracking is enabled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59636 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-19 15:22:16 +00:00
..
AST simplify some code. 2008-11-19 07:55:04 +00:00
Analysis Add support for symbolicating global structs and arrays in RegionStoreManager::getInitialStore(). 2008-11-19 11:06:24 +00:00
Basic Allow sending IdentifierInfo*'s into Diagnostics without turning them into strings 2008-11-19 07:32:16 +00:00
CodeGen Add spec ref to comment. 2008-11-19 11:54:05 +00:00
Driver switch TextDiagnosticPrinter to raw_ostream. 2008-11-19 06:56:25 +00:00
Headers #define NULL as 0 when compiling as C++. This fixes the carbon.cpp and cocoa.mm test failures. 2008-11-04 06:53:14 +00:00
Lex Remove Preprocessor::CacheTokens boolean data member. The same functionality can be provided by using Preprocessor::isBacktrackEnabled(). 2008-11-19 14:23:14 +00:00
Parse Fix this: 2008-11-19 15:22:16 +00:00
Rewrite CMake: Builds and installs clang binary and libs (no docs yet). It 2008-10-26 00:56:18 +00:00
Sema Fix silly code, use IdentifierInfo* instead of std::string in 2008-11-19 10:32:38 +00:00
CMakeLists.txt CMake: Builds and installs clang binary and libs (no docs yet). It 2008-10-26 00:56:18 +00:00
Makefile add a libDriver, for now only move the text diangostics stuff from Driver to there 2008-08-05 23:33:20 +00:00