llvm-project/clang/lib/Lex
Chris Lattner 21ae40e513 fix a crash on:
__has_builtin

in an empty file, as we were overwriting the EOF token.  Overwriting an arbitrary token
never seems like a good idea in the error case.  This fixes a bug reported on the GCC
list :)

llvm-svn: 149397
2012-01-31 18:53:44 +00:00
..
CMakeLists.txt Update the CMake build for r146959's new files. 2011-12-20 08:42:15 +00:00
HeaderMap.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
HeaderSearch.cpp Thread a TargetInfo through to the module map; we'll need it for 2012-01-30 06:01:29 +00:00
Lexer.cpp Improve Lexer::getImmediateMacroName to take into account inner macros 2012-01-23 16:58:33 +00:00
LiteralSupport.cpp stop claiming unicode escape sequences are too long in strings, because they never are 2012-01-18 12:27:08 +00:00
MacroArgs.cpp Fixed exapnsion range for # and ##. 2011-10-03 18:39:03 +00:00
MacroArgs.h Fixed exapnsion range for # and ##. 2011-10-03 18:39:03 +00:00
MacroInfo.cpp For modules, all macros that aren't include guards are implicitly 2011-10-17 15:32:29 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ModuleMap.cpp Thread a TargetInfo through to the module map; we'll need it for 2012-01-30 06:01:29 +00:00
PPCaching.cpp Don't treat 'import' as a contextual keyword when we're in a caching lexer, or when modules are disabled. 2012-01-04 06:20:15 +00:00
PPCallbacks.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
PPDirectives.cpp Remove unreachable code in Clang. (replace with llvm_unreachable where appropriate or when GCC requires it) 2012-01-17 06:56:22 +00:00
PPExpressions.cpp Remove unreachable code in Clang. (replace with llvm_unreachable where appropriate or when GCC requires it) 2012-01-17 06:56:22 +00:00
PPLexerChange.cpp Implement support for module requirements, which indicate the language 2011-12-31 04:05:44 +00:00
PPMacroExpansion.cpp fix a crash on: 2012-01-31 18:53:44 +00:00
PTHLexer.cpp Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00
Pragma.cpp Fix a memory leak of PragmaNamespaces, rdar://10611796. 2012-01-06 00:22:09 +00:00
PreprocessingRecord.cpp Remove unreachable code in Clang. (replace with llvm_unreachable where appropriate or when GCC requires it) 2012-01-17 06:56:22 +00:00
Preprocessor.cpp Thread a TargetInfo through to the module map; we'll need it for 2012-01-30 06:01:29 +00:00
PreprocessorLexer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
ScratchBuffer.cpp Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset. 2011-09-19 20:40:19 +00:00
TokenConcatenation.cpp Remove unreachable code in Clang. (replace with llvm_unreachable where appropriate or when GCC requires it) 2012-01-17 06:56:22 +00:00
TokenLexer.cpp Fixed exapnsion range for # and ##. 2011-10-03 18:39:03 +00:00