[PATCH] D26054: Use `getFileLoc()` instead of `getSpellingLoc()` in the ASTImporter

Aleksei Sidorin via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 7 09:53:40 PST 2016


a.sidorin added a comment.

Hi Sean!
I meant that I'd like to have a layout like this:
macro-loc.m
Inputs/macro-loc/macro.modulemap
Inputs/macro-loc/macro1.h
Inputs/macro-loc/macro1.m
Inputs/macro-loc/macro2.m

By the way, I see that we use another workaround for this issue: we use `getDecomposedExpansionLoc()` instead of `getDecomposedLoc()` with removing previous line at all. I wonder if we are incorrect in our suggestion.


https://reviews.llvm.org/D26054





More information about the cfe-commits mailing list