[PATCH] D20134: [libclang] Fixed bug where ranges in spelling locations (in macro expansions) would get mangled

Cameron via cfe-commits cfe-commits at lists.llvm.org
Thu May 12 07:31:31 PDT 2016


cameron314 added a comment.

You're right, this breaks that test. The corner case that it exercises is arguably less important than breaking all spelling ranges, though. But I'm going to see if I can fix both with a little wizardry (ideally there wouldn't be open ranges in the first place, since clang doesn't really support them, but failing that we can distinguish between an inclusive and exclusive source location internally and that might be enough).


http://reviews.llvm.org/D20134





More information about the cfe-commits mailing list