[clang] [Coverage][Expansion] handle nested macros in scratch space (PR #89869)
Jessica Paquette via cfe-commits
cfe-commits at lists.llvm.org
Wed May 22 20:21:45 PDT 2024
================
@@ -517,7 +552,7 @@ class CoverageMappingBuilder {
SourceRegionFilter Filter;
for (const auto &FM : FileIDMapping) {
SourceLocation ExpandedLoc = FM.second.second;
- SourceLocation ParentLoc = getIncludeOrExpansionLoc(ExpandedLoc);
+ SourceLocation ParentLoc = getIncludeOrExpansionLoc(ExpandedLoc, false);
----------------
ornata wrote:
I thought it was only used in one place, oops. :) The current way is fine.
https://github.com/llvm/llvm-project/pull/89869
More information about the cfe-commits
mailing list