[PATCH] D85176: [Coverage] Emit gap region after conditions when macro is present.
Zequan Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 18 11:12:29 PST 2021
zequanwu updated this revision to Diff 324710.
zequanwu marked 2 inline comments as done.
zequanwu added a comment.
- Added regression test.
- Assert `getIncludeOrExpansionLoc(AfterLoc)` is valid.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85176/new/
https://reviews.llvm.org/D85176
Files:
clang/lib/CodeGen/CoverageMappingGen.cpp
clang/test/CoverageMapping/if.cpp
clang/test/CoverageMapping/macro-expressions.cpp
clang/test/CoverageMapping/macroparams2.c
clang/test/CoverageMapping/macros.c
clang/test/CoverageMapping/macroscopes.cpp
clang/test/CoverageMapping/moremacros.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85176.324710.patch
Type: text/x-patch
Size: 17836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210218/0348fdb8/attachment-0001.bin>
More information about the cfe-commits
mailing list