[cfe-dev] adding FileSkipped() to PPCallbacks

Zhanyong Wan (λx.x x) wan at google.com
Fri Apr 16 11:48:58 PDT 2010

Hi Doug,

Per our IRC chat yesterday, I'm extending PPCallbacks with a new
method FileSkipped() to notify a listener when a #include is skipped
due to header guard optimization.  Please see the attached patch and
let me know if this is the right direction.  (I verified that it works
for my use case.)  Also, how should I add a test for this?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: file_skipped.patch
Type: text/x-patch
Size: 2363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100416/64f8e6ed/attachment.bin>

More information about the cfe-dev mailing list