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

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


  Branch: refs/heads/users/mizvekov/clang-print-declref-decomposition
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e687ef989c8eceba8060e95bd7c19dfdb6af19b
      https://github.com/llvm/llvm-project/commit/7e687ef989c8eceba8060e95bd7c19dfdb6af19b
  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