[all-commits] [llvm/llvm-project] 5ff6c6: [Coverage] Handle array decomposition correctly (#...

Andrey Ali Khan Bolshakov via All-commits all-commits at lists.llvm.org
Wed May 15 15:40:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ff6c6542ac451daaed6c417e481e313165d3454
      https://github.com/llvm/llvm-project/commit/5ff6c6542ac451daaed6c417e481e313165d3454
  Author: Andrey Ali Khan Bolshakov <bolsh.andrey at yandex.ru>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    A clang/test/CoverageMapping/decomposition.cpp

  Log Message:
  -----------
  [Coverage] Handle array decomposition correctly (#88881)

`ArrayInitLoopExpr` AST node has two occurences of its as-written
initializing expression in its subexpressions through a non-unique
`OpaqueValueExpr`. It causes double-visiting of the initializing
expression if not handled explicitly, as discussed in #85837.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list