[PATCH] D19815: Support '#pragma once' in headers when using PCH

Warren Ristow via cfe-commits cfe-commits at lists.llvm.org
Fri May 13 00:43:07 PDT 2016


wristow added a comment.

In http://reviews.llvm.org/D19815#428705, @rsmith wrote:

> Rather than threading through a new flag, can you test the existing `TUKind` field?


Yes, that does seem to do the trick.  I'll do some testing on it, but with that approach, it should be a simple one-line change.  Thanks.


http://reviews.llvm.org/D19815





More information about the cfe-commits mailing list