[Preprocessor] Support for '-dI' flag

Description

[Preprocessor] Support for '-dI' flag

Re-introduce r285411.

Implement the -dI as supported by GCC: Output ‘#include’ directives in addition
to the result of preprocessing.

This change aims to add this option, pass it through to the preprocessor via
the options class, and when inclusions occur we output some information (+ test
cases).

Patch by Steve O'Brien!

Differential Revision: https://reviews.llvm.org/D26089

Details

Committed
brunoNov 17 2016, 2:45 PM
Differential Revision
D26089: preprocessor supports `-dI` flag [Fixed]
Parents
rL287274: Fix step-over when SymbolContext.function is missing and symbol is present.
Branches
Unknown
Tags
Unknown