]> granicus.if.org Git - clang/commit
[frontend] Don't put a PCH/PTH filename into the set of includes in the preprocessor...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 5 Feb 2013 16:36:52 +0000 (16:36 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 5 Feb 2013 16:36:52 +0000 (16:36 +0000)
commit3ad86fd2effccf1b9337e8cb9a317e4353cec275
tree5fdb879c0e095d904a9348553432156c21ea70d1
parentee0feec7362053f22b6c01d12e1bfa06fb3ac93f
[frontend] Don't put a PCH/PTH filename into the set of includes in the preprocessor options;
since only one of them is allowed in command-line, process them separately.

Otherwise, if more than one is specified in the command-line, one is processed normally
and the others are going to be treated and included as header files.

Related to radar://13140508

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174385 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/FrontendAction.cpp
lib/Frontend/InitPreprocessor.cpp
test/PCH/multiple-include-pch.c [new file with mode: 0644]