llvm-project/clang/lib/Lex
Benjamin Kramer 040725723e MSan told me that we actually dump the entire scratch buffer into PCH files, initialize it.
Writing 4k of zeros is preferrable to 4k of random memory. Document that. While
there remove the initialization of the first byte of the buffer and start at
index zero. It was writing a literal '0' instead of a null byte at the
beginning anyways, which didn't matter since we never read it.

llvm-svn: 234202
2015-04-06 20:01:49 +00:00
..
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
HeaderMap.cpp Make VFS and FileManager match the current MemoryBuffer API. 2014-10-26 22:44:13 +00:00
HeaderSearch.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
Lexer.cpp Use delegating ctors to reduce code duplication. NFC. 2015-03-06 14:15:57 +00:00
LiteralSupport.cpp [lex] Don't read past the end of the buffer 2015-03-29 14:11:37 +00:00
MacroArgs.cpp [c++1z] Support for u8 character literals. 2014-11-08 06:08:42 +00:00
MacroInfo.cpp Reinstate r213348, reverted in r213395, with an additional bug fix and more 2014-07-18 22:13:40 +00:00
Makefile
ModuleMap.cpp [modules] Restrict the module use-declaration to only appear in top-level 2015-03-26 22:10:01 +00:00
PPCaching.cpp Fix the build break introduced by r195799 by restoring two close 2013-11-27 01:40:12 +00:00
PPCallbacks.cpp
PPConditionalDirectiveRecord.cpp Changed ConditionValue argument to PPCallbacks If and Elif callbacks to be a 3-state enum. 2013-12-07 08:41:15 +00:00
PPDirectives.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
PPExpressions.cpp Commit patch for PR19649. Set the correct sign of wide character for literals based on underlying type of wchar_t. 2015-02-24 13:34:20 +00:00
PPLexerChange.cpp Remove superceded warning warn_forgotten_module_header 2014-11-05 16:43:18 +00:00
PPMacroExpansion.cpp [lex] Provide a valid token when __has_include is found outside of a pp directive 2015-03-29 19:05:27 +00:00
PTHLexer.cpp unique_ptrify PTHManager's PerIDCache using the newly added llvm::FreeDeleter 2014-08-29 22:04:45 +00:00
Pragma.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
PreprocessingRecord.cpp Implement PreprocessingRecord's and LazyVector's iterators on top of iterator_adaptor_base 2015-03-15 15:27:19 +00:00
Preprocessor.cpp [Modules] Fix crash in Preprocessor::getLastMacroWithSpelling(). 2015-03-04 16:03:07 +00:00
PreprocessorLexer.cpp Make Preprocessor::Lex non-recursive. 2013-09-19 00:41:32 +00:00
ScratchBuffer.cpp MSan told me that we actually dump the entire scratch buffer into PCH files, initialize it. 2015-04-06 20:01:49 +00:00
TokenConcatenation.cpp [c++1z] Support for u8 character literals. 2014-11-08 06:08:42 +00:00
TokenLexer.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
UnicodeCharSets.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00