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

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00c096e604ad3a5244af06602556f8de867e36c4
      https://github.com/llvm/llvm-project/commit/00c096e604ad3a5244af06602556f8de867e36c4
  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 (#125001)

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