]> granicus.if.org Git - clang/commit
[clang-scan-deps] Minimizer: Correctly handle multi-line content with CR+LF line...
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 26 Aug 2019 23:19:21 +0000 (23:19 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 26 Aug 2019 23:19:21 +0000 (23:19 +0000)
commita52be135ecc00961f58ec4dedf77e62a6a2784ed
treea2084e3158f0ab8b28004af0ccf11711b570dcc6
parentd814f930835df25d66f9f4b22fd7762f89ad89a4
[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@369986 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/DependencyDirectivesSourceMinimizer.cpp
test/Lexer/minimize_source_to_dependency_directives_invalid_error.c [new file with mode: 0644]