[all-commits] [llvm/llvm-project] ec05b8: [lineeditor] Add `setHistorySize()` method for adj...

Devajith via All-commits all-commits at lists.llvm.org
Thu Nov 7 07:18:28 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec05b883653ba1bb9e92399f78b99a9d9342efc0
      https://github.com/llvm/llvm-project/commit/ec05b883653ba1bb9e92399f78b99a9d9342efc0
  Author: Devajith <devajith.valaparambil.sreeramaswamy at cern.ch>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M llvm/include/llvm/LineEditor/LineEditor.h
    M llvm/lib/LineEditor/LineEditor.cpp

  Log Message:
  -----------
  [lineeditor] Add `setHistorySize()` method for adjusting history size (#110092)

This patch adds a `setHistorySize` method to `LineEditor`.

This is particularly useful for tools like `clang-repl`, `clang-query`,
`mlir-query`, and other REPL interfaces, where managing history size
might be needed.



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