[all-commits] [llvm/llvm-project] 41d634: [clang][Frontend] Add overload to ASTPrinter that ...

Michael Buch via All-commits all-commits at lists.llvm.org
Mon Jun 2 02:19:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41d634397823d01c20db783cf18c9b0c2c41fbf4
      https://github.com/llvm/llvm-project/commit/41d634397823d01c20db783cf18c9b0c2c41fbf4
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2025-06-02 (Mon, 02 Jun 2025)

  Changed paths:
    M clang/include/clang/Frontend/ASTConsumers.h
    M clang/lib/Frontend/ASTConsumers.cpp

  Log Message:
  -----------
  [clang][Frontend] Add overload to ASTPrinter that doesn't own output stream (#142163)

We're planning on using the ASTPrinter in LLDB for AST dumping. But it
currently takes the output stream via `unique_ptr`. In LLDB we don't
have the output stream available in this form and instead it would be
convenient if we could just pass a reference to the stream.

This patch adds that overload.



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