[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
Showing
- lib/Frontend/CompilerInvocation.cpp 1 addition, 2 deletionslib/Frontend/CompilerInvocation.cpp
- lib/Frontend/FrontendAction.cpp 2 additions, 10 deletionslib/Frontend/FrontendAction.cpp
- lib/Frontend/InitPreprocessor.cpp 7 additions, 6 deletionslib/Frontend/InitPreprocessor.cpp
- test/PCH/multiple-include-pch.c 18 additions, 0 deletionstest/PCH/multiple-include-pch.c
Loading
Please register or sign in to comment