vsk added a comment.
Thanks, lgtm with a nit.
================
Comment at: lib/CodeGen/CoverageMappingGen.cpp:452
@@ +451,3 @@
+ [=](const SourceMappingRegion &Region) {
+ assert(Region.hasStartLoc() && "incomplete region");
+ assert(Region.hasEndLoc() && "incomplete region");
----------------
These asserts replicate checks inside of get{Start,End}Loc, so I think it's
cleaner to drop them.
http://reviews.llvm.org/D19725
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits