We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4045ad6 commit 4544a63Copy full SHA for 4544a63
clang/lib/CodeGen/CoverageMappingGen.cpp
@@ -981,8 +981,8 @@ struct CounterCoverageMappingBuilder
981
bool UnnestStart = StartDepth >= EndDepth;
982
bool UnnestEnd = EndDepth >= StartDepth;
983
if (UnnestEnd) {
984
- SourceLocation NestedLoc = getStartOfFileOrMacro(BeforeLoc);
985
- assert(SM.isWrittenInSameFile(NestedLoc, BeforeLoc));
+ assert(SM.isWrittenInSameFile(getStartOfFileOrMacro(BeforeLoc),
+ BeforeLoc));
986
987
BeforeLoc = getIncludeOrExpansionLoc(BeforeLoc);
988
assert(BeforeLoc.isValid());
0 commit comments