[PATCH] clang-cl: Support /showIncludes

Hans Wennborg hans at chromium.org
Thu Aug 8 16:02:25 PDT 2013


Hi rnk,

Turns out there already is a PPCallback that does what we need if we just massage the formatting a little. This patch piggy-backs on the HeaderIncludesCallback by making it aware of the MS style of printing the includes.

Please take a look!

http://llvm-reviews.chandlerc.com/D1333

Files:
  include/clang/Driver/CC1Options.td
  include/clang/Driver/CLCompatOptions.td
  include/clang/Frontend/DependencyOutputOptions.h
  include/clang/Frontend/Utils.h
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInstance.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Frontend/HeaderIncludeGen.cpp
  test/Driver/cl-options.c
  test/Frontend/print-header-includes.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1333.1.patch
Type: text/x-patch
Size: 8717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130808/64839e53/attachment.bin>


More information about the cfe-commits mailing list