cameron314 added a comment. Alright, with my patch the `c-index-test` *does* correctly serialize and restore the skipped ranges; the problem is that it searches for only ranges matching the target file. When there's a preamble, it's seen as a different file than the main file, even though they're really one and the same in this case.
So my test, which uses `clang_getAllSkippedRanges`, passes, but `c-index-test`, which uses `clang_getSkippedRanges`, fails. I'll update my test to use both. I'm trying to figure out how to fix this. https://reviews.llvm.org/D20124 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits