llvm-project/clang/unittests/Lex
Alex Lorenz a13f0da1d0 [clang-scan-deps] Improve string/character literal skipping
The existing string/character literal skipping code in the
dependency directives source minimizer has two issues:

- It doesn't stop the scanning when a newline is reached before the terminating character,
unlike the lexer which considers the token to be done (even if it's invalid) at the end of the line.

- It doesn't support whitespace between '\' and the newline when looking if the '\' is used as a line continuation character.

This commit fixes both issues.

Differential Revision: https://reviews.llvm.org/D68436

llvm-svn: 374127
2019-10-08 22:42:44 +00:00
..
CMakeLists.txt cmake: Add CLANG_LINK_CLANG_DYLIB option 2019-07-03 22:45:55 +00:00
DependencyDirectivesSourceMinimizerTest.cpp [clang-scan-deps] Improve string/character literal skipping 2019-10-08 22:42:44 +00:00
HeaderMapTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
HeaderSearchTest.cpp Introduce a DirectoryEntryRef that stores both a reference and an 2019-08-31 01:26:04 +00:00
LexerTest.cpp [clang] Add test for FindNextToken in Lexer. 2019-10-07 14:20:46 +00:00
PPCallbacksTest.cpp Introduce a DirectoryEntryRef that stores both a reference and an 2019-08-31 01:26:04 +00:00
PPConditionalDirectiveRecordTest.cpp Modules: Rename MemoryBufferCache to InMemoryModuleCache 2019-03-09 17:33:56 +00:00