]> granicus.if.org Git - clang/commit
[clang-scan-deps] Minimizer: Correctly skip over double slashes in angle bracket...
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 26 Aug 2019 23:28:05 +0000 (23:28 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 26 Aug 2019 23:28:05 +0000 (23:28 +0000)
commitc5e89afea8ace512c08db4aad0472970e25e4acb
treee948526cfc5a7fcb5bdb5db7915470ed085e96fc
parenta52be135ecc00961f58ec4dedf77e62a6a2784ed
[clang-scan-deps] Minimizer: Correctly skip over double slashes in angle bracket #include

Previously, double slashes (//) occurring in angle brackets #include were incorrectly interpreted as comments. eg. #include <dir//file.h>

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

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