ilya-biryukov added a comment. In https://reviews.llvm.org/D42966#1085303, @mikhail.ramalho wrote:
> Hi, > > > Where do virtual files come from in the first place? > > From the linemarker: I tried dumping locations in presence of line markers. They have non-null `FileEntry` and a reasonable offset, so the original code should work just fine in presence of line markers. I don't see why changing to presumed locations fixes the issue with not generating the USRs. Could you provide a minimal example where USRs are not generated? It might be the case that there are other ways to fix it. Repository: rC Clang https://reviews.llvm.org/D42966 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits