File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1412,7 +1412,7 @@ CoverageData CoverageMapping::getCoverageForFile(StringRef Filename) const {
1412
1412
}
1413
1413
// Capture branch regions specific to the function (excluding expansions).
1414
1414
for (const auto &CR : Function.CountedBranchRegions )
1415
- if (FileIDs.test (CR.FileID ) && (CR. FileID == CR. ExpandedFileID ) )
1415
+ if (FileIDs.test (CR.FileID ))
1416
1416
FileCoverage.BranchRegions .push_back (CR);
1417
1417
// Capture MCDC records specific to the function.
1418
1418
for (const auto &MR : Function.MCDCRecords )
Original file line number Diff line number Diff line change 5
5
#define COND1 (a == b)
6
6
#define COND2 (a != b)
7
7
#define COND3 (COND1 && COND2)
8
- #define COND4 (COND3 ? COND2 : COND1)
8
+ #define COND4 (COND3 ? COND2 : COND1) // CHECK: | Branch ([[@LINE]]:15): [True: 1, False: 2]
9
9
#define MACRO1 COND3
10
10
#define MACRO2 MACRO1
11
11
#define MACRO3 MACRO2
You can’t perform that action at this time.
0 commit comments