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 {
14121412 }
14131413 // Capture branch regions specific to the function (excluding expansions).
14141414 for (const auto &CR : Function.CountedBranchRegions )
1415- if (FileIDs.test (CR.FileID ) && (CR. FileID == CR. ExpandedFileID ) )
1415+ if (FileIDs.test (CR.FileID ))
14161416 FileCoverage.BranchRegions .push_back (CR);
14171417 // Capture MCDC records specific to the function.
14181418 for (const auto &MR : Function.MCDCRecords )
Original file line number Diff line number Diff line change 55#define COND1 (a == b)
66#define COND2 (a != b)
77#define COND3 (COND1 && COND2)
8- #define COND4 (COND3 ? COND2 : COND1)
8+ #define COND4 (COND3 ? COND2 : COND1) // CHECK: | Branch ([[@LINE]]:15): [True: 1, False: 2]
99#define MACRO1 COND3
1010#define MACRO2 MACRO1
1111#define MACRO3 MACRO2
You can’t perform that action at this time.
0 commit comments