]> granicus.if.org Git - clang/commit
Re-land [clang-scan-deps] Minimizer: Correctly handle multi-line content with CR...
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 28 Aug 2019 00:04:06 +0000 (00:04 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 28 Aug 2019 00:04:06 +0000 (00:04 +0000)
commit1f0a479997daccf6c2d42d81533e2c935d7ad841
tree5c6c58185450cf314c9257f01f544778b7feade3
parent1002cd493c7298f0b0f49ea175a37bb514a99f1f
Re-land [clang-scan-deps] Minimizer: Correctly handle multi-line content with CR+LF line endings

Previously, an #error directive with quoted, multi-line content, along with CR+LF line endings wasn't handled correctly.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370129 91177308-0d34-0410-b5e6-96231b3b80d8
.gitattributes [new file with mode: 0644]
lib/Lex/DependencyDirectivesSourceMinimizer.cpp
test/Lexer/minimize_source_to_dependency_directives_invalid_error.c [new file with mode: 0644]