[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)
commit48b72d81c8968f3d342557582db986a60aef2c54
tree06af75dac2898c6c3a52ed3132d9facb80921462
parentb76de88288b32ce192a03cd7b387bf0137fbd436
[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

llvm-svn: 174385
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Frontend/FrontendAction.cpp
clang/lib/Frontend/InitPreprocessor.cpp
clang/test/PCH/multiple-include-pch.c [new file with mode: 0644]