[PATCH] D63508: make -frewrite-includes also rewrite conditions in #if/#elif

Luboš Luňák via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 30 08:00:13 PDT 2019


llunak updated this revision to Diff 207220.
llunak added a comment.

Updated patch, removed ()'s around 1/0, fixed to use CommentOutDirective().


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63508/new/

https://reviews.llvm.org/D63508

Files:
  clang/lib/Frontend/Rewrite/InclusionRewriter.cpp
  clang/test/Frontend/rewrite-includes-conditions.c
  clang/test/Frontend/rewrite-includes.c
  clang/test/Modules/preprocess-module.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63508.207220.patch
Type: text/x-patch
Size: 20157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190630/41b87dba/attachment-0001.bin>


More information about the cfe-commits mailing list