================
@@ -174,6 +179,10 @@ class SourceMappingRegion {
 
   void setGap(bool Gap) { GapRegion = Gap; }
 
+  bool isSkipped() const { return SkippedRegion; }
----------------
hanickadot wrote:

SkippedRegions are also created by preprocessor for comments and whitespaces, 
then they are squeezed out of line with any coverage. This patch allows making 
them also while walking AST and fixes `LineCoverageStats` to properly show such 
lines as mapped.

https://github.com/llvm/llvm-project/pull/78033
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to