[PATCH] D46652: [clang-cl, PCH] Implement support for MS-style PCH through headers

Mike Rice via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 13 08:17:55 PDT 2018


mikerice updated this revision to Diff 146513.
mikerice added a comment.

Added warning when macro is defined when skipping.  Also fixed skipping so directives are completely ignored expect for #include and #define.


https://reviews.llvm.org/D46652

Files:
  include/clang/Basic/DiagnosticLexKinds.td
  include/clang/Driver/CC1Options.td
  include/clang/Frontend/FrontendOptions.h
  include/clang/Lex/Preprocessor.h
  include/clang/Lex/PreprocessorOptions.h
  lib/Driver/Driver.cpp
  lib/Driver/ToolChains/Clang.cpp
  lib/Frontend/CompilerInstance.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Lex/PPDirectives.cpp
  lib/Lex/PPLexerChange.cpp
  lib/Lex/Preprocessor.cpp
  lib/Parse/ParseAST.cpp
  lib/Serialization/ASTReader.cpp
  test/Driver/cl-pch-search.cpp
  test/Driver/cl-pch.cpp
  test/PCH/Inputs/pch-through-use0.cpp
  test/PCH/Inputs/pch-through-use1.cpp
  test/PCH/Inputs/pch-through-use2.cpp
  test/PCH/Inputs/pch-through-use3a.cpp
  test/PCH/Inputs/pch-through-use3b.cpp
  test/PCH/Inputs/pch-through1.h
  test/PCH/Inputs/pch-through2.h
  test/PCH/Inputs/pch-through3.h
  test/PCH/Inputs/pch-through4.h
  test/PCH/pch-through1.cpp
  test/PCH/pch-through2.cpp
  test/PCH/pch-through3a.cpp
  test/PCH/pch-through3b.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46652.146513.patch
Type: text/x-patch
Size: 36572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180513/d4bc6374/attachment-0001.bin>


More information about the cfe-commits mailing list