[PATCH] D47460: [Frontend] Honor UserFilesAreVolatile flag getting file buffer in ASTUnit

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 1 05:14:58 PDT 2018


ilya-biryukov added a comment.

In https://reviews.llvm.org/D47460#1118782, @yvvan wrote:

> i think I can add a unit-test for it since we have the 'getBufferKind' method in MemoryBuffer.


That sounds good. Having a regression test that fails with descriptive messages in case anyone changes this would certainly be useful.
If that's not a lot of work, of course.


https://reviews.llvm.org/D47460





More information about the cfe-commits mailing list