[clang] [Coverage][Expansion] handle nested macros in scratch space (PR #89869)
Jessica Paquette via cfe-commits
cfe-commits at lists.llvm.org
Sun May 19 21:04:49 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:
The boolean parameter for this function is only used in this single callsite. Do we need it at all?
https://github.com/llvm/llvm-project/pull/89869
More information about the cfe-commits
mailing list