[PATCH] D17695: clang-cl: Implement initial limited support for precompiled headers.

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 1 13:46:51 PST 2016


thakis updated the summary for this revision.
thakis updated this revision to Diff 49541.
thakis marked 5 inline comments as done.
thakis added a comment.

- rebase across jlebar's r261774 => implicit_inputs gone, ForceSuccessCommand is new
- .h file is found relative to include paths => introduce -find-pch-source= cc1 flag to handle that
- turns out several important things (`#pragma comment(lib...)`) aren't serialized yet => put this behind -internal-enable-pch for now so we can improve on this feature in-tree (and once it's ready that flag will go away again)
- address view comments


http://reviews.llvm.org/D17695

Files:
  include/clang/Basic/DiagnosticDriverKinds.td
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Driver/CC1Options.td
  include/clang/Driver/CLCompatOptions.td
  include/clang/Driver/Driver.h
  include/clang/Driver/Job.h
  include/clang/Frontend/CompilerInstance.h
  include/clang/Frontend/FrontendOptions.h
  lib/Driver/Driver.cpp
  lib/Driver/Job.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInstance.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/Driver/Inputs/pchfile.cpp
  test/Driver/Inputs/pchfile.h
  test/Driver/cl-pch.c
  test/Driver/cl-pch.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17695.49541.patch
Type: text/x-patch
Size: 37950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160301/b1bc691f/attachment-0001.bin>


More information about the cfe-commits mailing list