[all-commits] [llvm/llvm-project] fe58a8: [clang-repl] Create virtual files for `input_line_...

Devajith via All-commits all-commits at lists.llvm.org
Fri Mar 6 10:50:17 PST 2026


  Branch: refs/heads/release/22.x
  Home:   https://github.com/llvm/llvm-project
  Commit: fe58a857c5f3e41448f261519022a551d6bd8d73
      https://github.com/llvm/llvm-project/commit/fe58a857c5f3e41448f261519022a551d6bd8d73
  Author: Devajith <devajith.valaparambil.sreeramaswamy at cern.ch>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
    M clang/lib/Interpreter/IncrementalParser.cpp
    A clang/test/Interpreter/verify-diagnostics.cpp

  Log Message:
  -----------
  [clang-repl] Create virtual files for `input_line_N` buffers (#182044)

Instead of using memory buffers without file backing, this patch
`input_line_N` buffers as virtual files.

This patch enables us to use input line numbers when verifying tests
`clang-repl`.

Co-authored-by: Vassil Vassilev <v.g.vassilev at gmail.com>
(cherry picked from commit 9cc0df99de853a3cdf778c0c33e4fb5050c46c5b)



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