[all-commits] [llvm/llvm-project] dfba1f: [clang] StmtPrinter: Handle DeclRefExpr to a Decom...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Wed Jan 29 16:13:13 PST 2025


  Branch: refs/heads/users/mizvekov/clang-print-declref-decomposition
  Home:   https://github.com/llvm/llvm-project
  Commit: dfba1f75a95f714166ae5dc4c9f2bef0d85d61c7
      https://github.com/llvm/llvm-project/commit/dfba1f75a95f714166ae5dc4c9f2bef0d85d61c7
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M clang/lib/AST/StmtPrinter.cpp
    A clang/test/Analysis/anonymous-decls.cpp
    R clang/test/Analysis/anonymous-parameter.cpp

  Log Message:
  -----------
  [clang] StmtPrinter: Handle DeclRefExpr to a Decomposition

A DeclRefExpr could never refer to a Decomposition in valid C++ code,
but somehow the Analyzer creates these entities and then it tries to
print them.

There is no sensible answer here, so we print 'decomposition' followed
by the names of all of its bindings, separated by dashes.



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