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
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to