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

Devajith via All-commits all-commits at lists.llvm.org
Wed Mar 4 02:16:21 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cc0df99de853a3cdf778c0c33e4fb5050c46c5b
      https://github.com/llvm/llvm-project/commit/9cc0df99de853a3cdf778c0c33e4fb5050c46c5b
  Author: Devajith <devajith.valaparambil.sreeramaswamy at cern.ch>
  Date:   2026-03-04 (Wed, 04 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>



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