[all-commits] [llvm/llvm-project] 84fffa: [Coverage] Adjust skipped regions only if {Prev, Ne...

ZequanWu via All-commits all-commits at lists.llvm.org
Tue Aug 18 13:26:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 84fffa67283139954b7764328966b5f766db1003
      https://github.com/llvm/llvm-project/commit/84fffa67283139954b7764328966b5f766db1003
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    A clang/test/CoverageMapping/Inputs/comment.h
    A clang/test/CoverageMapping/comment.cpp

  Log Message:
  -----------
  [Coverage] Adjust skipped regions only if {Prev,Next}TokLoc is in the same file as regions' {start, end}Loc

Fix a bug if {Prev, Next}TokLoc is in different file from skipped regions' {start, end}Loc

Differential Revision: https://reviews.llvm.org/D86116




More information about the All-commits mailing list