[PATCH] D25153: preprocessor supports `-dI` flag

Steve O'Brien via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 3 22:40:18 PDT 2016


elsteveogrande updated this revision to Diff 73398.
elsteveogrande added a comment.

Thanks for the feedback @majnemer!  Fixed these.  I _think_ I used `StringRef` right; I assume it's like `std::string` in that it manages its own memory (i.e. I didn't create references to deallocated strings, etc.).


https://reviews.llvm.org/D25153

Files:
  include/clang/Driver/Options.td
  include/clang/Frontend/PreprocessorOutputOptions.h
  lib/Frontend/CompilerInvocation.cpp
  lib/Frontend/PrintPreprocessedOutput.cpp
  test/Preprocessor/dump_import.h
  test/Preprocessor/dump_import.m
  test/Preprocessor/dump_include.c
  test/Preprocessor/dump_include.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25153.73398.patch
Type: text/x-patch
Size: 7677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161004/616ed593/attachment-0001.bin>


More information about the cfe-commits mailing list